# Logfile created on Mon Sep 17 17:32:01 +0100 2012 by logger.rb/1.2.6 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0  (5.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "schema_migrations" AND type = 'index'  (2.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations"  Migrating to SpreeZeroNineZero (20090823005402)  (1.0ms) CREATE TABLE "addresses" ("id" integer primary key autoincrement not null, "firstname" varchar(255), "lastname" varchar(255), "address1" varchar(255), "address2" varchar(255), "city" varchar(255), "zipcode" varchar(255), "phone" varchar(255), "state_name" varchar(255), "alternative_phone" varchar(255), "state_id" integer, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "assets" ("id" integer primary key autoincrement not null, "viewable_id" integer, "attachment_width" integer, "attachment_height" integer, "attachment_size" integer, "position" integer, "viewable_type" varchar(50), "attachment_content_type" varchar(255), "attachment_file_name" varchar(255), "type" varchar(75), "attachment_updated_at" datetime)  (1.0ms) CREATE TABLE "calculators" ("id" integer primary key autoincrement not null, "type" varchar(255), "calculable_id" integer NOT NULL, "calculable_type" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "checkouts" ("id" integer primary key autoincrement not null, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "completed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "configurations" ("id" integer primary key autoincrement not null, "name" varchar(255), "type" varchar(50), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "configurations" AND type = 'index'  (0.0ms) CREATE INDEX "index_configurations_on_name_and_type" ON "configurations" ("name", "type")  (17.0ms) CREATE TABLE "countries" ("id" integer primary key autoincrement not null, "iso_name" varchar(255), "iso" varchar(255), "iso3" varchar(255), "name" varchar(255), "numcode" integer)  (18.0ms) CREATE TABLE "coupons" ("id" integer primary key autoincrement not null, "code" varchar(255), "description" varchar(255), "usage_limit" integer, "combine" boolean, "expires_at" datetime, "starts_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "creditcard_txns" ("id" integer primary key autoincrement not null, "creditcard_payment_id" integer, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "creditcards" ("id" integer primary key autoincrement not null, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "display_number" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "gateway_configurations" ("id" integer primary key autoincrement not null, "gateway_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "gateway_option_values" ("id" integer primary key autoincrement not null, "gateway_configuration_id" integer, "gateway_option_id" integer, "value" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "gateway_options" ("id" integer primary key autoincrement not null, "name" varchar(255), "description" text, "textarea" boolean DEFAULT 'f', "gateway_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "gateways" ("id" integer primary key autoincrement not null, "clazz" varchar(255), "name" varchar(255), "description" text, "active" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "inventory_units" ("id" integer primary key autoincrement not null, "lock_version" integer DEFAULT 0, "state" varchar(255), "variant_id" integer, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "line_items" ("id" integer primary key autoincrement not null, "order_id" integer, "variant_id" integer, "quantity" integer NOT NULL, "price" decimal(8,2) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "line_items" AND type = 'index'  (1.0ms) CREATE INDEX "index_line_items_on_order_id" ON "line_items" ("order_id")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "line_items" AND type = 'index'  (0.0ms) CREATE INDEX "index_line_items_on_variant_id" ON "line_items" ("variant_id")  (1.0ms) CREATE TABLE "option_types" ("id" integer primary key autoincrement not null, "name" varchar(100), "presentation" varchar(100), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "option_types_prototypes" ("prototype_id" integer, "option_type_id" integer)   (0.0ms) CREATE TABLE "option_values" ("id" integer primary key autoincrement not null, "position" integer, "name" varchar(255), "presentation" varchar(255), "option_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "option_values_variants" ("variant_id" integer, "option_value_id" integer)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "option_values_variants" AND type = 'index'  (0.0ms) CREATE INDEX "index_option_values_variants_on_variant_id" ON "option_values_variants" ("variant_id")  (0.0ms) CREATE TABLE "orders" ("id" integer primary key autoincrement not null, "number" varchar(15), "item_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "total" decimal(8,2) DEFAULT 0.0 NOT NULL, "state" varchar(255), "token" varchar(255), "adjustment_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "credit_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "orders" AND type = 'index'  (0.0ms) CREATE INDEX "index_orders_on_number" ON "orders" ("number")  (1.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "order_id" integer, "creditcard_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "preferences" ("id" integer primary key autoincrement not null, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "preferences" AND type = 'index'  (1.0ms) CREATE UNIQUE INDEX "index_preferences_on_owner_and_attribute_and_preference" ON "preferences" ("owner_id", "owner_type", "attribute", "group_id", "group_type")  (0.0ms) CREATE TABLE "product_option_types" ("id" integer primary key autoincrement not null, "position" integer, "product_id" integer, "option_type_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (19.0ms) CREATE TABLE "product_properties" ("id" integer primary key autoincrement not null, "value" varchar(255), "product_id" integer, "property_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "products" ("id" integer primary key autoincrement not null, "name" varchar(255) DEFAULT '' NOT NULL, "description" text, "available_on" datetime, "deleted_at" datetime, "permalink" varchar(255), "meta_description" varchar(255), "meta_keywords" varchar(255), "tax_category_id" integer, "shipping_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products" AND type = 'index'  (1.0ms) CREATE INDEX "index_products_on_available_on" ON "products" ("available_on")  (17.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products" AND type = 'index'  (0.0ms) CREATE INDEX "index_products_on_deleted_at" ON "products" ("deleted_at")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products" AND type = 'index'  (0.0ms) CREATE INDEX "index_products_on_name" ON "products" ("name")  (20.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products" AND type = 'index'  (1.0ms) CREATE INDEX "index_products_on_permalink" ON "products" ("permalink")  (0.0ms) CREATE TABLE "products_taxons" ("product_id" integer, "taxon_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products_taxons" AND type = 'index'  (0.0ms) CREATE INDEX "index_products_taxons_on_product_id" ON "products_taxons" ("product_id")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "products_taxons" AND type = 'index'  (0.0ms) CREATE INDEX "index_products_taxons_on_taxon_id" ON "products_taxons" ("taxon_id")  (0.0ms) CREATE TABLE "properties" ("id" integer primary key autoincrement not null, "name" varchar(255), "presentation" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "properties_prototypes" ("prototype_id" integer, "property_id" integer)  (0.0ms) CREATE TABLE "prototypes" ("id" integer primary key autoincrement not null, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "roles" ("id" integer primary key autoincrement not null, "name" varchar(255))  (0.0ms) CREATE TABLE "roles_users" ("role_id" integer, "user_id" integer)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "roles_users" AND type = 'index'  (0.0ms) CREATE INDEX "index_roles_users_on_role_id" ON "roles_users" ("role_id")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "roles_users" AND type = 'index'  (0.0ms) CREATE INDEX "index_roles_users_on_user_id" ON "roles_users" ("user_id")  (0.0ms) CREATE TABLE "shipments" ("id" integer primary key autoincrement not null, "tracking" varchar(255), "number" varchar(255), "cost" decimal(8,2), "shipped_at" datetime, "order_id" integer, "shipping_method_id" integer, "address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "shipping_categories" ("id" integer primary key autoincrement not null, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "shipping_methods" ("id" integer primary key autoincrement not null, "name" varchar(255), "zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "state_events" ("id" integer primary key autoincrement not null, "name" varchar(255), "previous_state" varchar(255), "order_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "states" ("id" integer primary key autoincrement not null, "name" varchar(255), "abbr" varchar(255), "country_id" integer)  (1.0ms) CREATE TABLE "tax_categories" ("id" integer primary key autoincrement not null, "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "tax_rates" ("id" integer primary key autoincrement not null, "amount" decimal(8,4), "zone_id" integer, "tax_category_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) CREATE TABLE "taxonomies" ("id" integer primary key autoincrement not null, "name" varchar(255) NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) CREATE TABLE "taxons" ("id" integer primary key autoincrement not null, "parent_id" integer, "position" integer DEFAULT 0, "name" varchar(255) NOT NULL, "permalink" varchar(255), "taxonomy_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) CREATE TABLE "users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "variants" ("id" integer primary key autoincrement not null, "sku" varchar(255) DEFAULT '' NOT NULL, "price" decimal(8,2) NOT NULL, "weight" decimal(8,2), "height" decimal(8,2), "width" decimal(8,2), "depth" decimal(8,2), "deleted_at" datetime, "is_master" boolean DEFAULT 'f', "product_id" integer)  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "variants" AND type = 'index'  (0.0ms) CREATE INDEX "index_variants_on_product_id" ON "variants" ("product_id")  (0.0ms) CREATE TABLE "zone_members" ("id" integer primary key autoincrement not null, "zoneable_id" integer, "zoneable_type" varchar(255), "zone_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (1.0ms) CREATE TABLE "zones" ("id" integer primary key autoincrement not null, "name" varchar(255), "description" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090823005402') Migrating to CreateIndexesForInventoryUnits (20090904192342)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "inventory_units" AND type = 'index'  (1.0ms) CREATE INDEX "index_inventory_units_on_variant_id" ON "inventory_units" ("variant_id")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "inventory_units" AND type = 'index'  (0.0ms) CREATE INDEX "index_inventory_units_on_order_id" ON "inventory_units" ("order_id")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090904192342') Migrating to AddCountOnHandToVariantsAndProducts (20090923100315)  (0.0ms) select sqlite_version(*)  (1.0ms) ALTER TABLE "variants" ADD "count_on_hand" integer DEFAULT 0 NOT NULL  (1.0ms) ALTER TABLE "products" ADD "count_on_hand" integer DEFAULT 0 NOT NULL Spree::Variant Load (1.0ms) SELECT "variants".* FROM "variants" Spree::Product Load (0.0ms) SELECT "products".* FROM "products"   (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20090923100315') Migrating to ChangeTaxonsToNestedSet (20091007134354)  (1.0ms) ALTER TABLE "taxons" ADD "lft" integer  (0.0ms) ALTER TABLE "taxons" ADD "rgt" integer Spree::Taxon Load (1.0ms) SELECT "taxons".* FROM "taxons" WHERE "taxons"."parent_id" IS NULL ORDER BY position ASC  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091007134354') Migrating to MoveToConfigurableGateways (20091008091614)  (0.0ms) DROP TABLE "gateways"  (1.0ms) DROP TABLE "gateway_options"  (0.0ms) DROP TABLE "gateway_option_values"  (0.0ms) DROP TABLE "gateway_configurations"  (0.0ms) CREATE TABLE "gateways" ("id" integer primary key autoincrement not null, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "server" varchar(255) DEFAULT 'test', "test_mode" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091008091614') Migrating to AddOpenIdAuthenticationTables (20091015110842)  (0.0ms) CREATE TABLE "open_id_authentication_associations" ("id" integer primary key autoincrement not null, "issued" integer, "lifetime" integer, "handle" varchar(255), "assoc_type" varchar(255), "server_url" blob, "secret" blob)   (18.0ms) CREATE TABLE "open_id_authentication_nonces" ("id" integer primary key autoincrement not null, "timestamp" integer NOT NULL, "server_url" varchar(255), "salt" varchar(255) NOT NULL)  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091015110842') Migrating to AddOpenidFieldToUsers (20091015153048)  (0.0ms) ALTER TABLE "users" ADD "openid_identifier" varchar(255)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")  (0.0ms) CREATE TABLE "altered_users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")  (0.0ms) SELECT * FROM "users"  (1.0ms) DROP TABLE "users"  (1.0ms) CREATE TABLE "users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (1.0ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (1.0ms) CREATE TABLE "altered_users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128) DEFAULT '' NOT NULL, "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")  (0.0ms) SELECT * FROM "users"  (0.0ms) DROP TABLE "users"  (1.0ms) CREATE TABLE "users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128), "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")  (1.0ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (0.0ms) CREATE TABLE "altered_users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128), "salt" varchar(128) DEFAULT '' NOT NULL, "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")  (0.0ms) SELECT * FROM "users"  (0.0ms) DROP TABLE "users"  (0.0ms) CREATE TABLE "users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091015153048') Migrating to ChangePreferenceValueType (20091016174634)  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "preferences" AND type = 'index'  (0.0ms) DROP INDEX "index_preferences_on_owner_and_attribute_and_preference"  (1.0ms) CREATE TABLE "altered_preferences" ("id" integer primary key autoincrement not null, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "preferences" AND type = 'index'  (0.0ms) SELECT * FROM "preferences"  (1.0ms) DROP TABLE "preferences"  (1.0ms) CREATE TABLE "preferences" ("id" integer primary key autoincrement not null, "attribute" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_preferences" AND type = 'index'  (0.0ms) SELECT * FROM "altered_preferences"  (0.0ms) DROP TABLE "altered_preferences"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091016174634') Migrating to CreateBillingIntegrations (20091017175558)  (0.0ms) CREATE TABLE "billing_integrations" ("id" integer primary key autoincrement not null, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091017175558') Migrating to ChargeRefactoring (20091021133257)  (1.0ms) ALTER TABLE "orders" ADD "completed_at" datetime Order Load (1.0ms) SELECT "orders".* FROM "orders"  (1.0ms) CREATE TABLE "altered_checkouts" ("id" integer primary key autoincrement not null, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "completed_at" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "checkouts" AND type = 'index'  (0.0ms) SELECT * FROM "checkouts"  (1.0ms) DROP TABLE "checkouts"  (0.0ms) CREATE TABLE "checkouts" ("id" integer primary key autoincrement not null, "order_id" integer, "email" varchar(255), "ip_address" varchar(255), "special_instructions" text, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_checkouts" AND type = 'index'  (1.0ms) SELECT * FROM "altered_checkouts"  (0.0ms) DROP TABLE "altered_checkouts"  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (0.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments" SQL (0.0ms) UPDATE "adjustments" SET "type" = 'secondary_type' SQL (0.0ms) UPDATE "adjustments" SET "type" = 'CouponCredit' WHERE "adjustments"."type" = 'Credit'  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "secondary_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (1.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "adjustment_source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091021133257') Migrating to AddSomeIndexes (20091104151730)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "taxons" AND type = 'index'  (0.0ms) CREATE INDEX "index_taxons_on_permalink" ON "taxons" ("permalink")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "taxons" AND type = 'index'  (0.0ms) CREATE INDEX "index_taxons_on_parent_id" ON "taxons" ("parent_id")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "taxons" AND type = 'index'  (0.0ms) CREATE INDEX "index_taxons_on_taxonomy_id" ON "taxons" ("taxonomy_id")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "assets" AND type = 'index'  (0.0ms) CREATE INDEX "index_assets_on_viewable_id" ON "assets" ("viewable_id")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "assets" AND type = 'index'  (0.0ms) CREATE INDEX "index_assets_on_viewable_type_and_type" ON "assets" ("viewable_type", "type")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "product_properties" AND type = 'index'  (1.0ms) CREATE INDEX "index_product_properties_on_product_id" ON "product_properties" ("product_id")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "option_values_variants" AND type = 'index'  (0.0ms) CREATE INDEX "index_option_values_variants_on_variant_id_and_option_value_id" ON "option_values_variants" ("variant_id", "option_value_id")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091104151730') Migrating to CheckoutStateMachine (20091126190904)  (0.0ms) ALTER TABLE "checkouts" ADD "state" varchar(255)  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091126190904') Migrating to StateForShipments (20091209153045)  (1.0ms) ALTER TABLE "shipments" ADD "state" varchar(255)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091209153045') Migrating to MakeStateEventsPolymorphic (20091209202200)  (0.0ms) CREATE TABLE "altered_state_events" ("id" integer primary key autoincrement not null, "name" varchar(255), "previous_state" varchar(255), "stateful_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "state_events" AND type = 'index'  (0.0ms) SELECT * FROM "state_events"  (1.0ms) DROP TABLE "state_events"  (0.0ms) CREATE TABLE "state_events" ("id" integer primary key autoincrement not null, "name" varchar(255), "previous_state" varchar(255), "stateful_id" integer, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_state_events" AND type = 'index'  (0.0ms) SELECT * FROM "altered_state_events"  (1.0ms) DROP TABLE "altered_state_events"  (0.0ms) ALTER TABLE "state_events" ADD "stateful_type" varchar(255)  (0.0ms) UPDATE state_events SET stateful_type = 'Order'  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091209202200') Migrating to ShipAddressIdForCheckouts (20091211203813)  (1.0ms) ALTER TABLE "checkouts" ADD "ship_address_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091211203813') Migrating to ShippingMethodIdForCheckouts (20091212161118)  (0.0ms) ALTER TABLE "checkouts" ADD "shipping_method_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091212161118') Migrating to CreditcardLastFourDigits (20091213222815)  (1.0ms) CREATE TABLE "altered_creditcards" ("id" integer primary key autoincrement not null, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "creditcards" AND type = 'index'  (0.0ms) SELECT * FROM "creditcards"  (0.0ms) DROP TABLE "creditcards"  (0.0ms) CREATE TABLE "creditcards" ("id" integer primary key autoincrement not null, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_creditcards" AND type = 'index'  (1.0ms) SELECT * FROM "altered_creditcards"  (1.0ms) DROP TABLE "altered_creditcards"  (0.0ms) SELECT * FROM creditcards  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091213222815') Migrating to PopulateLegacyShipmentState (20091214183826)  (0.0ms) SELECT * FROM shipments  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20091214183826') Migrating to AddCostPrice (20100105090147)  (0.0ms) ALTER TABLE "variants" ADD "cost_price" decimal(8,2) DEFAULT NULL  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100105090147') Migrating to ShipmentIdForInventoryUnits (20100105132138)  (1.0ms) ALTER TABLE "inventory_units" ADD "shipment_id" integer  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "inventory_units" AND type = 'index'  (0.0ms) CREATE INDEX "index_inventory_units_on_shipment_id" ON "inventory_units" ("shipment_id") Spree::Shipment Load (0.0ms) SELECT "shipments".* FROM "shipments"   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100105132138') Migrating to CimFieldsForCreditcards (20100111205525)  (1.0ms) ALTER TABLE "creditcards" ADD "gateway_customer_profile_id" varchar(255)  (1.0ms) ALTER TABLE "creditcards" ADD "gateway_payment_profile_id" varchar(255)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100111205525') Migrating to CreateReturnAuthorizations (20100112151511)  (1.0ms) CREATE TABLE "return_authorizations" ("id" integer primary key autoincrement not null, "number" varchar(255), "state" varchar(255), "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "reason" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100112151511') Migrating to AddReturnAuthorizationToInventoryUnits (20100113090919)  (1.0ms) ALTER TABLE "inventory_units" ADD "return_authorization_id" integer  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100113090919') Migrating to CreateTrackers (20100113203104)  (0.0ms) CREATE TABLE "trackers" ("id" integer primary key autoincrement not null, "environment" varchar(255), "analytics_id" varchar(255), "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100113203104') Migrating to CreditcardIdForCreditcardTxns (20100121160010)  (0.0ms) ALTER TABLE "creditcard_txns" ADD "creditcard_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100121160010') Migrating to OriginalCreditcardTxnIdForCreditcardTxns (20100121183934)  (1.0ms) ALTER TABLE "creditcard_txns" ADD "original_creditcard_txn_id" integer  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100121183934') Migrating to AddTestModeToBillingIntegration (20100125145351)  (1.0ms) ALTER TABLE "billing_integrations" ADD "test_mode" boolean DEFAULT 't'  (0.0ms) ALTER TABLE "billing_integrations" ADD "server" varchar(255) DEFAULT 'test'  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100125145351') Migrating to CreatePaymentMethods (20100209025806)  (18.0ms) CREATE TABLE "payment_methods" ("id" integer primary key autoincrement not null, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100209025806') Migrating to PolymorphicPayments (20100209144531)  (0.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "type" varchar(255), "order_id" integer, "creditcard_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (17.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (2.0ms) DROP TABLE "payments"  (19.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "creditcard_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (0.0ms) SELECT * FROM "altered_payments"  (0.0ms) DROP TABLE "altered_payments"  (0.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "creditcard_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (1.0ms) DROP TABLE "payments"  (0.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (0.0ms) SELECT * FROM "altered_payments"  (0.0ms) DROP TABLE "altered_payments"  (0.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (0.0ms) DROP TABLE "payments"  (0.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (1.0ms) SELECT * FROM "altered_payments"  (0.0ms) DROP TABLE "altered_payments"  (0.0ms) ALTER TABLE "payments" ADD "payable_type" varchar(255)  (0.0ms) ALTER TABLE "payments" ADD "payment_method" varchar(255)  (0.0ms) ALTER TABLE "payments" ADD "source_id" integer  (1.0ms) ALTER TABLE "payments" ADD "source_type" varchar(255)  (0.0ms) UPDATE payments SET payable_type = 'Order' Spree::CreditCard Load (0.0ms) SELECT "creditcards".* FROM "creditcards"  (1.0ms) CREATE TABLE "altered_creditcards" ("id" integer primary key autoincrement not null, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "checkout_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "creditcards" AND type = 'index'  (0.0ms) SELECT * FROM "creditcards"  (0.0ms) DROP TABLE "creditcards"  (0.0ms) CREATE TABLE "creditcards" ("id" integer primary key autoincrement not null, "number" text, "verification_value" text, "month" varchar(255), "year" varchar(255), "cc_type" varchar(255), "last_digits" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "start_month" varchar(255), "start_year" varchar(255), "issue_number" varchar(255), "address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "gateway_customer_profile_id" varchar(255), "gateway_payment_profile_id" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_creditcards" AND type = 'index'  (0.0ms) SELECT * FROM "altered_creditcards"  (0.0ms) DROP TABLE "altered_creditcards"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100209144531') Migrating to ChangePaymentsPaymentMethodToBelongsTo (20100213103131)  (1.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payable_type" varchar(255), "payment_method" varchar(255), "source_id" integer, "source_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (1.0ms) DROP TABLE "payments"  (0.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "payable_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (1.0ms) SELECT * FROM "altered_payments"  (0.0ms) DROP TABLE "altered_payments"  (0.0ms) ALTER TABLE "payments" ADD "payment_method_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100213103131') Migrating to AssignCreditcardTxnsToPayment (20100214212536)  (1.0ms) ALTER TABLE "creditcard_txns" ADD "payment_id" integer  (1.0ms) SELECT * FROM creditcard_txns  (0.0ms) CREATE TABLE "altered_creditcard_txns" ("id" integer primary key autoincrement not null, "creditcard_payment_id" integer, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "creditcard_txns" AND type = 'index'  (1.0ms) SELECT * FROM "creditcard_txns"  (0.0ms) DROP TABLE "creditcard_txns"  (0.0ms) CREATE TABLE "creditcard_txns" ("id" integer primary key autoincrement not null, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_creditcard_txns" AND type = 'index'  (0.0ms) SELECT * FROM "altered_creditcard_txns"  (0.0ms) DROP TABLE "altered_creditcard_txns"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100214212536') Migrating to StiForTransactions (20100223170312)  (0.0ms) ALTER TABLE "creditcard_txns" RENAME TO "transactions"  (0.0ms) ALTER TABLE "transactions" ADD "type" varchar(255)  (1.0ms) CREATE TABLE "altered_transactions" ("id" integer primary key autoincrement not null, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "creditcard_id" integer, "original_creditcard_txn_id" integer, "payment_id" integer, "type" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "transactions" AND type = 'index'  (17.0ms) SELECT * FROM "transactions"  (0.0ms) DROP TABLE "transactions"  (0.0ms) CREATE TABLE "transactions" ("id" integer primary key autoincrement not null, "txn_type" integer, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "response_code" varchar(255), "avs_response" text, "cvv_response" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "original_creditcard_txn_id" integer, "payment_id" integer, "type" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_transactions" AND type = 'index'  (0.0ms) SELECT * FROM "altered_transactions"  (0.0ms) DROP TABLE "altered_transactions"  (0.0ms) UPDATE transactions SET type = 'CreditcardTxn'  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223170312') Migrating to DropBillingIntegrations (20100223183812)  (0.0ms) DROP TABLE "billing_integrations"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100223183812') Migrating to DeletedAtForPaymentMethods (20100224153127)  (1.0ms) ALTER TABLE "payment_methods" ADD "deleted_at" datetime DEFAULT NULL  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100224153127') Migrating to AddAdjustmentsIndex (20100301163454)  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (1.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100301163454') Migrating to AddAltTextToImages (20100317120946)  (0.0ms) ALTER TABLE "assets" ADD "alt" text  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100317120946') Migrating to FixExistingCouponCredits (20100419194457)  (0.0ms) UPDATE adjustments SET type='PromotionCredit' WHERE type='CouponCredit'  (0.0ms) UPDATE adjustments SET adjustment_source_type='Promotion' WHERE adjustment_source_type='Coupon'  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100419194457') Migrating to AddDisplayToPaymentMethods (20100427121301)  (0.0ms) ALTER TABLE "payment_methods" ADD "display" varchar(255) DEFAULT NULL  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100427121301') Migrating to AddAddressesCheckoutsIndexes (20100504142133)  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "addresses" AND type = 'index'  (0.0ms) CREATE INDEX "index_addresses_on_firstname" ON "addresses" ("firstname")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "addresses" AND type = 'index'  (18.0ms) CREATE INDEX "index_addresses_on_lastname" ON "addresses" ("lastname")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "checkouts" AND type = 'index'  (0.0ms) CREATE INDEX "index_checkouts_on_order_id" ON "checkouts" ("order_id")  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "checkouts" AND type = 'index'  (1.0ms) CREATE INDEX "index_checkouts_on_bill_address_id" ON "checkouts" ("bill_address_id")  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100504142133') Migrating to AddIconToTaxons (20100506180619)  (1.0ms) ALTER TABLE "taxons" ADD "icon_file_name" varchar(255)  (0.0ms) ALTER TABLE "taxons" ADD "icon_content_type" varchar(255)  (0.0ms) ALTER TABLE "taxons" ADD "icon_file_size" integer  (1.0ms) ALTER TABLE "taxons" ADD "icon_updated_at" datetime  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100506180619') Migrating to AddDescriptionToTaxons (20100506185838)  (0.0ms) ALTER TABLE "taxons" ADD "description" text  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100506185838') Migrating to IndexForShipmentsNumber (20100528155333)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "shipments" AND type = 'index'  (0.0ms) CREATE INDEX "index_shipments_on_number" ON "shipments" ("number")  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100528155333') Migrating to AddIndexOnUsersPersistenceToken (20100528185820)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")  (17.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100528185820') Migrating to AddDefaultToTaxCategories (20100605152042)  (0.0ms) ALTER TABLE "tax_categories" ADD "is_default" boolean DEFAULT 'f'  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100605152042') Migrating to AddDisplayToShippingMethods (20100624110730)  (1.0ms) ALTER TABLE "shipping_methods" ADD "display_on" varchar(255) DEFAULT NULL  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100624110730') Migrating to RenamePaymentMethodDisplay (20100624123336)  (1.0ms) CREATE TABLE "altered_payment_methods" ("id" integer primary key autoincrement not null, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "display_on" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payment_methods" AND type = 'index'  (0.0ms) SELECT * FROM "payment_methods"  (1.0ms) DROP TABLE "payment_methods"  (1.0ms) CREATE TABLE "payment_methods" ("id" integer primary key autoincrement not null, "type" varchar(255), "name" varchar(255), "description" text, "active" boolean DEFAULT 't', "environment" varchar(255) DEFAULT 'development', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "display_on" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payment_methods" AND type = 'index'  (0.0ms) SELECT * FROM "altered_payment_methods"  (0.0ms) DROP TABLE "altered_payment_methods"  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100624123336') Migrating to RenamePreferencesField (20100624175547)  (1.0ms) CREATE TABLE "altered_preferences" ("id" integer primary key autoincrement not null, "name" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "preferences" AND type = 'index'  (0.0ms) SELECT * FROM "preferences"  (17.0ms) DROP TABLE "preferences"  (0.0ms) CREATE TABLE "preferences" ("id" integer primary key autoincrement not null, "name" varchar(100) NOT NULL, "owner_id" integer(30) NOT NULL, "owner_type" varchar(50) NOT NULL, "group_id" integer, "group_type" varchar(50), "value" text(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_preferences" AND type = 'index'  (1.0ms) SELECT * FROM "altered_preferences"  (0.0ms) DROP TABLE "altered_preferences"  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100624175547') Migrating to AddGuestFlag (20100811163637)  (1.0ms) ALTER TABLE "users" ADD "guest" boolean  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100811163637') Migrating to DropOrderToken (20100811205836)  (1.0ms) CREATE TABLE "altered_orders" ("id" integer primary key autoincrement not null, "number" varchar(15), "item_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "total" decimal(8,2) DEFAULT 0.0 NOT NULL, "state" varchar(255), "token" varchar(255), "adjustment_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "credit_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "completed_at" datetime)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "orders" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_orders" AND type = 'index'  (1.0ms) CREATE INDEX "temp_index_altered_orders_on_number" ON "altered_orders" ("number")  (0.0ms) SELECT * FROM "orders"  (0.0ms) DROP TABLE "orders"  (0.0ms) CREATE TABLE "orders" ("id" integer primary key autoincrement not null, "number" varchar(15), "item_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "total" decimal(8,2) DEFAULT 0.0 NOT NULL, "state" varchar(255), "adjustment_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "credit_total" decimal(8,2) DEFAULT 0.0 NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "completed_at" datetime)   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_orders" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "orders" AND type = 'index'  (0.0ms) CREATE INDEX "index_orders_on_number" ON "orders" ("number")  (1.0ms) SELECT * FROM "altered_orders"  (0.0ms) DROP TABLE "altered_orders"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100811205836') Migrating to PaymentsStateAndAssignedToOrderOnly (20100812162326)  (1.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (1.0ms) DROP TABLE "payments"  (0.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (1.0ms) SELECT * FROM "altered_payments"  (1.0ms) DROP TABLE "altered_payments"  (0.0ms) CREATE TABLE "altered_payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "payable_type" varchar(255), "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "payments" AND type = 'index'  (0.0ms) SELECT * FROM "payments"  (0.0ms) DROP TABLE "payments"  (0.0ms) CREATE TABLE "payments" ("id" integer primary key autoincrement not null, "amount" decimal(8,2) DEFAULT 0.0 NOT NULL, "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "source_id" integer, "source_type" varchar(255), "payment_method_id" integer)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_payments" AND type = 'index'  (0.0ms) SELECT * FROM "altered_payments"  (0.0ms) DROP TABLE "altered_payments"  (0.0ms) ALTER TABLE "payments" ADD "state" varchar(255)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100812162326') Migrating to CreateAddressKeysForOrder (20100813023502)  (0.0ms) ALTER TABLE "orders" ADD "bill_address_id" integer  (0.0ms) ALTER TABLE "orders" ADD "ship_address_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100813023502') Migrating to PaymentTotalForOrders (20100813185745)  (1.0ms) ALTER TABLE "orders" ADD "payment_total" decimal(8,2) DEFAULT 0.0  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100813185745') Migrating to ShippingMethodIdForOrders (20100816212146)  (1.0ms) ALTER TABLE "orders" ADD "shipping_method_id" integer  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100816212146') Migrating to AddShipmentAndPaymentState (20100817152723)  (0.0ms) ALTER TABLE "orders" ADD "shipment_state" varchar(255)  (0.0ms) ALTER TABLE "orders" ADD "payment_state" varchar(255)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100817152723') Migrating to RefactorAdjustments (20100819170125)  (1.0ms) ALTER TABLE "adjustments" ADD "mandatory" boolean  (0.0ms) ALTER TABLE "adjustments" ADD "frozen" boolean  (1.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (1.0ms) SELECT * FROM "adjustments"  (18.0ms) DROP TABLE "adjustments"  (0.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "adjustment_source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (2.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (1.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (1.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) ALTER TABLE "adjustments" ADD "originator_id" integer  (0.0ms) ALTER TABLE "adjustments" ADD "originator_type" varchar(255)  (1.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "type" varchar(255), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (0.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "description" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (1.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (1.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "position" integer, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (1.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "frozen" boolean, "originator_id" integer, "originator_type" varchar(255))  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (0.0ms) SELECT * FROM "altered_adjustments"  (0.0ms) DROP TABLE "altered_adjustments"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100819170125') Migrating to ResponseCodeAndAvsResponseForPayments (20100820135707)  (1.0ms) ALTER TABLE "payments" ADD "response_code" varchar(255)  (0.0ms) ALTER TABLE "payments" ADD "avs_response" varchar(255)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100820135707') Migrating to ChangeGuestFlagToAnonymous (20100901171814)  (1.0ms) CREATE TABLE "altered_users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255), "anonymous" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (1.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_users_on_openid_identifier" ON "altered_users" ("openid_identifier")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_users_on_persistence_token" ON "altered_users" ("persistence_token")  (1.0ms) SELECT * FROM "users"  (0.0ms) DROP TABLE "users"  (0.0ms) CREATE TABLE "users" ("id" integer primary key autoincrement not null, "crypted_password" varchar(128), "salt" varchar(128), "email" varchar(255), "remember_token" varchar(255), "remember_token_expires_at" varchar(255), "persistence_token" varchar(255), "single_access_token" varchar(255), "perishable_token" varchar(255), "login_count" integer DEFAULT 0 NOT NULL, "failed_login_count" integer DEFAULT 0 NOT NULL, "last_request_at" datetime, "current_login_at" datetime, "last_login_at" datetime, "current_login_ip" varchar(255), "last_login_ip" varchar(255), "login" varchar(255), "ship_address_id" integer, "bill_address_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "openid_identifier" varchar(255), "anonymous" boolean)  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_users" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (1.0ms) CREATE INDEX "index_users_on_openid_identifier" ON "users" ("openid_identifier")  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "users" AND type = 'index'  (0.0ms) CREATE INDEX "index_users_on_persistence_token" ON "users" ("persistence_token")  (0.0ms) SELECT * FROM "altered_users"  (0.0ms) DROP TABLE "altered_users"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100901171814') Migrating to EmailForOrders (20100903203949)  (1.0ms) ALTER TABLE "orders" ADD "email" varchar(255)  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100903203949') Migrating to CreateMailMethods (20100923162011)  (1.0ms) CREATE TABLE "mail_methods" ("id" integer primary key autoincrement not null, "environment" varchar(255), "active" boolean DEFAULT 't', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100923162011') Migrating to RenameFrozenToLocked (20100929151905)  (0.0ms) CREATE TABLE "altered_adjustments" ("id" integer primary key autoincrement not null, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "temp_index_altered_adjustments_on_order_id" ON "altered_adjustments" ("order_id")  (0.0ms) SELECT * FROM "adjustments"  (0.0ms) DROP TABLE "adjustments"  (1.0ms) CREATE TABLE "adjustments" ("id" integer primary key autoincrement not null, "source_id" integer, "amount" decimal(8,2), "label" varchar(255), "source_type" varchar(255), "order_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "mandatory" boolean, "locked" boolean, "originator_id" integer, "originator_type" varchar(255))   (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "altered_adjustments" AND type = 'index'  (0.0ms) SELECT name, sql FROM sqlite_master WHERE tbl_name = "adjustments" AND type = 'index'  (0.0ms) CREATE INDEX "index_adjustments_on_order_id" ON "adjustments" ("order_id")  (1.0ms) SELECT * FROM "altered_adjustments"  (1.0ms) DROP TABLE "altered_adjustments"  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100929151905') Migrating to MoveSpecialInstructionsToOrders (20101008190536)  (0.0ms) ALTER TABLE "orders" ADD "special_instructions" text  (0.0ms) UPDATE orders SET special_instructions = (SELECT special_instructions FROM checkouts WHERE order_id = orders.id)  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101008190536') Migrating to CreateLogEntries (20101026184700)  (1.0ms) CREATE TABLE "log_entries" ("id" integer primary key autoincrement not null, "source_id" integer, "source_type" varchar(255), "details" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184700') Migrating to MigrateTransactionsToPaymentState (20101026184714) Transaction Load (0.0ms) SELECT * FROM transactions GROUP BY payment_id HAVING COUNT(payment_id) = 1 AND txn_type = 1 Transaction Load (0.0ms) SELECT * FROM transactions WHERE txn_type = 4 Transaction Load (0.0ms) SELECT * FROM transactions WHERE txn_type = 2 Transaction Load (0.0ms) SELECT * FROM transactions WHERE txn_type = 3 Transaction Load (0.0ms) SELECT * FROM transactions WHERE txn_type = 5  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184714') Migrating to DeleteInProgressOrders (20101026184746)  (0.0ms) DELETE FROM orders WHERE orders.state = 'in_progress'  (0.0ms) DELETE FROM adjustments WHERE order_id NOT IN (SELECT id FROM orders)  (0.0ms) DELETE FROM checkouts WHERE order_id NOT IN (SELECT id FROM orders)  (0.0ms) DELETE FROM shipments WHERE order_id NOT IN (SELECT id FROM orders)  (0.0ms) DELETE FROM payments WHERE order_id NOT IN (SELECT id FROM orders)  (0.0ms) DELETE FROM line_items WHERE order_id NOT IN (SELECT id FROM orders)  (0.0ms) DELETE FROM inventory_units WHERE order_id NOT IN (SELECT id FROM orders)  (18.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184746') Migrating to MigrateCheckoutToOrders (20101026184808)  (1.0ms) SELECT * FROM orders  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184808') Migrating to RemoveShippedState (20101026184855)  (0.0ms) UPDATE orders SET state = 'complete' WHERE state = 'shipped'  (0.0ms) SELECT shipments.id FROM shipments WHERE order_id IN (SELECT orders.id FROM orders WHERE orders.state = 'shipped')  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184855') Migrating to PreventNilPaymentTotal (20101026184916)  (1.0ms) UPDATE orders SET payment_total = 0.0 WHERE payment_total IS NULL  (0.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184916') Migrating to PreventNilEmail (20101026184932)  (0.0ms) UPDATE orders SET email = 'guest@example.com' WHERE email IS NULL  (1.0ms) UPDATE orders SET email = 'guest@example.com' WHERE email = ''  (1.0ms) INSERT INTO "schema_migrations" ("version") VALUES ('20101026184932') Migrating to GenerateAnonymousUsers (20101026184959) Booted Spree using version 1.2.0  (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to SpreeZeroNineZero (20090823005402) Migrating to CreateIndexesForInventoryUnits (20090904192342) Migrating to AddCountOnHandToVariantsAndProducts (20090923100315) Migrating to ChangeTaxonsToNestedSet (20091007134354) Migrating to MoveToConfigurableGateways (20091008091614) Migrating to AddOpenIdAuthenticationTables (20091015110842) Migrating to AddOpenidFieldToUsers (20091015153048) Migrating to ChangePreferenceValueType (20091016174634) Migrating to CreateBillingIntegrations (20091017175558) Migrating to ChargeRefactoring (20091021133257) Migrating to AddSomeIndexes (20091104151730) Migrating to CheckoutStateMachine (20091126190904) Migrating to StateForShipments (20091209153045) Migrating to MakeStateEventsPolymorphic (20091209202200) Migrating to ShipAddressIdForCheckouts (20091211203813) Migrating to ShippingMethodIdForCheckouts (20091212161118) Migrating to CreditcardLastFourDigits (20091213222815) Migrating to PopulateLegacyShipmentState (20091214183826) Migrating to AddCostPrice (20100105090147) Migrating to ShipmentIdForInventoryUnits (20100105132138) Migrating to CimFieldsForCreditcards (20100111205525) Migrating to CreateReturnAuthorizations (20100112151511) Migrating to AddReturnAuthorizationToInventoryUnits (20100113090919) Migrating to CreateTrackers (20100113203104) Migrating to CreditcardIdForCreditcardTxns (20100121160010) Migrating to OriginalCreditcardTxnIdForCreditcardTxns (20100121183934) Migrating to AddTestModeToBillingIntegration (20100125145351) Migrating to CreatePaymentMethods (20100209025806) Migrating to PolymorphicPayments (20100209144531) Migrating to ChangePaymentsPaymentMethodToBelongsTo (20100213103131) Migrating to AssignCreditcardTxnsToPayment (20100214212536) Migrating to StiForTransactions (20100223170312) Migrating to DropBillingIntegrations (20100223183812) Migrating to DeletedAtForPaymentMethods (20100224153127) Migrating to AddAdjustmentsIndex (20100301163454) Migrating to AddAltTextToImages (20100317120946) Migrating to FixExistingCouponCredits (20100419194457) Migrating to AddDisplayToPaymentMethods (20100427121301) Migrating to AddAddressesCheckoutsIndexes (20100504142133) Migrating to AddIconToTaxons (20100506180619) Migrating to AddDescriptionToTaxons (20100506185838) Migrating to IndexForShipmentsNumber (20100528155333) Migrating to AddIndexOnUsersPersistenceToken (20100528185820) Migrating to AddDefaultToTaxCategories (20100605152042) Migrating to AddDisplayToShippingMethods (20100624110730) Migrating to RenamePaymentMethodDisplay (20100624123336) Migrating to RenamePreferencesField (20100624175547) Migrating to AddGuestFlag (20100811163637) Migrating to DropOrderToken (20100811205836) Migrating to PaymentsStateAndAssignedToOrderOnly (20100812162326) Migrating to CreateAddressKeysForOrder (20100813023502) Migrating to PaymentTotalForOrders (20100813185745) Migrating to ShippingMethodIdForOrders (20100816212146) Migrating to AddShipmentAndPaymentState (20100817152723) Migrating to RefactorAdjustments (20100819170125) Migrating to ResponseCodeAndAvsResponseForPayments (20100820135707) Migrating to ChangeGuestFlagToAnonymous (20100901171814) Migrating to EmailForOrders (20100903203949) Migrating to CreateMailMethods (20100923162011) Migrating to RenameFrozenToLocked (20100929151905) Migrating to MoveSpecialInstructionsToOrders (20101008190536) Migrating to CreateLogEntries (20101026184700) Migrating to MigrateTransactionsToPaymentState (20101026184714) Migrating to DeleteInProgressOrders (20101026184746) Migrating to MigrateCheckoutToOrders (20101026184808) Migrating to RemoveShippedState (20101026184855) Migrating to PreventNilPaymentTotal (20101026184916) Migrating to PreventNilEmail (20101026184932) Migrating to GenerateAnonymousUsers (20101026184959) Booted Spree using version 1.2.0  (2.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" Migrating to SpreeZeroNineZero (20090823005402) Migrating to CreateIndexesForInventoryUnits (20090904192342) Migrating to AddCountOnHandToVariantsAndProducts (20090923100315) Migrating to ChangeTaxonsToNestedSet (20091007134354) Migrating to MoveToConfigurableGateways (20091008091614) Migrating to AddOpenIdAuthenticationTables (20091015110842) Migrating to AddOpenidFieldToUsers (20091015153048) Migrating to ChangePreferenceValueType (20091016174634) Migrating to CreateBillingIntegrations (20091017175558) Migrating to ChargeRefactoring (20091021133257) Migrating to AddSomeIndexes (20091104151730) Migrating to CheckoutStateMachine (20091126190904) Migrating to StateForShipments (20091209153045) Migrating to MakeStateEventsPolymorphic (20091209202200) Migrating to ShipAddressIdForCheckouts (20091211203813) Migrating to ShippingMethodIdForCheckouts (20091212161118) Migrating to CreditcardLastFourDigits (20091213222815) Migrating to PopulateLegacyShipmentState (20091214183826) Migrating to AddCostPrice (20100105090147) Migrating to ShipmentIdForInventoryUnits (20100105132138) Migrating to CimFieldsForCreditcards (20100111205525) Migrating to CreateReturnAuthorizations (20100112151511) Migrating to AddReturnAuthorizationToInventoryUnits (20100113090919) Migrating to CreateTrackers (20100113203104) Migrating to CreditcardIdForCreditcardTxns (20100121160010) Migrating to OriginalCreditcardTxnIdForCreditcardTxns (20100121183934) Migrating to AddTestModeToBillingIntegration (20100125145351) Migrating to CreatePaymentMethods (20100209025806) Migrating to PolymorphicPayments (20100209144531) Migrating to ChangePaymentsPaymentMethodToBelongsTo (20100213103131) Migrating to AssignCreditcardTxnsToPayment (20100214212536) Migrating to StiForTransactions (20100223170312) Migrating to DropBillingIntegrations (20100223183812) Migrating to DeletedAtForPaymentMethods (20100224153127) Migrating to AddAdjustmentsIndex (20100301163454) Migrating to AddAltTextToImages (20100317120946) Migrating to FixExistingCouponCredits (20100419194457) Migrating to AddDisplayToPaymentMethods (20100427121301) Migrating to AddAddressesCheckoutsIndexes (20100504142133) Migrating to AddIconToTaxons (20100506180619) Migrating to AddDescriptionToTaxons (20100506185838) Migrating to IndexForShipmentsNumber (20100528155333) Migrating to AddIndexOnUsersPersistenceToken (20100528185820) Migrating to AddDefaultToTaxCategories (20100605152042) Migrating to AddDisplayToShippingMethods (20100624110730) Migrating to RenamePaymentMethodDisplay (20100624123336) Migrating to RenamePreferencesField (20100624175547) Migrating to AddGuestFlag (20100811163637) Migrating to DropOrderToken (20100811205836) Migrating to PaymentsStateAndAssignedToOrderOnly (20100812162326) Migrating to CreateAddressKeysForOrder (20100813023502) Migrating to PaymentTotalForOrders (20100813185745) Migrating to ShippingMethodIdForOrders (20100816212146) Migrating to AddShipmentAndPaymentState (20100817152723) Migrating to RefactorAdjustments (20100819170125) Migrating to ResponseCodeAndAvsResponseForPayments (20100820135707) Migrating to ChangeGuestFlagToAnonymous (20100901171814) Migrating to EmailForOrders (20100903203949) Migrating to CreateMailMethods (20100923162011) Migrating to RenameFrozenToLocked (20100929151905) Migrating to MoveSpecialInstructionsToOrders (20101008190536) Migrating to CreateLogEntries (20101026184700) Migrating to MigrateTransactionsToPaymentState (20101026184714) Migrating to DeleteInProgressOrders (20101026184746) Migrating to MigrateCheckoutToOrders (20101026184808) Migrating to RemoveShippedState (20101026184855) Migrating to PreventNilPaymentTotal (20101026184916) Migrating to PreventNilEmail (20101026184932) Migrating to GenerateAnonymousUsers (20101026184959) Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.2.0 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 Booted Spree using version 1.1.3 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_products" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:16:11.671000', 'Paintings', '2012-09-18 08:16:11.671000') Spree::Taxon Load (0.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-18 08:16:11.806000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 1, '2012-09-18 08:16:11.806000')  (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-18 08:16:11.829000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 1, '2012-09-18 08:16:11.829000')  (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-18 08:16:11.849000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 1, '2012-09-18 08:16:11.849000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:16:11.977000', 'Paintings', '2012-09-18 08:16:11.977000') 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-18 08:16:12.010000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 2, '2012-09-18 08:16:12.010000')  (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-18 08:16:12.063000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 2, '2012-09-18 08:16:12.063000')  (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-18 08:16:12.166000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 2, '2012-09-18 08:16:12.166000') Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:16:45.532000', 'Paintings', '2012-09-18 08:16:45.532000') Spree::Taxon Load (0.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-18 08:16:45.676000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 3, '2012-09-18 08:16:45.676000')  (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-18 08:16:45.703000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 3, '2012-09-18 08:16:45.703000')  (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-18 08:16:45.727000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 3, '2012-09-18 08:16:45.727000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:16:45.884000', 'Paintings', '2012-09-18 08:16:45.884000') 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  (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-18 08:16:45.924000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 4, '2012-09-18 08:16:45.924000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:16:46.057000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 4, '2012-09-18 08:16:46.057000')  (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-18 08:16:46.090000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 4, '2012-09-18 08:16:46.090000') Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:18:33.152000', 'Paintings', '2012-09-18 08:18:33.152000') 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 (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-18 08:18:33.272000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 5, '2012-09-18 08:18:33.272000')  (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-18 08:18:33.295000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 5, '2012-09-18 08:18:33.295000')  (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-18 08:18:33.314000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 5, '2012-09-18 08:18:33.314000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:18:33.880000', 'Paintings', '2012-09-18 08:18:33.880000') 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 (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_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-18 08:18:33.899000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 6, '2012-09-18 08:18:33.899000')  (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-18 08:18:33.925000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 6, '2012-09-18 08:18:33.925000')  (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-18 08:18:33.941000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 6, '2012-09-18 08:18:33.941000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 6 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 6 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 6 LIMIT 1 Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:30.491000', 'Paintings', '2012-09-18 08:28:30.491000') 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-18 08:28:30.886000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 7, '2012-09-18 08:28:30.886000') SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (24.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:30.992000', 'Paintings', '2012-09-18 08:28:30.992000') Spree::Taxon Load (0.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 (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-18 08:28:31.017000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 8, '2012-09-18 08:28:31.017000') SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:31.101000', 'Paintings', '2012-09-18 08:28:31.101000') 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  (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-18 08:28:31.120000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 9, '2012-09-18 08:28:31.120000') Booted Spree using version 1.1.3 SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (2.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (18.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (20.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:28:32.126000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:28:32.126000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:28:32.226000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:28:32.226000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (7.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (22.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (23.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (19.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (11.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:33.732000', 'Paintings', '2012-09-18 08:28:33.732000') 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  (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-18 08:28:33.754000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 10, '2012-09-18 08:28:33.754000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:28:33.774000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 10, '2012-09-18 08:28:33.774000')  (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-18 08:28:33.787000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 10, '2012-09-18 08:28:33.787000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:34.216000', 'Paintings', '2012-09-18 08:28:34.216000') 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  (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-18 08:28:34.231000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 11, '2012-09-18 08:28:34.231000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:28:34.243000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 11, '2012-09-18 08:28:34.243000')  (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-18 08:28:34.259000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 11, '2012-09-18 08:28:34.259000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 11 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 11 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 11 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:34.403000', 'Paintings', '2012-09-18 08:28:34.403000') 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-18 08:28:34.441000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 12, '2012-09-18 08:28:34.441000')  (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-18 08:28:34.470000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 12, '2012-09-18 08:28:34.470000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 28, "updated_at" = '2012-09-18 08:28:34.501000' WHERE "spree_taxons"."id" = 29 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 28 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 29 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 29 THEN 28 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 28 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 29 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 28 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:34.598000', 'Paintings', '2012-09-18 08:28:34.598000') Spree::Taxon Load (1.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-18 08:28:34.609000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 13, '2012-09-18 08:28:34.609000')  (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-18 08:28:34.653000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 13, '2012-09-18 08:28:34.653000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 30, "updated_at" = '2012-09-18 08:28:34.662000' WHERE "spree_taxons"."id" = 31 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 30 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 31 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 31 THEN 30 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 30 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 31 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 30 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:28:34.754000', 'Paintings', '2012-09-18 08:28:34.754000') 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 (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-18 08:28:34.809000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 14, '2012-09-18 08:28:34.809000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:28:34.856000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 14, '2012-09-18 08:28:34.856000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 32, "updated_at" = '2012-09-18 08:28:34.869000' WHERE "spree_taxons"."id" = 33 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 32 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 33 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 33 THEN 32 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 32 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 33 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 32 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (17.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (21.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (18.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (19.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:04.798000', 'Paintings', '2012-09-18 08:30:04.798000') 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-18 08:30:05.212000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 15, '2012-09-18 08:30:05.212000') SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:05.315000', 'Paintings', '2012-09-18 08:30:05.315000') Spree::Taxon Load (1.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-18 08:30:05.337000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 16, '2012-09-18 08:30:05.337000') SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:05.415000', 'Paintings', '2012-09-18 08:30:05.415000') 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-18 08:30:05.435000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 17, '2012-09-18 08:30:05.435000') Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (21.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (22.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (16.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:30:06.414000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:30:06.414000')  (1.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:30:06.499000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:30:06.499000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (18.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (16.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (18.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (16.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (18.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:07.837000', 'Paintings', '2012-09-18 08:30:07.837000') 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 (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-18 08:30:07.868000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 18, '2012-09-18 08:30:07.868000')  (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-18 08:30:07.885000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 18, '2012-09-18 08:30:07.885000')  (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-18 08:30:07.897000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 18, '2012-09-18 08:30:07.897000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:08.333000', 'Paintings', '2012-09-18 08:30:08.333000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 19 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-18 08:30:08.348000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 19, '2012-09-18 08:30:08.348000')  (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-18 08:30:08.359000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 19, '2012-09-18 08:30:08.359000')  (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-18 08:30:08.375000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 19, '2012-09-18 08:30:08.375000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 19 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 19 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 19 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:08.519000', 'Paintings', '2012-09-18 08:30:08.519000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 20 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-18 08:30:08.557000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 20, '2012-09-18 08:30:08.557000')  (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-18 08:30:08.588000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 20, '2012-09-18 08:30:08.588000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 43, "updated_at" = '2012-09-18 08:30:08.622000' WHERE "spree_taxons"."id" = 44 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 43 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 44 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 44 THEN 43 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 43 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 44 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 43 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:08.744000', 'Paintings', '2012-09-18 08:30:08.744000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 21 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-18 08:30:08.770000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 21, '2012-09-18 08:30:08.770000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:30:08.819000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 21, '2012-09-18 08:30:08.819000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 45, "updated_at" = '2012-09-18 08:30:08.827000' WHERE "spree_taxons"."id" = 46 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 45 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 46 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 46 THEN 45 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 45 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 46 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 45 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:30:08.926000', 'Paintings', '2012-09-18 08:30:08.926000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 22 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-18 08:30:08.982000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 22, '2012-09-18 08:30:08.982000')  (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-18 08:30:09.041000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 22, '2012-09-18 08:30:09.041000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 47, "updated_at" = '2012-09-18 08:30:09.058000' WHERE "spree_taxons"."id" = 48 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 47 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 48 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 48 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" = 47 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 48 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 47 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (22.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:15.497000', 'Paintings', '2012-09-18 08:35:15.497000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 23 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-18 08:35:15.901000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 23, '2012-09-18 08:35:15.901000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (25.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:15.999000', 'Paintings', '2012-09-18 08:35:15.999000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 24 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-18 08:35:16.019000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 24, '2012-09-18 08:35:16.019000') SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:16.102000', 'Paintings', '2012-09-18 08:35:16.102000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 25 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-18 08:35:16.121000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 25, '2012-09-18 08:35:16.121000') Booted Spree using version 1.1.3 SQL (24.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (7.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (23.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (20.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (21.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (19.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (17.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:35:17.082000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:35:17.082000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:35:17.166000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:35:17.166000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (22.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (20.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (7.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:18.549000', 'Paintings', '2012-09-18 08:35:18.549000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 26 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-18 08:35:18.578000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 26, '2012-09-18 08:35:18.578000')  (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-18 08:35:18.596000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 26, '2012-09-18 08:35:18.596000')  (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-18 08:35:18.608000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 26, '2012-09-18 08:35:18.608000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:19.017000', 'Paintings', '2012-09-18 08:35:19.017000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 27 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-18 08:35:19.033000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 27, '2012-09-18 08:35:19.033000')  (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-18 08:35:19.044000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 27, '2012-09-18 08:35:19.044000')  (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-18 08:35:19.060000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 27, '2012-09-18 08:35:19.060000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 27 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 27 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 27 LIMIT 1 Booted Spree using version 1.1.3 SQL (22.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:19.204000', 'Paintings', '2012-09-18 08:35:19.204000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 28 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-18 08:35:19.242000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 28, '2012-09-18 08:35:19.242000')  (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-18 08:35:19.272000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 28, '2012-09-18 08:35:19.272000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 58, "updated_at" = '2012-09-18 08:35:19.306000' WHERE "spree_taxons"."id" = 59 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 58 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 59 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 59 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" = 58 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 59 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 58 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:19.397000', 'Paintings', '2012-09-18 08:35:19.397000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 29 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-18 08:35:19.427000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 29, '2012-09-18 08:35:19.427000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:35:19.456000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 29, '2012-09-18 08:35:19.456000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 60, "updated_at" = '2012-09-18 08:35:19.465000' WHERE "spree_taxons"."id" = 61 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 60 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 61 THEN 60 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 60 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 61 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 60 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:35:19.556000', 'Paintings', '2012-09-18 08:35:19.556000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 30 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-18 08:35:19.591000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 30, '2012-09-18 08:35:19.591000')  (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-18 08:35:19.646000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 30, '2012-09-18 08:35:19.646000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 62, "updated_at" = '2012-09-18 08:35:19.663000' WHERE "spree_taxons"."id" = 63 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 62 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 63 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 63 THEN 62 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 62 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 63 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 62 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (16.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (20.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (18.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:36:57.759000', 'Paintings', '2012-09-18 08:36:57.759000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 31 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:36:58.252000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 31, '2012-09-18 08:36:58.252000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:36:58.372000', 'Paintings', '2012-09-18 08:36:58.372000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 32 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-18 08:36:58.393000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 32, '2012-09-18 08:36:58.393000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:36:58.486000', 'Paintings', '2012-09-18 08:36:58.486000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 33 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-18 08:36:58.516000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 33, '2012-09-18 08:36:58.516000') Booted Spree using version 1.1.3 SQL (28.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (5.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (16.0ms) DELETE FROM "spree_option_types" SQL (18.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (21.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (26.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (21.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (44.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (19.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:36:59.615000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:36:59.615000')  (1.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (16.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:36:59.736000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:36:59.736000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (21.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (18.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:37:01.218000', 'Paintings', '2012-09-18 08:37:01.218000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 34 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-18 08:37:01.235000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 34, '2012-09-18 08:37:01.235000')  (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-18 08:37:01.259000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 34, '2012-09-18 08:37:01.259000')  (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-18 08:37:01.270000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 34, '2012-09-18 08:37:01.270000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:37:01.682000', 'Paintings', '2012-09-18 08:37:01.682000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 35 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-18 08:37:01.699000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 35, '2012-09-18 08:37:01.699000')  (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-18 08:37:01.710000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 35, '2012-09-18 08:37:01.710000')  (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-18 08:37:01.728000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 35, '2012-09-18 08:37:01.728000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 35 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 35 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 35 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:37:01.876000', 'Paintings', '2012-09-18 08:37:01.876000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 36 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-18 08:37:01.927000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 36, '2012-09-18 08:37:01.927000')  (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-18 08:37:01.960000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 36, '2012-09-18 08:37:01.960000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 73, "updated_at" = '2012-09-18 08:37:01.996000' WHERE "spree_taxons"."id" = 74 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 73 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 74 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 74 THEN 73 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 73 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 74 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 73 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:37:02.096000', 'Paintings', '2012-09-18 08:37:02.096000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 37 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-18 08:37:02.120000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 37, '2012-09-18 08:37:02.120000')  (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-18 08:37:02.149000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 37, '2012-09-18 08:37:02.149000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 75, "updated_at" = '2012-09-18 08:37:02.157000' WHERE "spree_taxons"."id" = 76 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 75 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 76 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 76 THEN 75 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 75 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 76 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 75 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:37:02.252000', 'Paintings', '2012-09-18 08:37:02.252000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 38 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-18 08:37:02.306000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 38, '2012-09-18 08:37:02.306000')  (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-18 08:37:02.368000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 38, '2012-09-18 08:37:02.368000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 77, "updated_at" = '2012-09-18 08:37:02.385000' WHERE "spree_taxons"."id" = 78 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 77 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 78 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 78 THEN 77 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 77 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 78 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 77 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (17.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (17.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (18.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:04.002000', 'Paintings', '2012-09-18 08:40:04.002000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 39 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-18 08:40:04.402000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 39, '2012-09-18 08:40:04.402000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:04.481000', 'Paintings', '2012-09-18 08:40:04.481000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 40 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-18 08:40:04.503000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 40, '2012-09-18 08:40:04.503000') SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:04.558000', 'Paintings', '2012-09-18 08:40:04.558000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 41 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-18 08:40:04.577000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 41, '2012-09-18 08:40:04.577000') Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:40:05.209000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:40:05.209000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:40:05.268000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:40:05.268000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:06.042000', 'Paintings', '2012-09-18 08:40:06.042000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 42 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-18 08:40:06.059000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 42, '2012-09-18 08:40:06.059000')  (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-18 08:40:06.084000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 42, '2012-09-18 08:40:06.084000')  (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-18 08:40:06.100000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 42, '2012-09-18 08:40:06.100000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (30.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:06.523000', 'Paintings', '2012-09-18 08:40:06.523000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 43 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-18 08:40:06.538000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 43, '2012-09-18 08:40:06.538000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:40:06.548000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 43, '2012-09-18 08:40:06.548000')  (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-18 08:40:06.563000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 43, '2012-09-18 08:40:06.563000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 43 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 43 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 43 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:06.693000', 'Paintings', '2012-09-18 08:40:06.693000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 44 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-18 08:40:06.710000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 44, '2012-09-18 08:40:06.710000')  (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-18 08:40:06.737000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 44, '2012-09-18 08:40:06.737000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 88, "updated_at" = '2012-09-18 08:40:06.769000' WHERE "spree_taxons"."id" = 89 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 88 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 89 THEN 88 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 88 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 89 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 88 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:06.847000', 'Paintings', '2012-09-18 08:40:06.847000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 45 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-18 08:40:06.855000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 45, '2012-09-18 08:40:06.855000')  (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-18 08:40:06.883000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 45, '2012-09-18 08:40:06.883000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 90, "updated_at" = '2012-09-18 08:40:06.891000' WHERE "spree_taxons"."id" = 91 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 90 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 90 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 91 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 90 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:06.968000', 'Paintings', '2012-09-18 08:40:06.968000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 46 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_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-18 08:40:06.984000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 46, '2012-09-18 08:40:06.984000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:40:07.035000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 46, '2012-09-18 08:40:07.035000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 92, "updated_at" = '2012-09-18 08:40:07.052000' WHERE "spree_taxons"."id" = 93 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 92 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 93 THEN 92 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 92 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 93 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 92 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:43.451000', 'Paintings', '2012-09-18 08:40:43.451000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 47 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:40:43.852000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 47, '2012-09-18 08:40:43.852000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (21.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:43.948000', 'Paintings', '2012-09-18 08:40:43.948000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 48 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-18 08:40:43.968000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 48, '2012-09-18 08:40:43.968000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:44.050000', 'Paintings', '2012-09-18 08:40:44.050000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 49 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-18 08:40:44.069000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 49, '2012-09-18 08:40:44.069000') Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_zones" SQL (19.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (19.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (17.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (5.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:40:44.984000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:40:44.984000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:40:45.072000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:40:45.072000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (17.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (21.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:46.346000', 'Paintings', '2012-09-18 08:40:46.346000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 50 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-18 08:40:46.368000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 50, '2012-09-18 08:40:46.368000')  (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-18 08:40:46.392000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 50, '2012-09-18 08:40:46.392000')  (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-18 08:40:46.405000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 50, '2012-09-18 08:40:46.405000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:46.823000', 'Paintings', '2012-09-18 08:40:46.823000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 51 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-18 08:40:46.838000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 51, '2012-09-18 08:40:46.838000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:40:46.850000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 51, '2012-09-18 08:40:46.850000')  (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-18 08:40:46.869000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 51, '2012-09-18 08:40:46.869000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 51 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 51 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 51 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:47.020000', 'Paintings', '2012-09-18 08:40:47.020000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 52 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-18 08:40:47.078000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 52, '2012-09-18 08:40:47.078000')  (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-18 08:40:47.108000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 52, '2012-09-18 08:40:47.108000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 103, "updated_at" = '2012-09-18 08:40:47.142000' WHERE "spree_taxons"."id" = 104 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 103 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 104 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 104 THEN 103 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 103 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 104 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 103 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:47.235000', 'Paintings', '2012-09-18 08:40:47.235000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 53 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-18 08:40:47.261000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 53, '2012-09-18 08:40:47.261000')  (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-18 08:40:47.308000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 53, '2012-09-18 08:40:47.308000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 105, "updated_at" = '2012-09-18 08:40:47.317000' WHERE "spree_taxons"."id" = 106 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 105 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 106 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 105 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 106 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 105 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:40:47.408000', 'Paintings', '2012-09-18 08:40:47.408000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 54 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-18 08:40:47.443000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 54, '2012-09-18 08:40:47.443000')  (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-18 08:40:47.500000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 54, '2012-09-18 08:40:47.500000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 107, "updated_at" = '2012-09-18 08:40:47.517000' WHERE "spree_taxons"."id" = 108 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 107 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 108 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 108 THEN 107 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 107 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 108 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 107 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (19.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (17.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (21.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:23.444000', 'Paintings', '2012-09-18 08:49:23.444000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 55 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-18 08:49:23.848000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 55, '2012-09-18 08:49:23.848000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:23.956000', 'Paintings', '2012-09-18 08:49:23.956000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 56 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-18 08:49:23.978000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 56, '2012-09-18 08:49:23.978000') SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:24.061000', 'Paintings', '2012-09-18 08:49:24.061000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 57 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-18 08:49:24.079000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 57, '2012-09-18 08:49:24.079000') Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (21.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 08:49:25.198000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:25.198000') Spree::Product Load (1.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-18 08:49:25.229000' 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 (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 1, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.235000' WHERE "spree_products"."id" = 1  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.250000' 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1) LIMIT 1 Spree::OptionType Load (0.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-18 08:49:25.373000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:25.373000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 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-18 08:49:25.459000', 1, 1, 1, '2012-09-18 08:49:25.459000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 1) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 08:49:25.472000' WHERE "spree_products"."id" = 1  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.481000' WHERE "spree_products"."id" = 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 1 Row 1 succesfully SAVED : ID 1 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 08:49:25.523000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:25.523000') 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-18 08:49:25.536000' 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 (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 2, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.542000' WHERE "spree_products"."id" = 2  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 2 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.549000' 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::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 (0.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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 2 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 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 (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:25.630000', 1, 1, 2, '2012-09-18 08:49:25.630000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 2) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 08:49:25.645000' WHERE "spree_products"."id" = 2  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 2 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.659000' WHERE "spree_products"."id" = 2 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 2 Row 2 succesfully SAVED : ID 2 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 08:49:25.677000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:49:25.677000') 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-18 08:49:25.699000' WHERE "spree_products"."id" = 3 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, 3, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.703000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 3 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.713000' 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 (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 3 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.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::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::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" != 3) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 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-18 08:49:25.759000', 1, 1, 3, '2012-09-18 08:49:25.759000') 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-18 08:49:25.763000', 'print_type', 0, 'Print type', '2012-09-18 08:49:25.763000') 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-18 08:49:25.777000', 2, 2, 3, '2012-09-18 08:49:25.777000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 3) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 08:49:25.806000' WHERE "spree_products"."id" = 3  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 3 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:25.812000' WHERE "spree_products"."id" = 3 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 3 Row 3 succesfully SAVED : ID 3 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 08:49:25.882000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 08:49:25.883000')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 1 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 1 ORDER BY spree_option_types.position  (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) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 08:49:26.856000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:26.856000') 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-18 08:49:26.874000' 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 (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 4, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:26.878000' WHERE "spree_products"."id" = 4  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 4 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:26.885000' 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::InventoryUnit Load (0.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" = 'simple-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 (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:49:26.938000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:26.938000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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-18 08:49:26.956000', 3, 1, 4, '2012-09-18 08:49:26.956000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 4) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 08:49:26.962000' WHERE "spree_products"."id" = 4  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 4 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:26.974000' WHERE "spree_products"."id" = 4 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 4 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 08:49:27.028000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:27.028000') Spree::Product Load (1.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-18 08:49:27.060000' 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 (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 5, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.067000' WHERE "spree_products"."id" = 5  (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-18 08:49:27.071000' 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 (1.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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 5 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 5) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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-18 08:49:27.111000', 3, 1, 5, '2012-09-18 08:49:27.111000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 5) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 08:49:27.120000' WHERE "spree_products"."id" = 5  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 5 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.153000' WHERE "spree_products"."id" = 5 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 5 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 08:49:27.210000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:49:27.210000') 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-18 08:49:27.219000' 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, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.223000' WHERE "spree_products"."id" = 6  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 6 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.264000' 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  (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::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::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 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-18 08:49:27.340000', 3, 1, 6, '2012-09-18 08:49:27.340000') 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-18 08:49:27.346000', 'print_type', 0, 'Print type', '2012-09-18 08:49:27.346000') 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" = 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-18 08:49:27.359000', 4, 2, 6, '2012-09-18 08:49:27.359000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 6) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 08:49:27.399000' WHERE "spree_products"."id" = 6  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 6 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.412000' WHERE "spree_products"."id" = 6 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 6  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 08:49:27.454000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 08:49:27.456000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 4 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 4 ORDER BY spree_option_types.position  (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) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (20.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 09:49:27.000000', 0, '2012-09-18 08:49:27.932000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:27.932000') 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-18 08:49:27.939000' 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 (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 7, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.944000' WHERE "spree_products"."id" = 7  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 7 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:27.949000' 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 (0.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  (1.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::OptionType Load (0.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-18 08:49:27.972000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:27.972000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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 (1.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 (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:28.016000', 5, 1, 7, '2012-09-18 08:49:28.016000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 7) LIMIT 1 Row 1 succesfully SAVED : ID 7 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 09:49:27.000000', 0, '2012-09-18 08:49:28.085000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:28.085000') 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-18 08:49:28.101000' 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 (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 8, 'SPEC_SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.104000' WHERE "spree_products"."id" = 8  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 8 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.112000' 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 8 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" = 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-18 08:49:28.128000', 5, 1, 8, '2012-09-18 08:49:28.128000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 8) LIMIT 1 Row 2 succesfully SAVED : ID 8 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 09:49:27.000000', 0, '2012-09-18 08:49:28.168000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:49:28.168000') 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-18 08:49:28.173000' 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 (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 9, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.177000' WHERE "spree_products"."id" = 9  (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-18 08:49:28.181000' 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 (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 9  (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::OptionType Load (0.0ms) SELECT "spree_option_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 (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:28.209000', 5, 1, 9, '2012-09-18 08:49:28.209000') 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-18 08:49:28.214000', 'print_type', 0, 'Print type', '2012-09-18 08:49:28.214000') 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 (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:28.224000', 6, 2, 9, '2012-09-18 08:49:28.224000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 9) LIMIT 1 Row 3 succesfully SAVED : ID 9 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 7 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (19.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:49:28.428000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:28.428000') 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-18 08:49:28.436000' 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 (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 10, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.440000' WHERE "spree_products"."id" = 10  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 10 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.465000' 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 (1.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::OptionType Load (0.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-18 08:49:28.474000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:28.474000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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-18 08:49:28.515000', 7, 1, 10, '2012-09-18 08:49:28.515000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 10) LIMIT 1 Row 1 succesfully SAVED : ID 10 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:49:28.541000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:28.541000') 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-18 08:49:28.550000' 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 (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 11, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.556000' WHERE "spree_products"."id" = 11  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 11 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.582000' 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 (0.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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 11 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" = 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-18 08:49:28.599000', 7, 1, 11, '2012-09-18 08:49:28.599000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 11) LIMIT 1 Row 2 succesfully SAVED : ID 11 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:49:28.626000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:49:28.626000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 12 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.681000' WHERE "spree_products"."id" = 12 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 12, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.685000' WHERE "spree_products"."id" = 12  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 12 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.690000' WHERE "spree_products"."id" = 12  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 12  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 12 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 12 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" = 12) ORDER BY position 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-18 08:49:28.706000', 7, 1, 12, '2012-09-18 08:49:28.706000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:49:28.710000', 'print_type', 0, 'Print type', '2012-09-18 08:49:28.710000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:28.720000', 8, 2, 12, '2012-09-18 08:49:28.720000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 12) LIMIT 1 Row 3 succesfully SAVED : ID 12 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 10 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (2.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:28.886000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:49:28.886000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 08:49:28.920000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:28.920000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (17.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.925000' WHERE "spree_products"."id" = 13 SQL (0.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, 13, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.945000' WHERE "spree_products"."id" = 13  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 13 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:28.954000' WHERE "spree_products"."id" = 13  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 13  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:28.994000', NULL, 13, '2012-09-18 08:49:28.994000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 13, "updated_at" = '2012-09-18 08:49:29.002000' 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" != 13) 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-18 08:49:29.013000', 'Paintings', '2012-09-18 08:49:29.013000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 58 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-18 08:49:29.030000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 58, '2012-09-18 08:49:29.030000') 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" = 13 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 112) 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-18 08:49:29.044000', 'WaterColour', '2012-09-18 08:49:29.044000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 59 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-18 08:49:29.056000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 59, '2012-09-18 08:49:29.056000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (13, 113) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) 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" != 13) LIMIT 1 Spree::OptionType Load (0.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-18 08:49:29.095000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:29.095000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 13 AND "spree_option_types"."id" = 9 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 13) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:29.104000', 9, 1, 13, '2012-09-18 08:49:29.104000') 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" = 9 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER 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-18 08:49:29.140000', 'jpeg', 9, 1, NULL, '2012-09-18 08:49:29.140000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.152000' WHERE "spree_products"."id" = 13 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, 13, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.156000' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (14, 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" = 9 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER 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-18 08:49:29.167000', 'PDF', 9, 2, NULL, '2012-09-18 08:49:29.167000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.177000' WHERE "spree_products"."id" = 13 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 13, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.180000' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (15, 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" = 9 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 9) ORDER 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-18 08:49:29.185000', 'PNG', 9, 3, NULL, '2012-09-18 08:49:29.185000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.200000' WHERE "spree_products"."id" = 13 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 13, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.208000' WHERE "spree_products"."id" = 13  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (16, 3) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 14 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 15 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 16 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.266000' WHERE "spree_products"."id" = 13  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 14 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.268000' WHERE "spree_products"."id" = 13 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.271000' WHERE "spree_products"."id" = 13  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 15 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.276000' WHERE "spree_products"."id" = 13 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 13 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.279000' WHERE "spree_products"."id" = 13  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 16 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.281000' WHERE "spree_products"."id" = 13 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 13) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 13 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:49:29.291000' WHERE "spree_products"."id" = 13 Row 1 succesfully SAVED : ID 13 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.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-18 08:49:29.341000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:29.341000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.345000' WHERE "spree_products"."id" = 14 SQL (0.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, 14, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.350000' WHERE "spree_products"."id" = 14  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 17 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.353000' WHERE "spree_products"."id" = 14  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 14  (0.0ms) 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.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-18 08:49:29.362000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:49:29.362000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:29.365000', NULL, 14, '2012-09-18 08:49:29.365000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 14, "updated_at" = '2012-09-18 08:49:29.368000' 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" != 14) 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" = 58 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" = 14 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 112) 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-18 08:49:29.386000', 'Oils', '2012-09-18 08:49:29.386000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 60 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-18 08:49:29.391000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 60, '2012-09-18 08:49:29.391000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 114) 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" = 58 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 112 AND "spree_taxons"."taxonomy_id" = 58 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" = 112 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-18 08:49:29.403000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 112, 'paintings/nature', 0, 8, 58, '2012-09-18 08:49:29.403000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 112 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 115 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 = 115 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" = 112 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 115 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 115 AND "spree_taxons"."taxonomy_id" = 58 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" = 115 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:49:29.422000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 115, 'paintings/nature/seascape', 0, 10, 58, '2012-09-18 08:49:29.422000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 115 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 116 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 = 116 THEN 115 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 115 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 116 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 115)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (14, 116) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 14 AND "spree_option_types"."id" = 9 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" = 14) 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-18 08:49:29.445000', 9, 1, 14, '2012-09-18 08:49:29.445000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.454000' WHERE "spree_products"."id" = 14 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, 14, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.460000' WHERE "spree_products"."id" = 14  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (18, 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" = 9 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.471000' WHERE "spree_products"."id" = 14 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, 14, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.473000' WHERE "spree_products"."id" = 14  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (19, 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" = 9 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.484000' WHERE "spree_products"."id" = 14 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, 14, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.486000' WHERE "spree_products"."id" = 14  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (20, 3) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 14 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" != 14) 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" != 14) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 18 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 19 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 20 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.518000' WHERE "spree_products"."id" = 14  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 18 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.521000' WHERE "spree_products"."id" = 14 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.523000' WHERE "spree_products"."id" = 14  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 19 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.525000' WHERE "spree_products"."id" = 14 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 14 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.528000' WHERE "spree_products"."id" = 14  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 20 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.529000' WHERE "spree_products"."id" = 14 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 14) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:49:29.540000' WHERE "spree_products"."id" = 14 Row 2 succesfully SAVED : ID 14 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 08:49:29.558000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:49:29.558000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.565000' WHERE "spree_products"."id" = 15 SQL (0.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, 15, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.568000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 21 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.571000' WHERE "spree_products"."id" = 15  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 15  (0.0ms) 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.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-18 08:49:29.579000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:49:29.579000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:29.584000', NULL, 15, '2012-09-18 08:49:29.584000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-09-18 08:49:29.587000' WHERE "spree_product_properties"."id" = 3 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:29.590000', NULL, 14, '2012-09-18 08:49:29.590000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-09-18 08:49:29.592000' 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-18 08:49:29.599000', 'yet_another_property', 'Yet another property', '2012-09-18 08:49:29.599000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:29.602000', NULL, 16, '2012-09-18 08:49:29.602000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 15, "updated_at" = '2012-09-18 08:49:29.604000' 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" != 15) 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-18 08:49:29.614000', 'Drawings', '2012-09-18 08:49:29.614000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 61 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-18 08:49:29.619000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 61, '2012-09-18 08:49:29.619000') 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" = 15 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 117) 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" = 58 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" = 112 AND "spree_taxons"."taxonomy_id" = 58 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" = 112 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-18 08:49:29.635000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 112, 'paintings/landscape', 0, 14, 58, '2012-09-18 08:49:29.635000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 112 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 118 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 = 118 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" = 112 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 118 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 118)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (15, 112) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) 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" != 15) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 15 AND "spree_option_types"."id" = 9 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" = 15) ORDER BY position 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-18 08:49:29.661000', 9, 1, 15, '2012-09-18 08:49:29.661000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 9 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.667000' WHERE "spree_products"."id" = 15 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 15, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.670000' WHERE "spree_products"."id" = 15  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (22, 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" = 9 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.696000' WHERE "spree_products"."id" = 15 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 15, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.702000' WHERE "spree_products"."id" = 15  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (23, 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" = 9 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.707000' WHERE "spree_products"."id" = 15 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 15, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.709000' WHERE "spree_products"."id" = 15  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (24, 3) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 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-18 08:49:29.716000', 'print_type', 0, 'Print type', '2012-09-18 08:49:29.716000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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 (1.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:29.727000', 10, 2, 15, '2012-09-18 08:49:29.727000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 10 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 10) ORDER 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-18 08:49:29.731000', 'black_white', 10, 1, NULL, '2012-09-18 08:49:29.731000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.738000' WHERE "spree_products"."id" = 15 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 15, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.758000' WHERE "spree_products"."id" = 15  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (25, 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" = 10 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 10) ORDER 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-18 08:49:29.763000', 'colour', 10, 2, NULL, '2012-09-18 08:49:29.763000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.769000' WHERE "spree_products"."id" = 15 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 15, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.774000' WHERE "spree_products"."id" = 15  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (26, 5) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 15 AND ("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" != 15) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 22 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 23 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 24 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.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::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.812000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 22 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.815000' WHERE "spree_products"."id" = 15 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.817000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 23 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.819000' WHERE "spree_products"."id" = 15 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.821000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 24 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.823000' WHERE "spree_products"."id" = 15 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.826000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 25 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.828000' WHERE "spree_products"."id" = 15 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 15 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.830000' WHERE "spree_products"."id" = 15  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 26 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:29.832000' WHERE "spree_products"."id" = 15 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 15) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:49:29.863000' WHERE "spree_products"."id" = 15 Row 3 succesfully SAVED : ID 15 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 13 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 15 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 15 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:30.022000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:49:30.022000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 08:49:30.082000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:30.082000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.089000' WHERE "spree_products"."id" = 16 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, 16, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.092000' WHERE "spree_products"."id" = 16  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 27 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.095000' WHERE "spree_products"."id" = 16  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 16  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:30.103000', NULL, 17, '2012-09-18 08:49:30.103000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 16, "updated_at" = '2012-09-18 08:49:30.106000' 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" != 16) 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" != 16) 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" != 16) 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-18 08:49:30.117000', 'Paintings', '2012-09-18 08:49:30.117000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 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-18 08:49:30.123000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 62, '2012-09-18 08:49:30.123000') 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" = 16 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (16, 119) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:30.151000', 'WaterColour', '2012-09-18 08:49:30.151000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 63 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-18 08:49:30.157000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 63, '2012-09-18 08:49:30.157000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (16, 120) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) 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" != 16) LIMIT 1 Spree::OptionType Load (0.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-18 08:49:30.168000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:30.168000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:30.176000', 11, 1, 16, '2012-09-18 08:49:30.176000') 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" = 11 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) 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-18 08:49:30.182000', 'jpeg', 11, 1, NULL, '2012-09-18 08:49:30.182000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.189000' WHERE "spree_products"."id" = 16 SQL (17.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 16, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.209000' WHERE "spree_products"."id" = 16  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (28, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("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" != 16) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) ORDER 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-18 08:49:30.228000', 'PDF', 11, 2, NULL, '2012-09-18 08:49:30.228000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.235000' WHERE "spree_products"."id" = 16 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 16, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.238000' WHERE "spree_products"."id" = 16  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (29, 7) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("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" != 16) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 16 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 11) ORDER 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-18 08:49:30.250000', 'PNG', 11, 3, NULL, '2012-09-18 08:49:30.250000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.257000' WHERE "spree_products"."id" = 16 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 16, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.259000' WHERE "spree_products"."id" = 16  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (30, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 AND ("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" != 16) 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" != 16) 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" != 16) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 16 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" = 16 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" = 16 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" = 28 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 29 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 30 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.325000' WHERE "spree_products"."id" = 16  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 28 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.327000' WHERE "spree_products"."id" = 16 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.329000' WHERE "spree_products"."id" = 16  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 29 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.334000' WHERE "spree_products"."id" = 16 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 16 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.336000' WHERE "spree_products"."id" = 16  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 30 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.337000' WHERE "spree_products"."id" = 16 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 16) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:49:30.341000' WHERE "spree_products"."id" = 16 Row 1 succesfully SAVED : ID 16 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 08:49:30.352000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:30.352000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.372000' WHERE "spree_products"."id" = 17 SQL (0.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, 17, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.375000' WHERE "spree_products"."id" = 17  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 31 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.378000' WHERE "spree_products"."id" = 17  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 17  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:30.389000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:49:30.389000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:30.392000', NULL, 18, '2012-09-18 08:49:30.392000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 17, "updated_at" = '2012-09-18 08:49:30.394000' WHERE "spree_product_properties"."id" = 7 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" != 17) 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" != 17) 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" != 17) 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" = 62 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" = 17 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 119) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::Taxonomy Load (0.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-18 08:49:30.416000', 'Oils', '2012-09-18 08:49:30.416000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 64 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-18 08:49:30.421000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 64, '2012-09-18 08:49:30.421000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 121) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 62 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" = 119 AND "spree_taxons"."taxonomy_id" = 62 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" = 119 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-18 08:49:30.439000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 119, 'paintings/nature', 0, 8, 62, '2012-09-18 08:49:30.439000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 119 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 122 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 = 122 THEN 119 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 119 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 122 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 122 AND "spree_taxons"."taxonomy_id" = 62 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" = 122 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:49:30.455000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 122, 'paintings/nature/seascape', 0, 10, 62, '2012-09-18 08:49:30.455000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 122 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 123 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 = 123 THEN 122 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 122 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 123 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 122)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (17, 123) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 17 AND "spree_option_types"."id" = 11 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" = 17) ORDER BY position 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-18 08:49:30.487000', 11, 1, 17, '2012-09-18 08:49:30.487000') 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" = 11 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.494000' WHERE "spree_products"."id" = 17 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 17, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.497000' WHERE "spree_products"."id" = 17  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (32, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 AND ("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" != 17) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 17 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.521000' WHERE "spree_products"."id" = 17 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 17, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.523000' WHERE "spree_products"."id" = 17  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (33, 7) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 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" != 17) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 17 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.543000' WHERE "spree_products"."id" = 17 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 17, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.550000' WHERE "spree_products"."id" = 17  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (34, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 17 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" != 17) 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" != 17) 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" != 17) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 32 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 33 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 34 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.575000' WHERE "spree_products"."id" = 17  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 32 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.577000' WHERE "spree_products"."id" = 17 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.581000' WHERE "spree_products"."id" = 17  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 33 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.582000' WHERE "spree_products"."id" = 17 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 17 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.584000' WHERE "spree_products"."id" = 17  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 34 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.586000' WHERE "spree_products"."id" = 17 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 17) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:49:30.591000' WHERE "spree_products"."id" = 17 Row 2 succesfully SAVED : ID 17 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.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-18 08:49:30.614000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:49:30.614000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.621000' WHERE "spree_products"."id" = 18 SQL (0.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, 18, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.624000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 35 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.626000' WHERE "spree_products"."id" = 18  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 18  (0.0ms) 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.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-18 08:49:30.636000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:49:30.636000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:30.643000', NULL, 19, '2012-09-18 08:49:30.643000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-09-18 08:49:30.645000' WHERE "spree_product_properties"."id" = 8 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" != 18) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:30.652000', NULL, 18, '2012-09-18 08:49:30.652000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-09-18 08:49:30.656000' WHERE "spree_product_properties"."id" = 9 Created New ProductProperty # Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:30.661000', 'yet_another_property', 'Yet another property', '2012-09-18 08:49:30.661000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:30.664000', NULL, 20, '2012-09-18 08:49:30.664000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 18, "updated_at" = '2012-09-18 08:49:30.666000' 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" != 18) LIMIT 1 Spree::Taxonomy Load (3.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:30.674000', 'Drawings', '2012-09-18 08:49:30.674000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 65 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-18 08:49:30.680000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 65, '2012-09-18 08:49:30.680000') 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" = 18 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 124) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1 Spree::Taxonomy Load (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" = 62 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" = 119 AND "spree_taxons"."taxonomy_id" = 62 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" = 119 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-18 08:49:30.698000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 119, 'paintings/landscape', 0, 14, 62, '2012-09-18 08:49:30.698000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 119 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 125 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 = 125 THEN 119 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 119 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 125 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 125)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (18, 119) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) 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" != 18) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 11 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" = 18) 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-18 08:49:30.719000', 11, 1, 18, '2012-09-18 08:49:30.719000') 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" = 11 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.740000' WHERE "spree_products"."id" = 18 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 18, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.744000' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (36, 6) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 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" != 18) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 18 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.769000' WHERE "spree_products"."id" = 18 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 18, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.772000' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (37, 7) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("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" != 18) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 18 AND "spree_option_types"."id" = 11 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 11 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.787000' WHERE "spree_products"."id" = 18 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 18, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.790000' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (38, 8) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("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" != 18) 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-18 08:49:30.804000', 'print_type', 0, 'Print type', '2012-09-18 08:49:30.804000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 12 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" = 18) ORDER BY position 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-18 08:49:30.811000', 12, 2, 18, '2012-09-18 08:49:30.811000') 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" = 12 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 12) ORDER 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-18 08:49:30.816000', 'black_white', 12, 1, NULL, '2012-09-18 08:49:30.816000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.822000' WHERE "spree_products"."id" = 18 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 18, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.846000' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (39, 9) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 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" != 18) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 18 AND "spree_option_types"."id" = 12 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 12 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 12) ORDER 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-18 08:49:30.856000', 'colour', 12, 2, NULL, '2012-09-18 08:49:30.856000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.862000' WHERE "spree_products"."id" = 18 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, 18, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.866000' WHERE "spree_products"."id" = 18  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (40, 10) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 AND ("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" != 18) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 18 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" = 18 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" = 18 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" = 36 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 37 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.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 (0.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 (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 40 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.902000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 36 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.904000' WHERE "spree_products"."id" = 18 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.906000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 37 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.911000' WHERE "spree_products"."id" = 18 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.913000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 38 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.915000' WHERE "spree_products"."id" = 18 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.917000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 39 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.923000' WHERE "spree_products"."id" = 18 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 18 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.926000' WHERE "spree_products"."id" = 18  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 40 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:30.927000' WHERE "spree_products"."id" = 18 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 18) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:49:30.932000' WHERE "spree_products"."id" = 18 Row 3 succesfully SAVED : ID 18 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (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  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (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"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 16 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 18 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 18 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (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  (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 (NULL, 0, '2012-09-18 08:49:31.953000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:31.953000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:31.957000' WHERE "spree_products"."id" = 19 SQL (0.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, 19, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:31.959000' WHERE "spree_products"."id" = 19  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 41 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:31.987000' WHERE "spree_products"."id" = 19  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 19  (0.0ms) 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.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-18 08:49:31.998000', 'test_pp_001', 'Test pp 001', '2012-09-18 08:49:31.998000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:32.001000', NULL, 21, '2012-09-18 08:49:32.001000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 19, "updated_at" = '2012-09-18 08:49:32.006000' 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" != 19) 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-18 08:49:32.012000', 'Paintings', '2012-09-18 08:49:32.012000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 66 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-18 08:49:32.019000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 66, '2012-09-18 08:49:32.019000') 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" = 19 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 126) 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-18 08:49:32.029000', 'WaterColour', '2012-09-18 08:49:32.029000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 67 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-18 08:49:32.034000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 67, '2012-09-18 08:49:32.034000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (19, 127) 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" != 19) LIMIT 1 Spree::OptionType Load (0.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-18 08:49:32.044000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:32.044000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 19 AND "spree_option_types"."id" = 13 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:32.056000', 13, 1, 19, '2012-09-18 08:49:32.056000') 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" = 13 LIMIT 1 Spree::OptionValue Load (17.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) ORDER 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-18 08:49:32.085000', 'jpeg', 13, 1, NULL, '2012-09-18 08:49:32.085000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.091000' WHERE "spree_products"."id" = 19 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 19, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.096000' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (42, 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" = 13 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) 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-18 08:49:32.101000', 'PDF', 13, 2, NULL, '2012-09-18 08:49:32.101000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.104000' WHERE "spree_products"."id" = 19 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 19, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.108000' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (43, 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" = 13 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 13) 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-18 08:49:32.112000', 'PNG', 13, 3, NULL, '2012-09-18 08:49:32.112000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.127000' WHERE "spree_products"."id" = 19 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 19, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.130000' WHERE "spree_products"."id" = 19  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (44, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 AND ("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" != 19) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 42 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 43 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 44 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (4.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 19) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.185000' WHERE "spree_products"."id" = 19  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 42 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.186000' WHERE "spree_products"."id" = 19 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.188000' WHERE "spree_products"."id" = 19  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 43 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.189000' WHERE "spree_products"."id" = 19 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.191000' WHERE "spree_products"."id" = 19  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 44 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:32.195000' WHERE "spree_products"."id" = 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" != 19) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 19 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" = 41 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 41 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 08:49:32.273000', 240, 0, 'Spree::Image', 41, 'Spree::Variant') Product assigned an Image : nil 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" != 19) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:49:33.018000' WHERE "spree_products"."id" = 19 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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-18 08:49:33.051000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:33.051000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.056000' WHERE "spree_products"."id" = 20 SQL (0.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, 20, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.059000' WHERE "spree_products"."id" = 20  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 45 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.062000' WHERE "spree_products"."id" = 20  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 20  (5.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:33.077000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:49:33.077000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:33.080000', NULL, 22, '2012-09-18 08:49:33.080000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 20, "updated_at" = '2012-09-18 08:49:33.083000' 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" != 20) 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" = 66 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" = 20 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 126) 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-18 08:49:33.092000', 'Landscape', '2012-09-18 08:49:33.092000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 68 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-18 08:49:33.098000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 68, '2012-09-18 08:49:33.098000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 128) 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-18 08:49:33.135000', 'Oils', '2012-09-18 08:49:33.135000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 69 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-18 08:49:33.158000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 69, '2012-09-18 08:49:33.158000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (20, 129) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 20 AND "spree_option_types"."id" = 13 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" = 20) ORDER BY position 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-18 08:49:33.179000', 13, 1, 20, '2012-09-18 08:49:33.179000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 13 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.186000' WHERE "spree_products"."id" = 20 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 20, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.192000' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (46, 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" = 13 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.197000' WHERE "spree_products"."id" = 20 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 20, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.201000' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (47, 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" = 13 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.210000' WHERE "spree_products"."id" = 20 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 20, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.213000' WHERE "spree_products"."id" = 20  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (48, 13) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("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" != 20) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (3.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 46 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 47 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 48 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.250000' WHERE "spree_products"."id" = 20  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 46 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.252000' WHERE "spree_products"."id" = 20 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.254000' WHERE "spree_products"."id" = 20  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 47 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.258000' WHERE "spree_products"."id" = 20 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.260000' WHERE "spree_products"."id" = 20  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 48 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:33.262000' WHERE "spree_products"."id" = 20 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 20) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 20 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" = 45 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 45 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 08:49:33.343000', 2424, 0, 'Spree::Image', 45, 'Spree::Variant') Product assigned an Image : nil 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" != 20) LIMIT 1  (1.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:49:37.100000' WHERE "spree_products"."id" = 20 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 01/07/2012 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-18 08:49:37.114000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:49:37.114000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.117000' WHERE "spree_products"."id" = 21 SQL (0.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, 21, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.122000' WHERE "spree_products"."id" = 21  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 49 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.127000' WHERE "spree_products"."id" = 21  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 21  (1.0ms) 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.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-18 08:49:37.133000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:49:37.133000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:37.135000', NULL, 23, '2012-09-18 08:49:37.135000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-09-18 08:49:37.139000' 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-18 08:49:37.142000', NULL, 22, '2012-09-18 08:49:37.142000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-09-18 08:49:37.145000' WHERE "spree_product_properties"."id" = 14 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-18 08:49:37.153000', 'yet_another_property', 'Yet another property', '2012-09-18 08:49:37.153000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:37.155000', NULL, 24, '2012-09-18 08:49:37.155000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 21, "updated_at" = '2012-09-18 08:49:37.158000' 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" != 21) 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-18 08:49:37.163000', 'Drawings', '2012-09-18 08:49:37.163000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 70 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-18 08:49:37.167000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 70, '2012-09-18 08:49:37.167000') 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" = 21 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (21, 130) 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" != 21) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 21 AND "spree_option_types"."id" = 13 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" = 21) ORDER BY position 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-18 08:49:37.180000', 13, 1, 21, '2012-09-18 08:49:37.180000') 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" = 13 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.186000' WHERE "spree_products"."id" = 21 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 21, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.192000' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (50, 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" = 13 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.198000' WHERE "spree_products"."id" = 21 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 21, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.199000' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (51, 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" = 13 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.204000' WHERE "spree_products"."id" = 21 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 21, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.209000' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (52, 13) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 Spree::OptionType Load (3.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-18 08:49:37.216000', 'print_type', 0, 'Print type', '2012-09-18 08:49:37.216000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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.0ms) 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 (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:37.244000', 14, 2, 21, '2012-09-18 08:49:37.244000') 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" = 14 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 14) ORDER 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-18 08:49:37.248000', 'black_white', 14, 1, NULL, '2012-09-18 08:49:37.248000')  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.254000' WHERE "spree_products"."id" = 21 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 21, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.257000' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (53, 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" = 14 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 14) ORDER 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-18 08:49:37.260000', 'colour', 14, 2, NULL, '2012-09-18 08:49:37.260000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.264000' WHERE "spree_products"."id" = 21 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 21, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.266000' WHERE "spree_products"."id" = 21  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (54, 15) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 AND ("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" != 21) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 50 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 51 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.298000' WHERE "spree_products"."id" = 21  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 50 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.300000' WHERE "spree_products"."id" = 21 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.302000' WHERE "spree_products"."id" = 21  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 51 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.304000' WHERE "spree_products"."id" = 21 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.306000' WHERE "spree_products"."id" = 21  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 52 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.308000' WHERE "spree_products"."id" = 21 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.310000' WHERE "spree_products"."id" = 21  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 53 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.311000' WHERE "spree_products"."id" = 21 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.313000' WHERE "spree_products"."id" = 21  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 54 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:37.316000' WHERE "spree_products"."id" = 21 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 21) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 21 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" = 49 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 49 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 08:49:37.330000', 240, 0, 'Spree::Image', 49, 'Spree::Variant') Product assigned an Image : nil 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" != 21) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:49:37.822000' WHERE "spree_products"."id" = 21 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 19 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 = 41) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 19)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 41 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" = 19 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 = 41) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 19)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 20 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 = 45) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 20)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 21 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 = 49) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 21))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (22.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  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 08:49:38.042000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:49:38.042000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.046000' WHERE "spree_products"."id" = 22 SQL (0.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, 22, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.068000' WHERE "spree_products"."id" = 22  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 55 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.077000' WHERE "spree_products"."id" = 22  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 22  (0.0ms) 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.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-18 08:49:38.085000', 'test_pp_001', 'Test pp 001', '2012-09-18 08:49:38.085000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:38.088000', NULL, 25, '2012-09-18 08:49:38.088000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 22, "updated_at" = '2012-09-18 08:49:38.090000' 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" != 22) 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-18 08:49:38.096000', 'Paintings', '2012-09-18 08:49:38.096000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 71 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-18 08:49:38.135000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 71, '2012-09-18 08:49:38.135000') 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" = 22 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 131) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:38.141000', 'WaterColour', '2012-09-18 08:49:38.141000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 72 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-18 08:49:38.145000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 72, '2012-09-18 08:49:38.145000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (22, 132) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::OptionType Load (0.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-18 08:49:38.152000', 'mime_type', 0, 'Mime type', '2012-09-18 08:49:38.152000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 22 AND "spree_option_types"."id" = 15 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:38.158000', 15, 1, 22, '2012-09-18 08:49:38.158000') 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" = 15 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER 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-18 08:49:38.162000', 'jpeg', 15, 1, NULL, '2012-09-18 08:49:38.162000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.169000' WHERE "spree_products"."id" = 22 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, 22, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.192000' WHERE "spree_products"."id" = 22  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (56, 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" = 15 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER 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-18 08:49:38.196000', 'PDF', 15, 2, NULL, '2012-09-18 08:49:38.196000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.201000' WHERE "spree_products"."id" = 22 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 22, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.204000' WHERE "spree_products"."id" = 22  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (57, 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" = 15 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 15) ORDER 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-18 08:49:38.221000', 'PNG', 15, 3, NULL, '2012-09-18 08:49:38.221000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.227000' WHERE "spree_products"."id" = 22 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, 22, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.229000' WHERE "spree_products"."id" = 22  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (58, 18) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 22 AND ("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" != 22) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.258000' WHERE "spree_products"."id" = 22  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 56 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.260000' WHERE "spree_products"."id" = 22 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.262000' WHERE "spree_products"."id" = 22  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 57 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.263000' WHERE "spree_products"."id" = 22 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.265000' WHERE "spree_products"."id" = 22  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 58 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.269000' WHERE "spree_products"."id" = 22 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 22 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" = 55 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 55 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 08:49:38.276000', 240, 0, 'Spree::Image', 55, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 22) LIMIT 1  (1.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:49:38.741000' WHERE "spree_products"."id" = 22 Row 1 succesfully SAVED : ID 22 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 08:49:38.750000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:49:38.750000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.754000' WHERE "spree_products"."id" = 23 SQL (0.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, 23, 'DEMO_002', NULL, NULL) SQL (24.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.756000' WHERE "spree_products"."id" = 23  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 59 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.784000' WHERE "spree_products"."id" = 23  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 23  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::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-18 08:49:38.791000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:49:38.791000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:38.800000', NULL, 26, '2012-09-18 08:49:38.800000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 23, "updated_at" = '2012-09-18 08:49:38.803000' 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" != 23) 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" = 71 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" = 23 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 131) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:38.817000', 'Landscape', '2012-09-18 08:49:38.817000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 73 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-18 08:49:38.822000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 73, '2012-09-18 08:49:38.822000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 133) 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-18 08:49:38.832000', 'Oils', '2012-09-18 08:49:38.832000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 74 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-18 08:49:38.839000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 74, '2012-09-18 08:49:38.839000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (23, 134) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 23 AND "spree_option_types"."id" = 15 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" = 23) ORDER BY position 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-18 08:49:38.889000', 15, 1, 23, '2012-09-18 08:49:38.889000') 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" = 15 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.902000' WHERE "spree_products"."id" = 23 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 23, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.904000' WHERE "spree_products"."id" = 23  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (60, 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" = 15 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.909000' WHERE "spree_products"."id" = 23 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 23, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.911000' WHERE "spree_products"."id" = 23  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (61, 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" = 15 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.918000' WHERE "spree_products"."id" = 23 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 23, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.920000' WHERE "spree_products"."id" = 23  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (62, 18) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("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" != 23) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 62 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.942000' WHERE "spree_products"."id" = 23  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 60 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.944000' WHERE "spree_products"."id" = 23 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.946000' WHERE "spree_products"."id" = 23  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 61 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.947000' WHERE "spree_products"."id" = 23 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.949000' WHERE "spree_products"."id" = 23  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 62 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:38.950000' WHERE "spree_products"."id" = 23 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 23 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" = 59 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 59 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 08:49:39.000000', 2424, 0, 'Spree::Image', 59, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 23) LIMIT 1  (3.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:49:42.730000' WHERE "spree_products"."id" = 23 Row 2 succesfully SAVED : ID 23 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 08:49:42.762000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:49:42.762000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.767000' WHERE "spree_products"."id" = 24 SQL (0.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, 24, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.769000' WHERE "spree_products"."id" = 24  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 63 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.772000' WHERE "spree_products"."id" = 24  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 24  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::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-18 08:49:42.780000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:49:42.780000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:42.785000', NULL, 27, '2012-09-18 08:49:42.785000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-09-18 08:49:42.787000' WHERE "spree_product_properties"."id" = 18 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-18 08:49:42.790000', NULL, 26, '2012-09-18 08:49:42.790000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-09-18 08:49:42.793000' WHERE "spree_product_properties"."id" = 19 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:49:42.796000', 'yet_another_property', 'Yet another property', '2012-09-18 08:49:42.796000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:49:42.801000', NULL, 28, '2012-09-18 08:49:42.801000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 24, "updated_at" = '2012-09-18 08:49:42.805000' WHERE "spree_product_properties"."id" = 20 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) 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-18 08:49:42.810000', 'Drawings', '2012-09-18 08:49:42.810000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 75 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:49:42.814000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 75, '2012-09-18 08:49:42.814000') 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" = 24 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (24, 135) 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" != 24) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 15 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" = 24) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:42.827000', 15, 1, 24, '2012-09-18 08:49:42.827000') 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" = 15 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.832000' WHERE "spree_products"."id" = 24 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, 24, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.834000' WHERE "spree_products"."id" = 24  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (64, 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" = 15 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.838000' WHERE "spree_products"."id" = 24 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 24, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.840000' WHERE "spree_products"."id" = 24  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (65, 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" = 15 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.847000' WHERE "spree_products"."id" = 24 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, 24, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.849000' WHERE "spree_products"."id" = 24  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (66, 18) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 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-18 08:49:42.853000', 'print_type', 0, 'Print type', '2012-09-18 08:49:42.853000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 24 AND "spree_option_types"."id" = 16 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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 (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:49:42.861000', 16, 2, 24, '2012-09-18 08:49:42.861000') 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" = 16 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 16) ORDER 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-18 08:49:42.864000', 'black_white', 16, 1, NULL, '2012-09-18 08:49:42.864000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.870000' WHERE "spree_products"."id" = 24 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, 24, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.872000' WHERE "spree_products"."id" = 24  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (67, 19) 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" = 16 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 16) ORDER 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-18 08:49:42.876000', 'colour', 16, 2, NULL, '2012-09-18 08:49:42.876000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.880000' WHERE "spree_products"."id" = 24 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, 24, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.882000' WHERE "spree_products"."id" = 24  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (68, 20) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("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" != 24) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 64 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 65 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.929000' WHERE "spree_products"."id" = 24  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 64 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.931000' WHERE "spree_products"."id" = 24 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.933000' WHERE "spree_products"."id" = 24  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 65 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.935000' WHERE "spree_products"."id" = 24 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.936000' WHERE "spree_products"."id" = 24  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 66 SQL (4.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.937000' WHERE "spree_products"."id" = 24 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.943000' WHERE "spree_products"."id" = 24  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 67 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.945000' WHERE "spree_products"."id" = 24 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.946000' WHERE "spree_products"."id" = 24  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 68 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:49:42.948000' WHERE "spree_products"."id" = 24 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 24 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" = 63 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 63 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 08:49:42.961000', 240, 0, 'Spree::Image', 63, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 24) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:49:43.519000' WHERE "spree_products"."id" = 24 Row 3 succesfully SAVED : ID 24 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (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" = 22 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 = 55) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 22)) 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" = 22 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 = 55) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 22)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 23 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 = 59) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 23)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 24 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 = 63) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 24))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_products" SQL (22.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:43.768000', 'Paintings', '2012-09-18 08:49:43.768000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 76 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-18 08:49:43.775000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 76, '2012-09-18 08:49:43.775000')  (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-18 08:49:43.795000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 76, '2012-09-18 08:49:43.795000')  (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-18 08:49:43.805000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 76, '2012-09-18 08:49:43.805000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (4.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:43.901000', 'Paintings', '2012-09-18 08:49:43.901000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 77 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-18 08:49:43.934000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 77, '2012-09-18 08:49:43.934000')  (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-18 08:49:43.948000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 77, '2012-09-18 08:49:43.948000')  (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-18 08:49:43.955000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 77, '2012-09-18 08:49:43.955000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 77 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 77 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 77 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:44.080000', 'Paintings', '2012-09-18 08:49:44.080000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 78 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-18 08:49:44.106000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 78, '2012-09-18 08:49:44.106000')  (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-18 08:49:44.121000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 78, '2012-09-18 08:49:44.121000')  (2.0ms) UPDATE "spree_taxons" SET "parent_id" = 142, "updated_at" = '2012-09-18 08:49:44.134000' WHERE "spree_taxons"."id" = 143 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 142 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 143 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 143 THEN 142 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 142 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 143 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 142 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (18.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:44.207000', 'Paintings', '2012-09-18 08:49:44.207000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 79 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-18 08:49:44.238000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 79, '2012-09-18 08:49:44.238000')  (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-18 08:49:44.248000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 79, '2012-09-18 08:49:44.248000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 144, "updated_at" = '2012-09-18 08:49:44.253000' WHERE "spree_taxons"."id" = 145 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 144 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 145 THEN 144 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 144 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 145 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 144 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:49:44.325000', 'Paintings', '2012-09-18 08:49:44.325000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 80 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-18 08:49:44.329000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 80, '2012-09-18 08:49:44.329000')  (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-18 08:49:44.359000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 80, '2012-09-18 08:49:44.359000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 146, "updated_at" = '2012-09-18 08:49:44.365000' WHERE "spree_taxons"."id" = 147 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 146 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 147 THEN 146 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 146 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 147 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 146 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (24.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:51:55.692000', 'Paintings', '2012-09-18 08:51:55.692000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 81 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-18 08:51:55.816000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 81, '2012-09-18 08:51:55.816000') SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:51:55.924000', 'Paintings', '2012-09-18 08:51:55.924000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 82 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-18 08:51:55.962000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 82, '2012-09-18 08:51:55.962000') SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:51:56.060000', 'Paintings', '2012-09-18 08:51:56.060000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 83 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-18 08:51:56.157000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 83, '2012-09-18 08:51:56.157000') Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:57:18.961000', 'Paintings', '2012-09-18 08:57:18.961000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 84 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-18 08:57:19.083000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 84, '2012-09-18 08:57:19.083000')  (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-18 08:57:19.112000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 84, '2012-09-18 08:57:19.112000')  (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-18 08:57:19.132000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 84, '2012-09-18 08:57:19.132000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:57:19.658000', 'Paintings', '2012-09-18 08:57:19.658000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 85 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-18 08:57:19.674000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 85, '2012-09-18 08:57:19.674000')  (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-18 08:57:19.700000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 85, '2012-09-18 08:57:19.700000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:57:19.729000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 85, '2012-09-18 08:57:19.729000') ExcelGenerator creating template with associations for class Spree::Product SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:57:19.811000', 'Paintings', '2012-09-18 08:57:19.811000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 86 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-18 08:57:19.843000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 86, '2012-09-18 08:57:19.843000')  (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-18 08:57:19.861000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 86, '2012-09-18 08:57:19.861000')  (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-18 08:57:19.882000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 86, '2012-09-18 08:57:19.882000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (8.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:59:51.669000', 'Paintings', '2012-09-18 08:59:51.669000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 87 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-18 08:59:52.077000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 87, '2012-09-18 08:59:52.077000')  (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-18 08:59:52.106000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 87, '2012-09-18 08:59:52.106000')  (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-18 08:59:52.126000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 87, '2012-09-18 08:59:52.126000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (49.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:59:52.613000', 'Paintings', '2012-09-18 08:59:52.613000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 88 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-18 08:59:52.712000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 88, '2012-09-18 08:59:52.712000')  (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-18 08:59:52.739000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 88, '2012-09-18 08:59:52.739000')  (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-18 08:59:52.769000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 88, '2012-09-18 08:59:52.769000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (22.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:59:52.857000', 'Paintings', '2012-09-18 08:59:52.857000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 89 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-18 08:59:52.898000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 89, '2012-09-18 08:59:52.898000')  (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-18 08:59:52.916000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 89, '2012-09-18 08:59:52.916000')  (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-18 08:59:52.936000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 89, '2012-09-18 08:59:52.936000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (24.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (24.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 08:59:53.652000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:53.652000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 25 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:53.682000' WHERE "spree_products"."id" = 25 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 25, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:53.688000' WHERE "spree_products"."id" = 25  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 69 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:53.696000' WHERE "spree_products"."id" = 25  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 25  (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 69 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1 Spree::OptionType Load (0.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-18 08:59:53.829000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:53.829000') 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" = 25 AND "spree_option_types"."id" = 17 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" = 25) ORDER BY position 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-18 08:59:53.930000', 17, 1, 25, '2012-09-18 08:59:53.930000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 25) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 08:59:53.942000' WHERE "spree_products"."id" = 25  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 69 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:53.958000' WHERE "spree_products"."id" = 25 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 25 Row 1 succesfully SAVED : ID 25 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 08:59:53.999000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:53.999000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 26 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.018000' WHERE "spree_products"."id" = 26 SQL (0.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, 26, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.023000' WHERE "spree_products"."id" = 26  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 70 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.031000' WHERE "spree_products"."id" = 26  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 26 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 26  (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 70 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 26 AND "spree_option_types"."id" = 17 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" = 26) ORDER BY position 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-18 08:59:54.117000', 17, 1, 26, '2012-09-18 08:59:54.117000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 26) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 08:59:54.125000' WHERE "spree_products"."id" = 26  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 70 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.141000' WHERE "spree_products"."id" = 26 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 26 Row 2 succesfully SAVED : ID 26 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 08:59:54.158000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:59:54.158000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 27 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.169000' WHERE "spree_products"."id" = 27 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, 27, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.179000' WHERE "spree_products"."id" = 27  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 71 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.200000' WHERE "spree_products"."id" = 27  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 27  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 27 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 71 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" != 27) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 17 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) 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 (1.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:54.241000', 17, 1, 27, '2012-09-18 08:59:54.241000') 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-18 08:59:54.255000', 'print_type', 0, 'Print type', '2012-09-18 08:59:54.255000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 27 AND "spree_option_types"."id" = 18 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:54.275000', 18, 2, 27, '2012-09-18 08:59:54.275000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 27) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 08:59:54.325000' WHERE "spree_products"."id" = 27  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 71 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.334000' WHERE "spree_products"."id" = 27 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 27 Row 3 succesfully SAVED : ID 27 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 (10.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (3.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 08:59:54.413000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 08:59:54.416000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 25 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 25 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 08:59:54.585000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:54.585000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 28 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.643000' WHERE "spree_products"."id" = 28 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 28, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.646000' WHERE "spree_products"."id" = 28  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 72 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.656000' WHERE "spree_products"."id" = 28  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 28  (0.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1 Spree::OptionType Load (0.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-18 08:59:54.720000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:54.720000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 AND "spree_option_types"."id" = 19 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:54.773000', 19, 1, 28, '2012-09-18 08:59:54.773000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 28) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 08:59:54.781000' WHERE "spree_products"."id" = 28  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 72 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.790000' WHERE "spree_products"."id" = 28 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 28 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (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-18 08:59:54.821000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:54.821000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 29 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.845000' WHERE "spree_products"."id" = 29 SQL (0.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, 29, 'SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.854000' WHERE "spree_products"."id" = 29  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 73 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.861000' WHERE "spree_products"."id" = 29  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 29 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 29  (0.0ms) 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::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 73 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 29 AND "spree_option_types"."id" = 19 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" = 29) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:54.928000', 19, 1, 29, '2012-09-18 08:59:54.928000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 29) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 08:59:54.938000' WHERE "spree_products"."id" = 29  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 73 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:54.948000' WHERE "spree_products"."id" = 29 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 29 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 08:59:54.995000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:59:54.995000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 30 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.012000' WHERE "spree_products"."id" = 30 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, 30, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.015000' WHERE "spree_products"."id" = 30  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 74 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.039000' WHERE "spree_products"."id" = 30  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 30 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 30  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 74 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 30) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 30 AND "spree_option_types"."id" = 19 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" = 30) 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-18 08:59:55.424000', 19, 1, 30, '2012-09-18 08:59:55.424000') 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-18 08:59:55.431000', 'print_type', 0, 'Print type', '2012-09-18 08:59:55.431000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 30 AND "spree_option_types"."id" = 20 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) 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.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:55.439000', 20, 2, 30, '2012-09-18 08:59:55.439000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 30) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 08:59:55.445000' WHERE "spree_products"."id" = 30  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 74 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.478000' WHERE "spree_products"."id" = 30 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 30  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 08:59:55.517000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 08:59:55.518000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 28 ORDER BY spree_option_types.position  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 28 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (22.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-09-18 09:59:55.000000', 0, '2012-09-18 08:59:55.700000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:55.700000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 31 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.722000' WHERE "spree_products"."id" = 31 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 31, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.726000' WHERE "spree_products"."id" = 31  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 75 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.732000' WHERE "spree_products"."id" = 31  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 31  (0.0ms) 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.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-18 08:59:55.765000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:55.765000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 21 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" = 31) ORDER BY position 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-18 08:59:55.780000', 21, 1, 31, '2012-09-18 08:59:55.780000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 31) LIMIT 1 Row 1 succesfully SAVED : ID 31 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 09:59:55.000000', 0, '2012-09-18 08:59:55.867000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:55.867000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 32 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.874000' WHERE "spree_products"."id" = 32 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 32, 'SPEC_SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.878000' WHERE "spree_products"."id" = 32  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 76 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.885000' WHERE "spree_products"."id" = 32  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 32 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 32  (1.0ms) 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 (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" = 32 AND "spree_option_types"."id" = 21 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" = 32) ORDER BY position 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-18 08:59:55.908000', 21, 1, 32, '2012-09-18 08:59:55.908000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 32) LIMIT 1 Row 2 succesfully SAVED : ID 32 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 09:59:55.000000', 0, '2012-09-18 08:59:55.944000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:59:55.944000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 33 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.948000' WHERE "spree_products"."id" = 33 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 33, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.951000' WHERE "spree_products"."id" = 33  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 77 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:55.955000' WHERE "spree_products"."id" = 33  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 33 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 33  (0.0ms) 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.0ms) SELECT "spree_option_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" = 33 AND "spree_option_types"."id" = 21 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" = 33) 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-18 08:59:55.987000', 21, 1, 33, '2012-09-18 08:59:55.987000') 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-18 08:59:55.991000', 'print_type', 0, 'Print type', '2012-09-18 08:59:55.991000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 33 AND "spree_option_types"."id" = 22 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (1.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 33) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 08:59:56.004000', 22, 2, 33, '2012-09-18 08:59:56.004000') 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" != 33) LIMIT 1 Row 3 succesfully SAVED : ID 33 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 31 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:59:56.227000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:56.227000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 34 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.233000' WHERE "spree_products"."id" = 34 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 34, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.293000' WHERE "spree_products"."id" = 34  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 78 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.313000' WHERE "spree_products"."id" = 34  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 34  (1.0ms) 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.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-18 08:59:56.324000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:56.324000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 23 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" = 34) ORDER BY position 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-18 08:59:56.346000', 23, 1, 34, '2012-09-18 08:59:56.346000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 34) LIMIT 1 Row 1 succesfully SAVED : ID 34 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:59:56.382000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:56.382000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 35 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.400000' WHERE "spree_products"."id" = 35 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 35, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.405000' WHERE "spree_products"."id" = 35  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 79 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.411000' WHERE "spree_products"."id" = 35  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 35 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 35  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 35 AND "spree_option_types"."id" = 23 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" = 35) ORDER BY position 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-18 08:59:56.431000', 23, 1, 35, '2012-09-18 08:59:56.431000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 35) LIMIT 1 Row 2 succesfully SAVED : ID 35 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:59:56.449000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 08:59:56.449000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 36 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.461000' WHERE "spree_products"."id" = 36 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 36, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.466000' WHERE "spree_products"."id" = 36  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 80 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.469000' WHERE "spree_products"."id" = 36  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 36 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 36  (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 36 AND "spree_option_types"."id" = 23 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" = 36) ORDER BY position 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-18 08:59:56.487000', 23, 1, 36, '2012-09-18 08:59:56.487000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:59:56.492000', 'print_type', 0, 'Print type', '2012-09-18 08:59:56.492000') 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" = 36 AND "spree_option_types"."id" = 24 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" = 36) 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-18 08:59:56.502000', 24, 2, 36, '2012-09-18 08:59:56.502000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 36) LIMIT 1 Row 3 succesfully SAVED : ID 36 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 34 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (20.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:59:56.644000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:59:56.644000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 08:59:56.680000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:56.680000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.703000' WHERE "spree_products"."id" = 37 SQL (0.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, 37, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.706000' WHERE "spree_products"."id" = 37  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 81 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.716000' WHERE "spree_products"."id" = 37  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 37  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:56.753000', NULL, 29, '2012-09-18 08:59:56.753000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 37, "updated_at" = '2012-09-18 08:59:56.762000' WHERE "spree_product_properties"."id" = 21 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) 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-18 08:59:56.768000', 'Paintings', '2012-09-18 08:59:56.768000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 90 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-18 08:59:56.781000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 90, '2012-09-18 08:59:56.781000') 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" = 37 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 169) 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-18 08:59:56.793000', 'WaterColour', '2012-09-18 08:59:56.793000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 91 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-18 08:59:56.802000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 91, '2012-09-18 08:59:56.802000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (37, 170) 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" != 37) 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" != 37) LIMIT 1 Spree::OptionType Load (0.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-18 08:59:56.864000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:56.864000') 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" = 37 AND "spree_option_types"."id" = 25 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" = 37) ORDER BY position 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-18 08:59:56.884000', 25, 1, 37, '2012-09-18 08:59:56.884000') 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" = 25 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 25) 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-18 08:59:56.921000', 'jpeg', 25, 1, NULL, '2012-09-18 08:59:56.921000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.927000' WHERE "spree_products"."id" = 37 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 37, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.932000' WHERE "spree_products"."id" = 37  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (82, 21) Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 25 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 25) ORDER 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-18 08:59:56.947000', 'PDF', 25, 2, NULL, '2012-09-18 08:59:56.947000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.955000' WHERE "spree_products"."id" = 37 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 37, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.960000' WHERE "spree_products"."id" = 37  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (83, 22) 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" = 25 LIMIT 1 Spree::OptionValue Load (6.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 25) ORDER 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-18 08:59:56.971000', 'PNG', 25, 3, NULL, '2012-09-18 08:59:56.971000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.987000' WHERE "spree_products"."id" = 37 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 37, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:56.995000' WHERE "spree_products"."id" = 37  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (84, 23) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 37 AND ("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" != 37) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 82 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 83 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 84 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" != 37) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.026000' WHERE "spree_products"."id" = 37  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 82 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.028000' WHERE "spree_products"."id" = 37 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.030000' WHERE "spree_products"."id" = 37  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 83 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.032000' WHERE "spree_products"."id" = 37 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 37 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.034000' WHERE "spree_products"."id" = 37  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 84 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.036000' WHERE "spree_products"."id" = 37 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 37) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:59:57.043000' WHERE "spree_products"."id" = 37 Row 1 succesfully SAVED : ID 37 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.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-18 08:59:57.092000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:57.092000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.097000' WHERE "spree_products"."id" = 38 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (30.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 38, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.102000' WHERE "spree_products"."id" = 38  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 85 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.104000' WHERE "spree_products"."id" = 38  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 38  (0.0ms) 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.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-18 08:59:57.113000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:59:57.113000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:57.117000', NULL, 30, '2012-09-18 08:59:57.117000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 38, "updated_at" = '2012-09-18 08:59:57.121000' WHERE "spree_product_properties"."id" = 22 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" != 38) 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" = 90 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 38 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 169) 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-18 08:59:57.132000', 'Oils', '2012-09-18 08:59:57.132000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 92 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-18 08:59:57.139000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 92, '2012-09-18 08:59:57.139000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 171) 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" = 90 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" = 169 AND "spree_taxons"."taxonomy_id" = 90 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" = 169 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-18 08:59:57.152000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 169, 'paintings/nature', 0, 8, 90, '2012-09-18 08:59:57.152000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 169 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 172 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 172 THEN 169 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 169 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 172 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 172 AND "spree_taxons"."taxonomy_id" = 90 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" = 172 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-18 08:59:57.169000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 172, 'paintings/nature/seascape', 0, 10, 90, '2012-09-18 08:59:57.169000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 172 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 173 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 = 173 THEN 172 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 172 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 173 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 172)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (38, 173) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 38) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 38 AND "spree_option_types"."id" = 25 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 38) ORDER BY position 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-18 08:59:57.206000', 25, 1, 38, '2012-09-18 08:59:57.206000') 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" = 25 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.217000' WHERE "spree_products"."id" = 38 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 38, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.225000' WHERE "spree_products"."id" = 38  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (86, 21) 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" = 25 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.232000' WHERE "spree_products"."id" = 38 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 38, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.235000' WHERE "spree_products"."id" = 38  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (87, 22) 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" = 25 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.246000' WHERE "spree_products"."id" = 38 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, 38, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.248000' WHERE "spree_products"."id" = 38  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (88, 23) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 38 AND ("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" != 38) 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" != 38) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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 (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 86 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 87 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 88 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" != 38) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.276000' WHERE "spree_products"."id" = 38  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 86 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.280000' WHERE "spree_products"."id" = 38 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.282000' WHERE "spree_products"."id" = 38  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 87 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.284000' WHERE "spree_products"."id" = 38 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 38 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.287000' WHERE "spree_products"."id" = 38  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 88 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.288000' WHERE "spree_products"."id" = 38 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" != 38) LIMIT 1  (1.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:59:57.302000' WHERE "spree_products"."id" = 38 Row 2 succesfully SAVED : ID 38 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 08:59:57.325000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:59:57.325000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.331000' WHERE "spree_products"."id" = 39 SQL (0.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, 39, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.333000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 89 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.336000' WHERE "spree_products"."id" = 39  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 39  (0.0ms) 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.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-18 08:59:57.346000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:59:57.346000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:57.351000', NULL, 31, '2012-09-18 08:59:57.351000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-09-18 08:59:57.353000' WHERE "spree_product_properties"."id" = 23 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-18 08:59:57.356000', NULL, 30, '2012-09-18 08:59:57.356000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-09-18 08:59:57.358000' WHERE "spree_product_properties"."id" = 24 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:59:57.369000', 'yet_another_property', 'Yet another property', '2012-09-18 08:59:57.369000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:57.372000', NULL, 32, '2012-09-18 08:59:57.372000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 39, "updated_at" = '2012-09-18 08:59:57.374000' WHERE "spree_product_properties"."id" = 25 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) 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-18 08:59:57.381000', 'Drawings', '2012-09-18 08:59:57.381000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 93 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-18 08:59:57.385000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 93, '2012-09-18 08:59:57.385000') 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" = 39 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 174) 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" = 90 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" = 169 AND "spree_taxons"."taxonomy_id" = 90 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" = 169 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-18 08:59:57.399000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 169, 'paintings/landscape', 0, 14, 90, '2012-09-18 08:59:57.399000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 169 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 175 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 = 175 THEN 169 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 169 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 175 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 175)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (39, 169) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) 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" != 39) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 39 AND "spree_option_types"."id" = 25 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" = 39) ORDER BY position 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-18 08:59:57.450000', 25, 1, 39, '2012-09-18 08:59:57.450000') 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" = 25 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.459000' WHERE "spree_products"."id" = 39 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 39, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.461000' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (90, 21) 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" = 25 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.486000' WHERE "spree_products"."id" = 39 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 39, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.489000' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (91, 22) 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" = 25 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.507000' WHERE "spree_products"."id" = 39 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 39, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.509000' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (92, 23) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:59:57.516000', 'print_type', 0, 'Print type', '2012-09-18 08:59:57.516000') 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" = 39 AND "spree_option_types"."id" = 26 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" = 39) ORDER BY position 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-18 08:59:57.527000', 26, 2, 39, '2012-09-18 08:59:57.527000') 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" = 26 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 26) 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-18 08:59:57.534000', 'black_white', 26, 1, NULL, '2012-09-18 08:59:57.534000')  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (21.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.564000' WHERE "spree_products"."id" = 39 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 39, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.566000' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (93, 24) 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" = 26 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 26) 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-18 08:59:57.571000', 'colour', 26, 2, NULL, '2012-09-18 08:59:57.571000')  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.575000' WHERE "spree_products"."id" = 39 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 39, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.578000' WHERE "spree_products"."id" = 39  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (94, 25) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("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" != 39) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 92 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 93 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 94 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" != 39) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.619000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 90 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.621000' WHERE "spree_products"."id" = 39 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.624000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 91 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.626000' WHERE "spree_products"."id" = 39 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.628000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 92 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.629000' WHERE "spree_products"."id" = 39 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.631000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 93 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.633000' WHERE "spree_products"."id" = 39 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 39 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.635000' WHERE "spree_products"."id" = 39  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 94 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.637000' WHERE "spree_products"."id" = 39 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 39) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 39 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:59:57.644000' WHERE "spree_products"."id" = 39 Row 3 succesfully SAVED : ID 39 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 37 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 39 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 39 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:59:57.811000', 'test_pp_001', 'Test PP 001', '2012-09-18 08:59:57.811000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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-18 08:59:57.877000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:57.877000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.882000' WHERE "spree_products"."id" = 40 SQL (0.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, 40, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.886000' WHERE "spree_products"."id" = 40  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 95 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:57.890000' WHERE "spree_products"."id" = 40  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 40  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:57.927000', NULL, 33, '2012-09-18 08:59:57.927000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 40, "updated_at" = '2012-09-18 08:59:57.930000' WHERE "spree_product_properties"."id" = 26 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) 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" != 40) 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" != 40) 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-18 08:59:57.938000', 'Paintings', '2012-09-18 08:59:57.938000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 94 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-18 08:59:57.944000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 94, '2012-09-18 08:59:57.944000') 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" = 40 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (40, 176) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 08:59:57.974000', 'WaterColour', '2012-09-18 08:59:57.974000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 95 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-18 08:59:57.981000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 95, '2012-09-18 08:59:57.981000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (40, 177) 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" != 40) 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" != 40) LIMIT 1 Spree::OptionType Load (0.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-18 08:59:57.996000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:57.996000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 27 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" = 40) 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-18 08:59:58.009000', 27, 1, 40, '2012-09-18 08:59:58.009000') 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" = 27 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:59:58.015000', 'jpeg', 27, 1, NULL, '2012-09-18 08:59:58.015000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.045000' WHERE "spree_products"."id" = 40 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, 40, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.048000' WHERE "spree_products"."id" = 40  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (96, 26) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("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" != 40) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 40 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 27 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:59:58.065000', 'PDF', 27, 2, NULL, '2012-09-18 08:59:58.065000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.072000' WHERE "spree_products"."id" = 40 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 40, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.075000' WHERE "spree_products"."id" = 40  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (97, 27) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("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" != 40) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 40 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 27 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 27) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-09-18 08:59:58.099000', 'PNG', 27, 3, NULL, '2012-09-18 08:59:58.099000')  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.106000' WHERE "spree_products"."id" = 40 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 40, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.109000' WHERE "spree_products"."id" = 40  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (98, 28) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 40 AND ("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" != 40) 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" != 40) 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" != 40) LIMIT 1  (1.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 96 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 97 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 98 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" != 40) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.160000' WHERE "spree_products"."id" = 40  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 96 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.162000' WHERE "spree_products"."id" = 40 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.164000' WHERE "spree_products"."id" = 40  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 97 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.169000' WHERE "spree_products"."id" = 40 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 40 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.171000' WHERE "spree_products"."id" = 40  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 98 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.173000' WHERE "spree_products"."id" = 40 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 40) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 08:59:58.177000' WHERE "spree_products"."id" = 40 Row 1 succesfully SAVED : ID 40 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.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-18 08:59:58.186000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 08:59:58.186000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.194000' WHERE "spree_products"."id" = 41 SQL (0.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, 41, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.196000' WHERE "spree_products"."id" = 41  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 99 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.199000' WHERE "spree_products"."id" = 41  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 41  (0.0ms) 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.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-18 08:59:58.209000', 'test_pp_003', 'Test pp 003', '2012-09-18 08:59:58.209000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:58.211000', NULL, 34, '2012-09-18 08:59:58.211000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 41, "updated_at" = '2012-09-18 08:59:58.215000' WHERE "spree_product_properties"."id" = 27 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" != 41) 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" != 41) 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" != 41) 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" = 94 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" = 41 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 176) 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" != 41) LIMIT 1 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-18 08:59:58.254000', 'Oils', '2012-09-18 08:59:58.254000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 96 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-18 08:59:58.265000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 96, '2012-09-18 08:59:58.265000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 178) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1 Spree::Taxonomy Load (0.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" = 94 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" = 176 AND "spree_taxons"."taxonomy_id" = 94 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" = 176 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-18 08:59:58.281000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 176, 'paintings/nature', 0, 8, 94, '2012-09-18 08:59:58.281000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 176 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 179 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 = 179 THEN 176 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 176 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 179 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 179 AND "spree_taxons"."taxonomy_id" = 94 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" = 179 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 08:59:58.298000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 179, 'paintings/nature/seascape', 0, 10, 94, '2012-09-18 08:59:58.298000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 179 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 180 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 = 180 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" = 179 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 180 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 179)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (41, 180) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 41 AND "spree_option_types"."id" = 27 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" = 41) ORDER BY position 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-18 08:59:58.329000', 27, 1, 41, '2012-09-18 08:59:58.329000') 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" = 27 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.337000' WHERE "spree_products"."id" = 41 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 41, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.339000' WHERE "spree_products"."id" = 41  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (100, 26) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("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" != 41) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 41 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 27 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.355000' WHERE "spree_products"."id" = 41 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 41, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.357000' WHERE "spree_products"."id" = 41  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (101, 27) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("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" != 41) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 41 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 27 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.384000' WHERE "spree_products"."id" = 41 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 41, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.387000' WHERE "spree_products"."id" = 41  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (102, 28) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 41 AND ("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" != 41) 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" != 41) 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" != 41) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 100 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" = 101 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (2.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.415000' WHERE "spree_products"."id" = 41  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 100 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.417000' WHERE "spree_products"."id" = 41 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.421000' WHERE "spree_products"."id" = 41  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 101 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.423000' WHERE "spree_products"."id" = 41 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 41 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.425000' WHERE "spree_products"."id" = 41  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 102 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.427000' WHERE "spree_products"."id" = 41 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 41) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 08:59:58.434000' WHERE "spree_products"."id" = 41 Row 2 succesfully SAVED : ID 41 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 08:59:58.445000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 08:59:58.445000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.455000' WHERE "spree_products"."id" = 42 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, 42, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.459000' WHERE "spree_products"."id" = 42  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 103 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.462000' WHERE "spree_products"."id" = 42  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 42  (1.0ms) 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.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-18 08:59:58.473000', 'test_pp_002', 'Test pp 002', '2012-09-18 08:59:58.473000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:58.480000', NULL, 35, '2012-09-18 08:59:58.480000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-09-18 08:59:58.482000' WHERE "spree_product_properties"."id" = 28 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" != 42) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:58.489000', NULL, 34, '2012-09-18 08:59:58.489000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-09-18 08:59:58.495000' WHERE "spree_product_properties"."id" = 29 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" != 42) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 08:59:58.500000', 'yet_another_property', 'Yet another property', '2012-09-18 08:59:58.500000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:58.502000', NULL, 36, '2012-09-18 08:59:58.502000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 42, "updated_at" = '2012-09-18 08:59:58.505000' WHERE "spree_product_properties"."id" = 30 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" != 42) 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-18 08:59:58.516000', 'Drawings', '2012-09-18 08:59:58.516000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 97 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-18 08:59:58.521000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 97, '2012-09-18 08:59:58.521000') 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" = 42 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 181) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 94 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" = 176 AND "spree_taxons"."taxonomy_id" = 94 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" = 176 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-18 08:59:58.536000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 176, 'paintings/landscape', 0, 14, 94, '2012-09-18 08:59:58.536000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 176 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 182 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 = 182 THEN 176 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 176 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 182 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 182)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (42, 176) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) 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" != 42) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 42 AND "spree_option_types"."id" = 27 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" = 42) ORDER BY position 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-18 08:59:58.566000', 27, 1, 42, '2012-09-18 08:59:58.566000') 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" = 27 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.571000' WHERE "spree_products"."id" = 42 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 42, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.582000' WHERE "spree_products"."id" = 42  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (104, 26) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("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" != 42) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 42 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 27 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.597000' WHERE "spree_products"."id" = 42 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 42, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.599000' WHERE "spree_products"."id" = 42  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (105, 27) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("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" != 42) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 42 AND "spree_option_types"."id" = 27 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 27 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.613000' WHERE "spree_products"."id" = 42 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, 42, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.615000' WHERE "spree_products"."id" = 42  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (106, 28) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 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" != 42) 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-18 08:59:58.622000', 'print_type', 0, 'Print type', '2012-09-18 08:59:58.622000') 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" = 42 AND "spree_option_types"."id" = 28 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" = 42) ORDER BY position 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-18 08:59:58.636000', 28, 2, 42, '2012-09-18 08:59:58.636000') 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" = 28 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 28) ORDER 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-18 08:59:58.640000', 'black_white', 28, 1, NULL, '2012-09-18 08:59:58.640000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.664000' WHERE "spree_products"."id" = 42 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 42, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.666000' WHERE "spree_products"."id" = 42  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (107, 29) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("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" != 42) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 42 AND "spree_option_types"."id" = 28 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 28 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 28) ORDER 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-18 08:59:58.678000', 'colour', 28, 2, NULL, '2012-09-18 08:59:58.678000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.686000' WHERE "spree_products"."id" = 42 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 42, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.688000' WHERE "spree_products"."id" = 42  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (108, 30) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 42 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" != 42) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 104 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 108 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" != 42) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.717000' WHERE "spree_products"."id" = 42  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 104 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.720000' WHERE "spree_products"."id" = 42 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.722000' WHERE "spree_products"."id" = 42  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 105 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.724000' WHERE "spree_products"."id" = 42 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.726000' WHERE "spree_products"."id" = 42  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 106 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.727000' WHERE "spree_products"."id" = 42 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.730000' WHERE "spree_products"."id" = 42  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 107 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.732000' WHERE "spree_products"."id" = 42 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 42 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.734000' WHERE "spree_products"."id" = 42  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 108 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:58.736000' WHERE "spree_products"."id" = 42 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 42) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 08:59:58.741000' WHERE "spree_products"."id" = 42 Row 3 succesfully SAVED : ID 42 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 40 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 42 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 42 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (18.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (22.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (3.0ms) DELETE FROM "spree_products" SQL (18.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (22.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 08:59:59.800000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 08:59:59.800000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.822000' WHERE "spree_products"."id" = 43 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, 43, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.825000' WHERE "spree_products"."id" = 43  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 109 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.835000' WHERE "spree_products"."id" = 43  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 43  (0.0ms) 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.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-18 08:59:59.848000', 'test_pp_001', 'Test pp 001', '2012-09-18 08:59:59.848000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 08:59:59.851000', NULL, 37, '2012-09-18 08:59:59.851000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 43, "updated_at" = '2012-09-18 08:59:59.853000' WHERE "spree_product_properties"."id" = 31 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" != 43) 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-18 08:59:59.863000', 'Paintings', '2012-09-18 08:59:59.863000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 98 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-18 08:59:59.871000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 98, '2012-09-18 08:59:59.871000') 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" = 43 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 183) 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-18 08:59:59.878000', 'WaterColour', '2012-09-18 08:59:59.878000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 99 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-18 08:59:59.881000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 99, '2012-09-18 08:59:59.881000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (43, 184) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 43) LIMIT 1 Spree::OptionType Load (0.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-18 08:59:59.894000', 'mime_type', 0, 'Mime type', '2012-09-18 08:59:59.894000') 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" = 43 AND "spree_option_types"."id" = 29 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" = 43) 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-18 08:59:59.906000', 29, 1, 43, '2012-09-18 08:59:59.906000') Spree::OptionValue Load (17.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 29 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 29) 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-18 08:59:59.935000', 'jpeg', 29, 1, NULL, '2012-09-18 08:59:59.935000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.943000' WHERE "spree_products"."id" = 43 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 43, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.947000' WHERE "spree_products"."id" = 43  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (110, 31) 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" = 29 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 29) 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-18 08:59:59.953000', 'PDF', 29, 2, NULL, '2012-09-18 08:59:59.953000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.957000' WHERE "spree_products"."id" = 43 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 43, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.964000' WHERE "spree_products"."id" = 43  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (111, 32) 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" = 29 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 29) ORDER 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-18 08:59:59.969000', 'PNG', 29, 3, NULL, '2012-09-18 08:59:59.969000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.974000' WHERE "spree_products"."id" = 43 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 43, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 08:59:59.978000' WHERE "spree_products"."id" = 43  (4.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (112, 33) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 AND ("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" != 43) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 110 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 111 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 112 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" != 43) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.040000' WHERE "spree_products"."id" = 43  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 110 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.043000' WHERE "spree_products"."id" = 43 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.046000' WHERE "spree_products"."id" = 43  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 111 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.048000' WHERE "spree_products"."id" = 43 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.052000' WHERE "spree_products"."id" = 43  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 112 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.058000' WHERE "spree_products"."id" = 43 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 43) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 43 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" = 109 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 109 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:00:00.148000', 240, 0, 'Spree::Image', 109, 'Spree::Variant') Product assigned an Image : nil 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" != 43) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:00:00.777000' WHERE "spree_products"."id" = 43 Current 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  (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  (4.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:00:00.857000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:00:00.857000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.861000' WHERE "spree_products"."id" = 44 SQL (0.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, 44, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.864000' WHERE "spree_products"."id" = 44  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 113 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.867000' WHERE "spree_products"."id" = 44  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 44  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:00:00.881000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:00:00.881000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:00.883000', NULL, 38, '2012-09-18 09:00:00.883000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 44, "updated_at" = '2012-09-18 09:00:00.888000' WHERE "spree_product_properties"."id" = 32 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" != 44) 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" = 98 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" = 44 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 183) 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-18 09:00:00.897000', 'Landscape', '2012-09-18 09:00:00.897000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 100 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-18 09:00:00.903000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 100, '2012-09-18 09:00:00.903000') Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 185) 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-18 09:00:00.919000', 'Oils', '2012-09-18 09:00:00.919000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 101 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-18 09:00:00.923000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 101, '2012-09-18 09:00:00.923000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (44, 186) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 44) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 44 AND "spree_option_types"."id" = 29 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" = 44) 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-18 09:00:00.941000', 29, 1, 44, '2012-09-18 09:00:00.941000') 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" = 29 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.949000' WHERE "spree_products"."id" = 44 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 44, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.951000' WHERE "spree_products"."id" = 44  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (114, 31) 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" = 29 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.956000' WHERE "spree_products"."id" = 44 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, 44, 'DEMO_002_2', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.958000' WHERE "spree_products"."id" = 44  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (115, 32) 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" = 29 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.982000' WHERE "spree_products"."id" = 44 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 44, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:00.984000' WHERE "spree_products"."id" = 44  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (116, 33) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 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" != 44) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 44) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.031000' WHERE "spree_products"."id" = 44  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 114 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.033000' WHERE "spree_products"."id" = 44 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.038000' WHERE "spree_products"."id" = 44  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 115 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.054000' WHERE "spree_products"."id" = 44 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.057000' WHERE "spree_products"."id" = 44  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 116 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:01.058000' WHERE "spree_products"."id" = 44 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 44) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 44 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" = 113 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 113 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:00:01.114000', 2424, 0, 'Spree::Image', 113, 'Spree::Variant') Product assigned an Image : nil 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" != 44) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:00:05.095000' WHERE "spree_products"."id" = 44 Current value 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-18 09:00:05.109000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:00:05.109000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.112000' WHERE "spree_products"."id" = 45 SQL (0.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, 45, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.126000' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 117 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.129000' WHERE "spree_products"."id" = 45  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 45  (0.0ms) 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.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-18 09:00:05.136000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:00:05.136000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:05.138000', NULL, 39, '2012-09-18 09:00:05.138000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 45, "updated_at" = '2012-09-18 09:00:05.142000' WHERE "spree_product_properties"."id" = 33 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-18 09:00:05.144000', NULL, 38, '2012-09-18 09:00:05.144000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 45, "updated_at" = '2012-09-18 09:00:05.147000' WHERE "spree_product_properties"."id" = 34 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-18 09:00:05.155000', 'yet_another_property', 'Yet another property', '2012-09-18 09:00:05.155000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:05.158000', NULL, 40, '2012-09-18 09:00:05.158000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 45, "updated_at" = '2012-09-18 09:00:05.160000' WHERE "spree_product_properties"."id" = 35 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" != 45) 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-18 09:00:05.164000', 'Drawings', '2012-09-18 09:00:05.164000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 102 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-18 09:00:05.168000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 102, '2012-09-18 09:00:05.168000') 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" = 45 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (45, 187) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 45) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 45 AND "spree_option_types"."id" = 29 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" = 45) ORDER BY position 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-18 09:00:05.181000', 29, 1, 45, '2012-09-18 09:00:05.181000') 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" = 29 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.187000' WHERE "spree_products"."id" = 45 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 45, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.192000' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (118, 31) 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" = 29 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.200000' WHERE "spree_products"."id" = 45 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 45, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.202000' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (119, 32) 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" = 29 LIMIT 1 Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.210000' WHERE "spree_products"."id" = 45 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 45, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.213000' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (120, 33) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 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-18 09:00:05.217000', 'print_type', 0, 'Print type', '2012-09-18 09:00:05.217000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 30 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" = 45) ORDER BY position 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-18 09:00:05.247000', 30, 2, 45, '2012-09-18 09:00:05.247000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 30 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 30) ORDER 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-18 09:00:05.251000', 'black_white', 30, 1, NULL, '2012-09-18 09:00:05.251000')  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.257000' WHERE "spree_products"."id" = 45 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 45, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.259000' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (121, 34) 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" = 30 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 30) 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-18 09:00:05.263000', 'colour', 30, 2, NULL, '2012-09-18 09:00:05.263000')  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.268000' WHERE "spree_products"."id" = 45 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, 45, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.270000' WHERE "spree_products"."id" = 45  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (122, 35) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 AND ("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" != 45) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 122 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 45) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.307000' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 118 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.308000' WHERE "spree_products"."id" = 45 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.311000' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 119 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.312000' WHERE "spree_products"."id" = 45 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.314000' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 120 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.316000' WHERE "spree_products"."id" = 45 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.317000' WHERE "spree_products"."id" = 45  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 121 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.319000' WHERE "spree_products"."id" = 45 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.321000' WHERE "spree_products"."id" = 45  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 122 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:05.323000' WHERE "spree_products"."id" = 45 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" != 45) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 45 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" = 117 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 117 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:00:05.337000', 240, 0, 'Spree::Image', 117, 'Spree::Variant') Product assigned an Image : nil 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" != 45) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:00:05.900000' WHERE "spree_products"."id" = 45 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 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 = 109) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 43)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 109 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 43 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 = 109) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 43)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 44 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 = 113) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 44)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 45 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 = 117) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 45))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (19.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:00:06.198000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:00:06.198000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.201000' WHERE "spree_products"."id" = 46 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, 46, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.221000' WHERE "spree_products"."id" = 46  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 123 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.229000' WHERE "spree_products"."id" = 46  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 46  (0.0ms) 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.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-18 09:00:06.237000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:00:06.237000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:06.240000', NULL, 41, '2012-09-18 09:00:06.240000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 46, "updated_at" = '2012-09-18 09:00:06.244000' WHERE "spree_product_properties"."id" = 36 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" != 46) 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-18 09:00:06.249000', 'Paintings', '2012-09-18 09:00:06.249000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 103 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-18 09:00:06.254000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 103, '2012-09-18 09:00:06.254000') 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" = 46 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 188) 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-18 09:00:06.268000', 'WaterColour', '2012-09-18 09:00:06.268000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 104 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-18 09:00:06.276000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 104, '2012-09-18 09:00:06.276000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (46, 189) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 46) LIMIT 1 Spree::OptionType Load (0.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-18 09:00:06.305000', 'mime_type', 0, 'Mime type', '2012-09-18 09:00:06.305000') 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" = 46 AND "spree_option_types"."id" = 31 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" = 46) ORDER BY position 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-18 09:00:06.311000', 31, 1, 46, '2012-09-18 09:00:06.311000') 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" = 31 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER 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-18 09:00:06.315000', 'jpeg', 31, 1, NULL, '2012-09-18 09:00:06.315000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.319000' WHERE "spree_products"."id" = 46 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 46, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.321000' WHERE "spree_products"."id" = 46  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (124, 36) 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" = 31 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER 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-18 09:00:06.325000', 'PDF', 31, 2, NULL, '2012-09-18 09:00:06.325000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.347000' WHERE "spree_products"."id" = 46 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 46, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.349000' WHERE "spree_products"."id" = 46  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (125, 37) 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" = 31 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 31) ORDER 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-18 09:00:06.364000', 'PNG', 31, 3, NULL, '2012-09-18 09:00:06.364000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.369000' WHERE "spree_products"."id" = 46 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 46, 'DEMO_001_3', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.371000' WHERE "spree_products"."id" = 46  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (126, 38) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 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" != 46) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 46) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.432000' WHERE "spree_products"."id" = 46  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 124 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.434000' WHERE "spree_products"."id" = 46 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.436000' WHERE "spree_products"."id" = 46  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 125 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.438000' WHERE "spree_products"."id" = 46 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.440000' WHERE "spree_products"."id" = 46  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 126 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:06.442000' WHERE "spree_products"."id" = 46 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 46) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 46 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" = 123 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 123 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:00:06.451000', 240, 0, 'Spree::Image', 123, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 46) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 46 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:00:06.981000' WHERE "spree_products"."id" = 46 Row 1 succesfully SAVED : ID 46 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:00:06.991000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:00:06.991000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.022000' WHERE "spree_products"."id" = 47 SQL (0.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, 47, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.026000' WHERE "spree_products"."id" = 47  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 127 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.029000' WHERE "spree_products"."id" = 47  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 47  (0.0ms) 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.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-18 09:00:07.037000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:00:07.037000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:07.048000', NULL, 42, '2012-09-18 09:00:07.048000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 47, "updated_at" = '2012-09-18 09:00:07.051000' WHERE "spree_product_properties"."id" = 37 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" != 47) 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" = 103 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" = 47 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 188) 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-18 09:00:07.061000', 'Landscape', '2012-09-18 09:00:07.061000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 105 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-18 09:00:07.069000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 105, '2012-09-18 09:00:07.069000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 190) 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-18 09:00:07.095000', 'Oils', '2012-09-18 09:00:07.095000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 106 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-18 09:00:07.108000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 106, '2012-09-18 09:00:07.108000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (47, 191) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 47) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 47 AND "spree_option_types"."id" = 31 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" = 47) 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-18 09:00:07.139000', 31, 1, 47, '2012-09-18 09:00:07.139000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.146000' WHERE "spree_products"."id" = 47 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 47, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.148000' WHERE "spree_products"."id" = 47  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (128, 36) 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" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.153000' WHERE "spree_products"."id" = 47 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 47, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.157000' WHERE "spree_products"."id" = 47  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (129, 37) 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" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.163000' WHERE "spree_products"."id" = 47 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 47, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.166000' WHERE "spree_products"."id" = 47  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (130, 38) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 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" != 47) LIMIT 1  (1.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 47) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.187000' WHERE "spree_products"."id" = 47  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 128 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.189000' WHERE "spree_products"."id" = 47 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.191000' WHERE "spree_products"."id" = 47  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 129 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.192000' WHERE "spree_products"."id" = 47 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.194000' WHERE "spree_products"."id" = 47  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 130 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:07.195000' WHERE "spree_products"."id" = 47 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 47) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 47 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" = 127 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 127 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:00:07.251000', 2424, 0, 'Spree::Image', 127, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 47) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:00:11.152000' WHERE "spree_products"."id" = 47 Row 2 succesfully SAVED : ID 47 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:00:11.163000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:00:11.163000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.167000' WHERE "spree_products"."id" = 48 SQL (0.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, 48, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.168000' WHERE "spree_products"."id" = 48  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 131 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.171000' WHERE "spree_products"."id" = 48  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 48  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:00:11.179000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:00:11.179000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:11.182000', NULL, 43, '2012-09-18 09:00:11.182000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 48, "updated_at" = '2012-09-18 09:00:11.188000' WHERE "spree_product_properties"."id" = 38 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-18 09:00:11.192000', NULL, 42, '2012-09-18 09:00:11.192000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 48, "updated_at" = '2012-09-18 09:00:11.194000' WHERE "spree_product_properties"."id" = 39 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-18 09:00:11.196000', 'yet_another_property', 'Yet another property', '2012-09-18 09:00:11.196000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:00:11.201000', NULL, 44, '2012-09-18 09:00:11.201000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 48, "updated_at" = '2012-09-18 09:00:11.209000' WHERE "spree_product_properties"."id" = 40 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" != 48) 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-18 09:00:11.216000', 'Drawings', '2012-09-18 09:00:11.216000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 107 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-18 09:00:11.220000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 107, '2012-09-18 09:00:11.220000') 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" = 48 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (48, 192) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 48) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 48 AND "spree_option_types"."id" = 31 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" = 48) ORDER BY position 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-18 09:00:11.233000', 31, 1, 48, '2012-09-18 09:00:11.233000') 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" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.238000' WHERE "spree_products"."id" = 48 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 48, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.241000' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (132, 36) 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" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.245000' WHERE "spree_products"."id" = 48 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 48, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.247000' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (133, 37) 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" = 31 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.261000' WHERE "spree_products"."id" = 48 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 48, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.263000' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (134, 38) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 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-18 09:00:11.267000', 'print_type', 0, 'Print type', '2012-09-18 09:00:11.267000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 32 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" = 48) ORDER BY position 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-18 09:00:11.277000', 32, 2, 48, '2012-09-18 09:00:11.277000') 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" = 32 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 32) 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-18 09:00:11.281000', 'black_white', 32, 1, NULL, '2012-09-18 09:00:11.281000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.287000' WHERE "spree_products"."id" = 48 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 48, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.289000' WHERE "spree_products"."id" = 48  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (135, 39) 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" = 32 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 32) ORDER 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-18 09:00:11.298000', 'colour', 32, 2, NULL, '2012-09-18 09:00:11.298000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.325000' WHERE "spree_products"."id" = 48 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 48, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.328000' WHERE "spree_products"."id" = 48  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (136, 40) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("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" != 48) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 136 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" != 48) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.367000' WHERE "spree_products"."id" = 48  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 132 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.369000' WHERE "spree_products"."id" = 48 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.371000' WHERE "spree_products"."id" = 48  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 133 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.373000' WHERE "spree_products"."id" = 48 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.375000' WHERE "spree_products"."id" = 48  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 134 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.376000' WHERE "spree_products"."id" = 48 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.378000' WHERE "spree_products"."id" = 48  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 135 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.380000' WHERE "spree_products"."id" = 48 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.381000' WHERE "spree_products"."id" = 48  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 136 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:00:11.383000' WHERE "spree_products"."id" = 48 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 48) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 48 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" = 131 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 131 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:00:11.396000', 240, 0, 'Spree::Image', 131, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 48) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:00:11.933000' WHERE "spree_products"."id" = 48 Row 3 succesfully SAVED : ID 48 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (21.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 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" = 46 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 = 123) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 46)) 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" = 46 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 = 123) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 46)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 47 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 = 127) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 47)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 48 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 = 131) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 48))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (25.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:00:12.219000', 'Paintings', '2012-09-18 09:00:12.219000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 108 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-18 09:00:12.226000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 108, '2012-09-18 09:00:12.226000')  (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-18 09:00:12.234000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 108, '2012-09-18 09:00:12.234000')  (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-18 09:00:12.240000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 108, '2012-09-18 09:00:12.240000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:00:12.312000', 'Paintings', '2012-09-18 09:00:12.312000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 109 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-18 09:00:12.317000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 109, '2012-09-18 09:00:12.317000')  (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-18 09:00:12.325000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 109, '2012-09-18 09:00:12.325000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:00:12.333000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 109, '2012-09-18 09:00:12.333000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 109 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 109 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 109 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:00:12.456000', 'Paintings', '2012-09-18 09:00:12.456000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 110 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-18 09:00:12.461000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 110, '2012-09-18 09:00:12.461000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:00:12.489000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 110, '2012-09-18 09:00:12.489000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 199, "updated_at" = '2012-09-18 09:00:12.508000' WHERE "spree_taxons"."id" = 200 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 199 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 200 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 200 THEN 199 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 199 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 200 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 199 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:00:12.584000', 'Paintings', '2012-09-18 09:00:12.584000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 111 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-18 09:00:12.611000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 111, '2012-09-18 09:00:12.611000')  (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-18 09:00:12.620000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 111, '2012-09-18 09:00:12.620000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 201, "updated_at" = '2012-09-18 09:00:12.625000' WHERE "spree_taxons"."id" = 202 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 201 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 202 THEN 201 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 201 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 202 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 201 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (23.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:00:12.707000', 'Paintings', '2012-09-18 09:00:12.707000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 112 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-18 09:00:12.743000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 112, '2012-09-18 09:00:12.743000')  (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-18 09:00:12.753000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 112, '2012-09-18 09:00:12.753000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 203, "updated_at" = '2012-09-18 09:00:12.765000' WHERE "spree_taxons"."id" = 204 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 203 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 204 THEN 203 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 203 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 204 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 203 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (47.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Booted Spree using version 1.1.3 SQL (25.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (7.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:46.085000', 'Paintings', '2012-09-18 09:01:46.085000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 113 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-18 09:01:46.502000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 113, '2012-09-18 09:01:46.502000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:01:46.535000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 113, '2012-09-18 09:01:46.535000')  (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-18 09:01:46.556000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 113, '2012-09-18 09:01:46.556000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (30.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:47.026000', 'Paintings', '2012-09-18 09:01:47.026000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 114 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-18 09:01:47.128000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 114, '2012-09-18 09:01:47.128000')  (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-18 09:01:47.154000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 114, '2012-09-18 09:01:47.154000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:01:47.184000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 114, '2012-09-18 09:01:47.184000') ExcelGenerator creating template with associations for class Spree::Product SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (23.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:47.268000', 'Paintings', '2012-09-18 09:01:47.268000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 115 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-18 09:01:47.306000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 115, '2012-09-18 09:01:47.306000')  (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-18 09:01:47.325000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 115, '2012-09-18 09:01:47.325000')  (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-18 09:01:47.344000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 115, '2012-09-18 09:01:47.344000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.732000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:01:47.732000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 3 Row 1 succesfully SAVED : ID 3 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.809000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:01:47.809000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 4 Row 2 succesfully SAVED : ID 4 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.823000', 'f', 'Europe', 'EUR', '2012-09-18 09:01:47.823000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 5 Row 3 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 (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.838000', 'f', 'North America', 'NA', '2012-09-18 09:01:47.838000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 6 Row 4 succesfully SAVED : ID 6 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.946000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:01:47.946000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.958000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:01:47.958000', 0) Spree::ZoneMember Load (1.0ms) 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.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:47.987000', 'f', 'Europe', 'EUR', '2012-09-18 09:01:47.987000', 0) Spree::ZoneMember Load (1.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:01:48.010000', 'f', 'North America', 'NA', '2012-09-18 09:01:48.010000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 10  (1.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (1.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:01:48.340000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:48.340000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 49 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.364000' WHERE "spree_products"."id" = 49 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 49, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.374000' WHERE "spree_products"."id" = 49  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 137 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.385000' WHERE "spree_products"."id" = 49  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 49  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 137 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 49) LIMIT 1 Spree::OptionType Load (0.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-18 09:01:48.500000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:48.500000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 49 AND "spree_option_types"."id" = 33 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" = 49) 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-18 09:01:48.575000', 33, 1, 49, '2012-09-18 09:01:48.575000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 49) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:01:48.587000' WHERE "spree_products"."id" = 49  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 137 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.596000' WHERE "spree_products"."id" = 49 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 49 Row 1 succesfully SAVED : ID 49 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:01:48.630000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:48.630000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 50 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.665000' WHERE "spree_products"."id" = 50 SQL (0.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, 50, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.672000' WHERE "spree_products"."id" = 50  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 138 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.677000' WHERE "spree_products"."id" = 50  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 50 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 50  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 50) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 50 AND "spree_option_types"."id" = 33 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" = 50) ORDER BY position 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-18 09:01:48.741000', 33, 1, 50, '2012-09-18 09:01:48.741000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 50) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:01:48.753000' WHERE "spree_products"."id" = 50  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 138 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.761000' WHERE "spree_products"."id" = 50 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 50 Row 2 succesfully SAVED : ID 50 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:01:48.784000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:01:48.784000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 51 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.804000' WHERE "spree_products"."id" = 51 SQL (0.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, 51, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.809000' WHERE "spree_products"."id" = 51  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 139 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.816000' WHERE "spree_products"."id" = 51  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 51 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 51  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 139 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" != 51) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 51 AND "spree_option_types"."id" = 33 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" = 51) ORDER BY position 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-18 09:01:48.854000', 33, 1, 51, '2012-09-18 09:01:48.854000') 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-18 09:01:48.862000', 'print_type', 0, 'Print type', '2012-09-18 09:01:48.862000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 51 AND "spree_option_types"."id" = 34 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" = 51) 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-18 09:01:48.909000', 34, 2, 51, '2012-09-18 09:01:48.909000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 51) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:01:48.919000' WHERE "spree_products"."id" = 51  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 139 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:48.938000' WHERE "spree_products"."id" = 51 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 51 Row 3 succesfully SAVED : ID 51 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:01:49.018000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:01:49.019000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 49 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 49 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (20.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:01:49.217000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:49.217000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 52 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.228000' WHERE "spree_products"."id" = 52 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, 345.78, 52, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.232000' WHERE "spree_products"."id" = 52  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 140 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.239000' WHERE "spree_products"."id" = 52  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 52  (1.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 52) LIMIT 1 Spree::OptionType Load (0.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-18 09:01:49.274000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:49.274000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 52 AND "spree_option_types"."id" = 35 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (0.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 52) ORDER BY position DESC LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 09:01:49.336000', 35, 1, 52, '2012-09-18 09:01:49.336000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 52) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:01:49.360000' WHERE "spree_products"."id" = 52  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 140 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.372000' WHERE "spree_products"."id" = 52 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 52 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:01:49.411000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:49.411000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 53 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.430000' WHERE "spree_products"."id" = 53 SQL (0.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, 53, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.438000' WHERE "spree_products"."id" = 53  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 141 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.441000' WHERE "spree_products"."id" = 53  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 53 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 53  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 141 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 53) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 53 AND "spree_option_types"."id" = 35 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" = 53) ORDER BY position 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-18 09:01:49.836000', 35, 1, 53, '2012-09-18 09:01:49.836000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 53) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:01:49.844000' WHERE "spree_products"."id" = 53  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 141 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.853000' WHERE "spree_products"."id" = 53 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 53 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:01:49.873000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:01:49.873000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 54 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.890000' WHERE "spree_products"."id" = 54 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (23.34, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 54, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.893000' WHERE "spree_products"."id" = 54  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 142 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:49.911000' WHERE "spree_products"."id" = 54  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 54  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 54 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 142 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" != 54) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 54 AND "spree_option_types"."id" = 35 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" = 54) ORDER BY position 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-18 09:01:49.975000', 35, 1, 54, '2012-09-18 09:01:49.975000') 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-18 09:01:49.985000', 'print_type', 0, 'Print type', '2012-09-18 09:01:49.985000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 54 AND "spree_option_types"."id" = 36 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" = 54) ORDER BY position 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-18 09:01:50.018000', 36, 2, 54, '2012-09-18 09:01:50.018000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 54) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:01:50.042000' WHERE "spree_products"."id" = 54  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 142 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.049000' WHERE "spree_products"."id" = 54 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 54  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:01:50.070000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:01:50.071000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 52 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 52 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:01:50.000000', 0, '2012-09-18 09:01:50.225000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:50.225000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 55 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.232000' WHERE "spree_products"."id" = 55 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 55, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.235000' WHERE "spree_products"."id" = 55  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 143 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.243000' WHERE "spree_products"."id" = 55  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 55  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.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-18 09:01:50.277000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:50.277000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 55 AND "spree_option_types"."id" = 37 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" = 55) ORDER BY position 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-18 09:01:50.294000', 37, 1, 55, '2012-09-18 09:01:50.294000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 55) LIMIT 1 Row 1 succesfully SAVED : ID 55 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:01:50.000000', 0, '2012-09-18 09:01:50.356000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:50.356000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 56 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.364000' WHERE "spree_products"."id" = 56 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 56, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.422000' WHERE "spree_products"."id" = 56  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 144 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.430000' WHERE "spree_products"."id" = 56  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 56  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 56 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 56 AND "spree_option_types"."id" = 37 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" = 56) ORDER BY position 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-18 09:01:50.462000', 37, 1, 56, '2012-09-18 09:01:50.462000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 56) LIMIT 1 Row 2 succesfully SAVED : ID 56 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:01:50.000000', 0, '2012-09-18 09:01:50.523000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:01:50.523000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 57 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.528000' WHERE "spree_products"."id" = 57 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 57, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.532000' WHERE "spree_products"."id" = 57  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 145 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.537000' WHERE "spree_products"."id" = 57  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 57 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 57  (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 57 AND "spree_option_types"."id" = 37 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" = 57) ORDER BY position 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-18 09:01:50.559000', 37, 1, 57, '2012-09-18 09:01:50.559000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:01:50.564000', 'print_type', 0, 'Print type', '2012-09-18 09:01:50.564000') 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" = 57 AND "spree_option_types"."id" = 38 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" = 57) ORDER BY position 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-18 09:01:50.576000', 38, 2, 57, '2012-09-18 09:01:50.576000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 57) LIMIT 1 Row 3 succesfully SAVED : ID 57 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 55 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (21.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (22.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (19.0ms) INSERT INTO "spree_products" ("available_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-18 09:01:50.766000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:50.766000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 58 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.792000' WHERE "spree_products"."id" = 58 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 58, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.797000' WHERE "spree_products"."id" = 58  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 146 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.829000' WHERE "spree_products"."id" = 58  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 58 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 58  (0.0ms) 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::OptionType Load (0.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-18 09:01:50.841000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:50.841000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 58 AND "spree_option_types"."id" = 39 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" = 58) ORDER BY position 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-18 09:01:50.856000', 39, 1, 58, '2012-09-18 09:01:50.856000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 58) LIMIT 1 Row 1 succesfully SAVED : ID 58 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:01:50.891000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:50.891000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 59 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.896000' WHERE "spree_products"."id" = 59 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 59, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.899000' WHERE "spree_products"."id" = 59  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 147 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.907000' WHERE "spree_products"."id" = 59  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 59 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 59  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 59 AND "spree_option_types"."id" = 39 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" = 59) ORDER BY position 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-18 09:01:50.928000', 39, 1, 59, '2012-09-18 09:01:50.928000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 59) LIMIT 1 Row 2 succesfully SAVED : ID 59 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:01:50.969000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:01:50.969000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 60 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.981000' WHERE "spree_products"."id" = 60 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 60, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.985000' WHERE "spree_products"."id" = 60  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 148 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:50.989000' WHERE "spree_products"."id" = 60  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 60 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 60  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 60 AND "spree_option_types"."id" = 39 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" = 60) ORDER BY position 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-18 09:01:51.004000', 39, 1, 60, '2012-09-18 09:01:51.004000') 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-18 09:01:51.008000', 'print_type', 0, 'Print type', '2012-09-18 09:01:51.008000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 40 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" = 60) ORDER BY position 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-18 09:01:51.017000', 40, 2, 60, '2012-09-18 09:01:51.017000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 60) LIMIT 1 Row 3 succesfully SAVED : ID 60 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 58 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:01:51.174000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:01:51.174000')  (1.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:01:51.231000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:51.231000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.237000' WHERE "spree_products"."id" = 61 SQL (0.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, 61, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.240000' WHERE "spree_products"."id" = 61  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 149 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.252000' WHERE "spree_products"."id" = 61  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 61  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:51.302000', NULL, 45, '2012-09-18 09:01:51.302000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 61, "updated_at" = '2012-09-18 09:01:51.313000' WHERE "spree_product_properties"."id" = 41 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" != 61) 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-18 09:01:51.323000', 'Paintings', '2012-09-18 09:01:51.323000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 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-18 09:01:51.331000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 116, '2012-09-18 09:01:51.331000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 61 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 214) 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-18 09:01:51.345000', 'WaterColour', '2012-09-18 09:01:51.345000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 117 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-18 09:01:51.357000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 117, '2012-09-18 09:01:51.357000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (61, 215) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 61) 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" != 61) 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-18 09:01:51.377000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:51.377000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 61 AND "spree_option_types"."id" = 41 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" = 61) ORDER BY position 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-18 09:01:51.394000', 41, 1, 61, '2012-09-18 09:01:51.394000') Spree::OptionValue Load (19.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 41 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 41) ORDER 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-18 09:01:51.437000', 'jpeg', 41, 1, NULL, '2012-09-18 09:01:51.437000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.444000' WHERE "spree_products"."id" = 61 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 61, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.448000' WHERE "spree_products"."id" = 61  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (150, 41) 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" = 41 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 41) 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-18 09:01:51.457000', 'PDF', 41, 2, NULL, '2012-09-18 09:01:51.457000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.463000' WHERE "spree_products"."id" = 61 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 61, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.465000' WHERE "spree_products"."id" = 61  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (151, 42) 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" = 41 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 41) ORDER 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-18 09:01:51.469000', 'PNG', 41, 3, NULL, '2012-09-18 09:01:51.469000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.483000' WHERE "spree_products"."id" = 61 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 61, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.491000' WHERE "spree_products"."id" = 61  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (152, 43) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 61 AND ("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" != 61) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 152 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" != 61) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.531000' WHERE "spree_products"."id" = 61  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 150 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.534000' WHERE "spree_products"."id" = 61 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.537000' WHERE "spree_products"."id" = 61  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 151 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.540000' WHERE "spree_products"."id" = 61 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 61 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.543000' WHERE "spree_products"."id" = 61  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 152 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.544000' WHERE "spree_products"."id" = 61 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 61) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:01:51.553000' WHERE "spree_products"."id" = 61 Row 1 succesfully SAVED : ID 61 Current value to assign : DEMO_002 Current value to 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-18 09:01:51.602000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:51.602000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.607000' WHERE "spree_products"."id" = 62 SQL (0.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, 62, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.620000' WHERE "spree_products"."id" = 62  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 153 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.625000' WHERE "spree_products"."id" = 62  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 62  (0.0ms) 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.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-18 09:01:51.638000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:01:51.638000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:51.642000', NULL, 46, '2012-09-18 09:01:51.642000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 62, "updated_at" = '2012-09-18 09:01:51.648000' WHERE "spree_product_properties"."id" = 42 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" != 62) 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" = 116 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 62 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 214) 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-18 09:01:51.667000', 'Oils', '2012-09-18 09:01:51.667000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 118 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-18 09:01:51.674000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 118, '2012-09-18 09:01:51.674000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 216) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 116 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" = 214 AND "spree_taxons"."taxonomy_id" = 116 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 214 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-18 09:01:51.687000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 214, 'paintings/nature', 0, 8, 116, '2012-09-18 09:01:51.687000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 214 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 217 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 217 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 214 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 217 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 217 AND "spree_taxons"."taxonomy_id" = 116 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" = 217 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-18 09:01:51.705000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 217, 'paintings/nature/seascape', 0, 10, 116, '2012-09-18 09:01:51.705000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 217 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 218 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 = 218 THEN 217 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 217 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 218 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 217)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (62, 218) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 62) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 62 AND "spree_option_types"."id" = 41 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" = 62) ORDER BY position 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-18 09:01:51.731000', 41, 1, 62, '2012-09-18 09:01:51.731000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.741000' WHERE "spree_products"."id" = 62 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 62, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.746000' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (154, 41) 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" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.752000' WHERE "spree_products"."id" = 62 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 62, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.755000' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (155, 42) 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" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.765000' WHERE "spree_products"."id" = 62 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 62, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.769000' WHERE "spree_products"."id" = 62  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (156, 43) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 62 AND ("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" != 62) 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" != 62) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 154 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 156 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" != 62) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.799000' WHERE "spree_products"."id" = 62  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 154 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.802000' WHERE "spree_products"."id" = 62 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.805000' WHERE "spree_products"."id" = 62  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 155 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.806000' WHERE "spree_products"."id" = 62 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 62 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.808000' WHERE "spree_products"."id" = 62  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 156 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.810000' WHERE "spree_products"."id" = 62 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 62) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:01:51.821000' WHERE "spree_products"."id" = 62 Row 2 succesfully SAVED : ID 62 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:01:51.839000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:01:51.839000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.847000' WHERE "spree_products"."id" = 63 SQL (0.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, 63, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.852000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 157 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.871000' WHERE "spree_products"."id" = 63  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 63  (0.0ms) 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.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-18 09:01:51.879000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:01:51.879000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:51.884000', NULL, 47, '2012-09-18 09:01:51.884000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 63, "updated_at" = '2012-09-18 09:01:51.886000' WHERE "spree_product_properties"."id" = 43 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-18 09:01:51.892000', NULL, 46, '2012-09-18 09:01:51.892000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 63, "updated_at" = '2012-09-18 09:01:51.894000' WHERE "spree_product_properties"."id" = 44 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:01:51.904000', 'yet_another_property', 'Yet another property', '2012-09-18 09:01:51.904000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:51.910000', NULL, 48, '2012-09-18 09:01:51.910000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 63, "updated_at" = '2012-09-18 09:01:51.912000' WHERE "spree_product_properties"."id" = 45 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" != 63) 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-18 09:01:51.919000', 'Drawings', '2012-09-18 09:01:51.919000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 119 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-18 09:01:51.924000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 119, '2012-09-18 09:01:51.924000') 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" = 63 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 219) 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" = 116 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" = 214 AND "spree_taxons"."taxonomy_id" = 116 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" = 214 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:01:51.936000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 214, 'paintings/landscape', 0, 14, 116, '2012-09-18 09:01:51.936000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 214 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 220 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 = 220 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" = 214 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 220 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 220)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (63, 214) 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" != 63) 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" != 63) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 63 AND "spree_option_types"."id" = 41 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" = 63) ORDER BY position 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-18 09:01:51.968000', 41, 1, 63, '2012-09-18 09:01:51.968000') 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" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.976000' WHERE "spree_products"."id" = 63 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 63, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:51.978000' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (158, 41) 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" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.001000' WHERE "spree_products"."id" = 63 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, 63, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.005000' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (159, 42) 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" = 41 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.015000' WHERE "spree_products"."id" = 63 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 63, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.018000' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (160, 43) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 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-18 09:01:52.022000', 'print_type', 0, 'Print type', '2012-09-18 09:01:52.022000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 42 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" = 63) 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-18 09:01:52.032000', 42, 2, 63, '2012-09-18 09:01:52.032000') 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" = 42 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 42) 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-18 09:01:52.036000', 'black_white', 42, 1, NULL, '2012-09-18 09:01:52.036000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.043000' WHERE "spree_products"."id" = 63 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 63, 'DEMO_003_4', NULL, NULL) SQL (19.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.046000' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (161, 44) 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" = 42 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 42) ORDER 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-18 09:01:52.072000', 'colour', 42, 2, NULL, '2012-09-18 09:01:52.072000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.077000' WHERE "spree_products"."id" = 63 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, 63, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.080000' WHERE "spree_products"."id" = 63  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (162, 45) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 63 AND ("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" != 63) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 158 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 159 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 63) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.116000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 158 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.117000' WHERE "spree_products"."id" = 63 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.120000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 159 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.121000' WHERE "spree_products"."id" = 63 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.123000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 160 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.126000' WHERE "spree_products"."id" = 63 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.128000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 161 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.129000' WHERE "spree_products"."id" = 63 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 63 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.147000' WHERE "spree_products"."id" = 63  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 162 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.150000' WHERE "spree_products"."id" = 63 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 63) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:01:52.158000' WHERE "spree_products"."id" = 63 Row 3 succesfully SAVED : ID 63 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 61 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 63 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 63 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:01:52.321000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:01:52.321000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:01:52.387000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:52.387000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.392000' WHERE "spree_products"."id" = 64 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, 64, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.395000' WHERE "spree_products"."id" = 64  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 163 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.401000' WHERE "spree_products"."id" = 64  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 64  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:52.409000', NULL, 49, '2012-09-18 09:01:52.409000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 64, "updated_at" = '2012-09-18 09:01:52.412000' WHERE "spree_product_properties"."id" = 46 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" != 64) 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" != 64) 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" != 64) 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-18 09:01:52.427000', 'Paintings', '2012-09-18 09:01:52.427000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 120 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-18 09:01:52.435000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 120, '2012-09-18 09:01:52.435000') 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" = 64 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 221) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 64) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:52.456000', 'WaterColour', '2012-09-18 09:01:52.456000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 121 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-18 09:01:52.461000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 121, '2012-09-18 09:01:52.461000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (64, 222) 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" != 64) 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" != 64) LIMIT 1 Spree::OptionType Load (0.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-18 09:01:52.477000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:52.477000') 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" = 64 AND "spree_option_types"."id" = 43 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" = 64) ORDER BY position 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-18 09:01:52.488000', 43, 1, 64, '2012-09-18 09:01:52.488000') 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" = 43 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 43) ORDER 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-18 09:01:52.493000', 'jpeg', 43, 1, NULL, '2012-09-18 09:01:52.493000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.528000' WHERE "spree_products"."id" = 64 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 64, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.531000' WHERE "spree_products"."id" = 64  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (164, 46) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("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" != 64) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 64 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 43 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 43) 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-18 09:01:52.555000', 'PDF', 43, 2, NULL, '2012-09-18 09:01:52.555000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.570000' WHERE "spree_products"."id" = 64 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, 64, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.577000' WHERE "spree_products"."id" = 64  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (165, 47) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("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" != 64) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 64 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 43 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 43) ORDER 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-18 09:01:52.587000', 'PNG', 43, 3, NULL, '2012-09-18 09:01:52.587000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.593000' WHERE "spree_products"."id" = 64 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 64, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.595000' WHERE "spree_products"."id" = 64  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (166, 48) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 64 AND ("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" != 64) 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" != 64) 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" != 64) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 166 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" != 64) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.647000' WHERE "spree_products"."id" = 64  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 164 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.649000' WHERE "spree_products"."id" = 64 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.651000' WHERE "spree_products"."id" = 64  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 165 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.655000' WHERE "spree_products"."id" = 64 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 64 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.657000' WHERE "spree_products"."id" = 64  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 166 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.659000' WHERE "spree_products"."id" = 64 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 64) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:01:52.663000' WHERE "spree_products"."id" = 64 Row 1 succesfully SAVED : ID 64 Current value to assign : DEMO_002 Current value to 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-18 09:01:52.675000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:52.675000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.678000' WHERE "spree_products"."id" = 65 SQL (0.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, 65, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.681000' WHERE "spree_products"."id" = 65  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 167 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.683000' WHERE "spree_products"."id" = 65  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 65  (0.0ms) 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.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-18 09:01:52.698000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:01:52.698000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:52.703000', NULL, 50, '2012-09-18 09:01:52.703000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 65, "updated_at" = '2012-09-18 09:01:52.705000' WHERE "spree_product_properties"."id" = 47 Created New ProductProperty # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 65) 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" != 65) 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" != 65) 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" = 120 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" = 65 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 221) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 65) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:52.729000', 'Oils', '2012-09-18 09:01:52.729000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 122 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-18 09:01:52.738000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 122, '2012-09-18 09:01:52.738000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 223) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 65) 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" = 120 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" = 221 AND "spree_taxons"."taxonomy_id" = 120 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" = 221 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-18 09:01:52.754000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 221, 'paintings/nature', 0, 8, 120, '2012-09-18 09:01:52.754000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 221 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 224 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 = 224 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" = 221 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 224 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 224 AND "spree_taxons"."taxonomy_id" = 120 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" = 224 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-18 09:01:52.772000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 224, 'paintings/nature/seascape', 0, 10, 120, '2012-09-18 09:01:52.772000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 224 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 225 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 = 225 THEN 224 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 224 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 225 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 224)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (65, 225) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 65) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 65 AND "spree_option_types"."id" = 43 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" = 65) ORDER BY position 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-18 09:01:52.793000', 43, 1, 65, '2012-09-18 09:01:52.793000') 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" = 43 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.803000' WHERE "spree_products"."id" = 65 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 65, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.805000' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (168, 46) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("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" != 65) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 65 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 43 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.827000' WHERE "spree_products"."id" = 65 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 65, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.829000' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (169, 47) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("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" != 65) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 65 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 43 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.863000' WHERE "spree_products"."id" = 65 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 65, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.866000' WHERE "spree_products"."id" = 65  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (170, 48) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 65 AND ("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" != 65) 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" != 65) 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" != 65) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 168 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 170 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" != 65) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.894000' WHERE "spree_products"."id" = 65  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 168 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.896000' WHERE "spree_products"."id" = 65 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.900000' WHERE "spree_products"."id" = 65  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 169 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.902000' WHERE "spree_products"."id" = 65 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 65 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.904000' WHERE "spree_products"."id" = 65  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 170 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.906000' WHERE "spree_products"."id" = 65 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 65) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:01:52.909000' WHERE "spree_products"."id" = 65 Row 2 succesfully SAVED : ID 65 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:01:52.927000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:01:52.927000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.940000' WHERE "spree_products"."id" = 66 SQL (0.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, 66, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.942000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 171 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:52.946000' WHERE "spree_products"."id" = 66  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 66  (0.0ms) 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.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-18 09:01:52.959000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:01:52.959000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:52.962000', NULL, 51, '2012-09-18 09:01:52.962000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 66, "updated_at" = '2012-09-18 09:01:52.964000' WHERE "spree_product_properties"."id" = 48 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" != 66) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:52.976000', NULL, 50, '2012-09-18 09:01:52.976000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 66, "updated_at" = '2012-09-18 09:01:52.978000' WHERE "spree_product_properties"."id" = 49 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" != 66) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:01:52.984000', 'yet_another_property', 'Yet another property', '2012-09-18 09:01:52.984000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:52.986000', NULL, 52, '2012-09-18 09:01:52.986000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 66, "updated_at" = '2012-09-18 09:01:52.988000' WHERE "spree_product_properties"."id" = 50 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 66) 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-18 09:01:52.995000', 'Drawings', '2012-09-18 09:01:52.995000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 123 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:01:53.007000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 123, '2012-09-18 09:01:53.007000') 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" = 66 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 226) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 66) 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" = 120 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" = 221 AND "spree_taxons"."taxonomy_id" = 120 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" = 221 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-18 09:01:53.026000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 221, 'paintings/landscape', 0, 14, 120, '2012-09-18 09:01:53.026000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 221 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 227 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 = 227 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" = 221 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 227 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 227)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (66, 221) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 66) 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" != 66) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 66 AND "spree_option_types"."id" = 43 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" = 66) ORDER BY position 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-18 09:01:53.048000', 43, 1, 66, '2012-09-18 09:01:53.048000') 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" = 43 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.053000' WHERE "spree_products"."id" = 66 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 66, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.056000' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (172, 46) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("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" != 66) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 66 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 43 LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.071000' WHERE "spree_products"."id" = 66 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 66, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.073000' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (173, 47) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("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" != 66) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 66 AND "spree_option_types"."id" = 43 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 43 LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.088000' WHERE "spree_products"."id" = 66 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 66, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.090000' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (174, 48) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("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" != 66) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:01:53.097000', 'print_type', 0, 'Print type', '2012-09-18 09:01:53.097000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 44 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" = 66) ORDER BY position 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-18 09:01:53.116000', 44, 2, 66, '2012-09-18 09:01:53.116000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::OptionValue Load (18.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 44) 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-18 09:01:53.138000', 'black_white', 44, 1, NULL, '2012-09-18 09:01:53.138000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.150000' WHERE "spree_products"."id" = 66 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 66, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.152000' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (175, 49) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 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" != 66) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 66 AND "spree_option_types"."id" = 44 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 44 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 44) ORDER BY position DESC LIMIT 1 SQL (3.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:01:53.166000', 'colour', 44, 2, NULL, '2012-09-18 09:01:53.166000')  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.174000' WHERE "spree_products"."id" = 66 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, 66, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.177000' WHERE "spree_products"."id" = 66  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (176, 50) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 66 AND ("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" != 66) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 172 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 173 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 66) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.213000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 172 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.215000' WHERE "spree_products"."id" = 66 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.217000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 173 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.218000' WHERE "spree_products"."id" = 66 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.220000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 174 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.222000' WHERE "spree_products"."id" = 66 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.224000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 175 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.226000' WHERE "spree_products"."id" = 66 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 66 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.228000' WHERE "spree_products"."id" = 66  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 176 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:53.233000' WHERE "spree_products"."id" = 66 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 66) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:01:53.238000' WHERE "spree_products"."id" = 66 Row 3 succesfully SAVED : ID 66 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 64 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 66 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 66 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (22.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (21.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (20.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (7.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:01:54.254000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:01:54.254000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.260000' WHERE "spree_products"."id" = 67 SQL (0.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, 67, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.283000' WHERE "spree_products"."id" = 67  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 177 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.289000' WHERE "spree_products"."id" = 67  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 67  (0.0ms) 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.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-18 09:01:54.301000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:01:54.301000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:54.305000', NULL, 53, '2012-09-18 09:01:54.305000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 67, "updated_at" = '2012-09-18 09:01:54.307000' WHERE "spree_product_properties"."id" = 51 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 67) 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-18 09:01:54.318000', 'Paintings', '2012-09-18 09:01:54.318000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 124 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-18 09:01:54.330000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 124, '2012-09-18 09:01:54.330000') 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" = 67 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (67, 228) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:54.337000', 'WaterColour', '2012-09-18 09:01:54.337000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 125 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-18 09:01:54.342000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 125, '2012-09-18 09:01:54.342000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (67, 229) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 67) LIMIT 1 Spree::OptionType Load (0.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-18 09:01:54.355000', 'mime_type', 0, 'Mime type', '2012-09-18 09:01:54.355000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 45 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" = 67) ORDER BY position 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-18 09:01:54.410000', 45, 1, 67, '2012-09-18 09:01:54.410000') 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" = 45 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 45) ORDER 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-18 09:01:54.423000', 'jpeg', 45, 1, NULL, '2012-09-18 09:01:54.423000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.429000' WHERE "spree_products"."id" = 67 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 67, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.434000' WHERE "spree_products"."id" = 67  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (178, 51) 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" = 45 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 45) ORDER 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-18 09:01:54.441000', 'PDF', 45, 2, NULL, '2012-09-18 09:01:54.441000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.445000' WHERE "spree_products"."id" = 67 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 67, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.448000' WHERE "spree_products"."id" = 67  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (179, 52) 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" = 45 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 45) ORDER 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-18 09:01:54.451000', 'PNG', 45, 3, NULL, '2012-09-18 09:01:54.451000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.457000' WHERE "spree_products"."id" = 67 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 67, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.461000' WHERE "spree_products"."id" = 67  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (180, 53) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 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" != 67) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (2.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 67) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.495000' WHERE "spree_products"."id" = 67  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 178 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.502000' WHERE "spree_products"."id" = 67 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.504000' WHERE "spree_products"."id" = 67  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 179 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.506000' WHERE "spree_products"."id" = 67 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.509000' WHERE "spree_products"."id" = 67  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 180 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:54.513000' WHERE "spree_products"."id" = 67 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 67) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 67 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" = 177 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 177 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:01:54.614000', 240, 0, 'Spree::Image', 177, 'Spree::Variant') Product assigned an Image : nil 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" != 67) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:01:55.171000' WHERE "spree_products"."id" = 67 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:01:55.255000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:01:55.255000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.259000' WHERE "spree_products"."id" = 68 SQL (0.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, 68, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.263000' WHERE "spree_products"."id" = 68  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 181 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.265000' WHERE "spree_products"."id" = 68  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 68  (1.0ms) 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.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-18 09:01:55.273000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:01:55.273000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:55.276000', NULL, 54, '2012-09-18 09:01:55.276000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 68, "updated_at" = '2012-09-18 09:01:55.278000' WHERE "spree_product_properties"."id" = 52 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" != 68) 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" = 124 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 68 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 228) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:01:55.293000', 'Landscape', '2012-09-18 09:01:55.293000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 126 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-18 09:01:55.311000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 126, '2012-09-18 09:01:55.311000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 230) 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-18 09:01:55.322000', 'Oils', '2012-09-18 09:01:55.322000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 127 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-18 09:01:55.326000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 127, '2012-09-18 09:01:55.326000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (68, 231) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 68) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 68 AND "spree_option_types"."id" = 45 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" = 68) ORDER BY position 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-18 09:01:55.340000', 45, 1, 68, '2012-09-18 09:01:55.340000') 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" = 45 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.346000' WHERE "spree_products"."id" = 68 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, 68, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.349000' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (182, 51) 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" = 45 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.357000' WHERE "spree_products"."id" = 68 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 68, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.359000' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (183, 52) 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" = 45 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.383000' WHERE "spree_products"."id" = 68 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 68, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.386000' WHERE "spree_products"."id" = 68  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (184, 53) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 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" != 68) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 182 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" = 183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 68) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.415000' WHERE "spree_products"."id" = 68  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 182 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.417000' WHERE "spree_products"."id" = 68 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.421000' WHERE "spree_products"."id" = 68  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 183 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.423000' WHERE "spree_products"."id" = 68 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.425000' WHERE "spree_products"."id" = 68  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 184 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:55.426000' WHERE "spree_products"."id" = 68 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 68) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 68 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" = 181 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 181 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:01:55.495000', 2424, 0, 'Spree::Image', 181, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 68) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:01:59.374000' WHERE "spree_products"."id" = 68 Current value 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-18 09:01:59.392000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:01:59.392000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.395000' WHERE "spree_products"."id" = 69 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, 69, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.397000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 185 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.400000' WHERE "spree_products"."id" = 69  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 69  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:01:59.408000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:01:59.408000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:59.410000', NULL, 55, '2012-09-18 09:01:59.410000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 69, "updated_at" = '2012-09-18 09:01:59.412000' WHERE "spree_product_properties"."id" = 53 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-18 09:01:59.415000', NULL, 54, '2012-09-18 09:01:59.415000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 69, "updated_at" = '2012-09-18 09:01:59.417000' WHERE "spree_product_properties"."id" = 54 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-18 09:01:59.425000', 'yet_another_property', 'Yet another property', '2012-09-18 09:01:59.425000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:01:59.427000', NULL, 56, '2012-09-18 09:01:59.427000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 69, "updated_at" = '2012-09-18 09:01:59.429000' WHERE "spree_product_properties"."id" = 55 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" != 69) 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-18 09:01:59.433000', 'Drawings', '2012-09-18 09:01:59.433000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 128 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-18 09:01:59.438000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 128, '2012-09-18 09:01:59.438000') 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" = 69 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (69, 232) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 69) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 69 AND "spree_option_types"."id" = 45 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" = 69) ORDER BY position 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-18 09:01:59.455000', 45, 1, 69, '2012-09-18 09:01:59.455000') 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" = 45 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.461000' WHERE "spree_products"."id" = 69 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 69, 'DEMO_003_1', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.469000' WHERE "spree_products"."id" = 69  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (186, 51) 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" = 45 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.477000' WHERE "spree_products"."id" = 69 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 69, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.481000' WHERE "spree_products"."id" = 69  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (187, 52) 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" = 45 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.485000' WHERE "spree_products"."id" = 69 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 69, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.487000' WHERE "spree_products"."id" = 69  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (188, 53) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 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-18 09:01:59.491000', 'print_type', 0, 'Print type', '2012-09-18 09:01:59.491000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 46 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" = 69) 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-18 09:01:59.519000', 46, 2, 69, '2012-09-18 09:01:59.519000') 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" = 46 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 46) 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-18 09:01:59.523000', 'black_white', 46, 1, NULL, '2012-09-18 09:01:59.523000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.529000' WHERE "spree_products"."id" = 69 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 69, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.531000' WHERE "spree_products"."id" = 69  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (189, 54) 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" = 46 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 46) ORDER 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-18 09:01:59.534000', 'colour', 46, 2, NULL, '2012-09-18 09:01:59.534000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.543000' WHERE "spree_products"."id" = 69 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 69, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.546000' WHERE "spree_products"."id" = 69  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (190, 55) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 AND ("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" != 69) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 186 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 187 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 188 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" = 189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 190 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" != 69) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.579000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 186 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.581000' WHERE "spree_products"."id" = 69 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.583000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 187 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.585000' WHERE "spree_products"."id" = 69 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.586000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 188 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.588000' WHERE "spree_products"."id" = 69 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.590000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 189 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.591000' WHERE "spree_products"."id" = 69 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.593000' WHERE "spree_products"."id" = 69  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 190 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:01:59.594000' WHERE "spree_products"."id" = 69 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 69) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 69 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" = 185 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 185 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:01:59.606000', 240, 0, 'Spree::Image', 185, 'Spree::Variant') Product assigned an Image : nil 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" != 69) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:02:00.146000' WHERE "spree_products"."id" = 69 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" = 67 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 = 177) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 67)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 177 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 67 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 = 177) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 67)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 68 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 = 181) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 68)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 69 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 = 185) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 69))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:02:00.367000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:02:00.367000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.371000' WHERE "spree_products"."id" = 70 SQL (0.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, 70, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.374000' WHERE "spree_products"."id" = 70  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 191 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.378000' WHERE "spree_products"."id" = 70  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 70  (0.0ms) 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::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-18 09:02:00.385000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:02:00.385000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:02:00.387000', NULL, 57, '2012-09-18 09:02:00.387000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 70, "updated_at" = '2012-09-18 09:02:00.390000' WHERE "spree_product_properties"."id" = 56 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" != 70) 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-18 09:02:00.394000', 'Paintings', '2012-09-18 09:02:00.394000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 129 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-18 09:02:00.399000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 129, '2012-09-18 09:02:00.399000') 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" = 70 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (70, 233) 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-18 09:02:00.408000', 'WaterColour', '2012-09-18 09:02:00.408000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 130 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-18 09:02:00.416000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 130, '2012-09-18 09:02:00.416000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (70, 234) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 70) LIMIT 1 Spree::OptionType Load (0.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-18 09:02:00.449000', 'mime_type', 0, 'Mime type', '2012-09-18 09:02:00.449000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 47 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" = 70) ORDER BY position 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-18 09:02:00.456000', 47, 1, 70, '2012-09-18 09:02:00.456000') 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" = 47 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 47) ORDER 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-18 09:02:00.460000', 'jpeg', 47, 1, NULL, '2012-09-18 09:02:00.460000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.464000' WHERE "spree_products"."id" = 70 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 70, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.468000' WHERE "spree_products"."id" = 70  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (192, 56) 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" = 47 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 47) ORDER 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-18 09:02:00.489000', 'PDF', 47, 2, NULL, '2012-09-18 09:02:00.489000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.494000' WHERE "spree_products"."id" = 70 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 70, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.497000' WHERE "spree_products"."id" = 70  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (193, 57) 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" = 47 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 47) ORDER 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-18 09:02:00.511000', 'PNG', 47, 3, NULL, '2012-09-18 09:02:00.511000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.516000' WHERE "spree_products"."id" = 70 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 70, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.518000' WHERE "spree_products"."id" = 70  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (194, 58) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 AND ("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" != 70) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 192 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 194 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" != 70) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.549000' WHERE "spree_products"."id" = 70  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 192 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.550000' WHERE "spree_products"."id" = 70 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.559000' WHERE "spree_products"."id" = 70  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 193 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.562000' WHERE "spree_products"."id" = 70 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.564000' WHERE "spree_products"."id" = 70  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 194 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:00.565000' WHERE "spree_products"."id" = 70 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 70) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 70 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" = 191 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 191 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:02:00.573000', 240, 0, 'Spree::Image', 191, 'Spree::Variant') Product assigned an Image : nil 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" != 70) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:02:01.050000' WHERE "spree_products"."id" = 70 Row 1 succesfully SAVED : ID 70 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:02:01.059000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:02:01.059000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.083000' WHERE "spree_products"."id" = 71 SQL (0.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, 71, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.089000' WHERE "spree_products"."id" = 71  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 195 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.092000' WHERE "spree_products"."id" = 71  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 71  (0.0ms) 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::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-18 09:02:01.103000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:02:01.103000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:02:01.111000', NULL, 58, '2012-09-18 09:02:01.111000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 71, "updated_at" = '2012-09-18 09:02:01.115000' WHERE "spree_product_properties"."id" = 57 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" != 71) 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" = 129 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" = 71 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (71, 233) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:01.127000', 'Landscape', '2012-09-18 09:02:01.127000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 131 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-18 09:02:01.134000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 131, '2012-09-18 09:02:01.134000') Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (71, 235) 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-18 09:02:01.153000', 'Oils', '2012-09-18 09:02:01.153000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 132 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-18 09:02:01.163000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 132, '2012-09-18 09:02:01.163000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (71, 236) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 71) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 71 AND "spree_option_types"."id" = 47 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" = 71) ORDER BY position 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-18 09:02:01.188000', 47, 1, 71, '2012-09-18 09:02:01.188000') 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" = 47 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.196000' WHERE "spree_products"."id" = 71 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, 71, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.198000' WHERE "spree_products"."id" = 71  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (196, 56) 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" = 47 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.205000' WHERE "spree_products"."id" = 71 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 71, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.207000' WHERE "spree_products"."id" = 71  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (197, 57) 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" = 47 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.213000' WHERE "spree_products"."id" = 71 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 71, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.215000' WHERE "spree_products"."id" = 71  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (198, 58) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 AND ("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" != 71) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 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" = 196 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 198 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" != 71) LIMIT 1  (0.0ms) 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) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.235000' WHERE "spree_products"."id" = 71  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 196 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.243000' WHERE "spree_products"."id" = 71 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.246000' WHERE "spree_products"."id" = 71  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 197 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.247000' WHERE "spree_products"."id" = 71 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.249000' WHERE "spree_products"."id" = 71  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 198 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:01.252000' WHERE "spree_products"."id" = 71 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 71) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 71 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" = 195 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 195 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:02:01.325000', 2424, 0, 'Spree::Image', 195, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 71) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:02:05.073000' WHERE "spree_products"."id" = 71 Row 2 succesfully SAVED : ID 71 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:02:05.087000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:02:05.087000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.091000' WHERE "spree_products"."id" = 72 SQL (0.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, 72, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.093000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 199 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.095000' WHERE "spree_products"."id" = 72  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 72  (0.0ms) 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.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-18 09:02:05.102000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:02:05.102000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:02:05.106000', NULL, 59, '2012-09-18 09:02:05.106000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 72, "updated_at" = '2012-09-18 09:02:05.107000' WHERE "spree_product_properties"."id" = 58 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-18 09:02:05.115000', NULL, 58, '2012-09-18 09:02:05.115000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 72, "updated_at" = '2012-09-18 09:02:05.117000' WHERE "spree_product_properties"."id" = 59 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-18 09:02:05.121000', 'yet_another_property', 'Yet another property', '2012-09-18 09:02:05.121000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:02:05.125000', NULL, 60, '2012-09-18 09:02:05.125000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 72, "updated_at" = '2012-09-18 09:02:05.129000' WHERE "spree_product_properties"."id" = 60 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" != 72) 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-18 09:02:05.137000', 'Drawings', '2012-09-18 09:02:05.137000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 133 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-18 09:02:05.142000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 133, '2012-09-18 09:02:05.142000') 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" = 72 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (72, 237) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 72) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 72 AND "spree_option_types"."id" = 47 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" = 72) ORDER BY position 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-18 09:02:05.157000', 47, 1, 72, '2012-09-18 09:02:05.157000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 47 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.163000' WHERE "spree_products"."id" = 72 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 72, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.165000' WHERE "spree_products"."id" = 72  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (200, 56) 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" = 47 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.169000' WHERE "spree_products"."id" = 72 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 72, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.171000' WHERE "spree_products"."id" = 72  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (201, 57) 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" = 47 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.176000' WHERE "spree_products"."id" = 72 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, 72, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.178000' WHERE "spree_products"."id" = 72  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (202, 58) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 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-18 09:02:05.182000', 'print_type', 0, 'Print type', '2012-09-18 09:02:05.182000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 72 AND "spree_option_types"."id" = 48 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" = 72) ORDER BY position 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-18 09:02:05.194000', 48, 2, 72, '2012-09-18 09:02:05.194000') 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" = 48 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 48) ORDER 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-18 09:02:05.197000', 'black_white', 48, 1, NULL, '2012-09-18 09:02:05.197000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.203000' WHERE "spree_products"."id" = 72 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 72, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.205000' WHERE "spree_products"."id" = 72  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (203, 59) 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" = 48 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 48) 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-18 09:02:05.208000', 'colour', 48, 2, NULL, '2012-09-18 09:02:05.208000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.221000' WHERE "spree_products"."id" = 72 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 72, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.222000' WHERE "spree_products"."id" = 72  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (204, 60) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 AND ("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" != 72) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 200 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 204 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" != 72) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.266000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 200 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.269000' WHERE "spree_products"."id" = 72 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.272000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 201 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.273000' WHERE "spree_products"."id" = 72 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.275000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 202 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.277000' WHERE "spree_products"."id" = 72 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.279000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 203 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.280000' WHERE "spree_products"."id" = 72 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.282000' WHERE "spree_products"."id" = 72  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 204 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:02:05.283000' WHERE "spree_products"."id" = 72 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 72) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 72 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" = 199 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 199 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:02:05.298000', 240, 0, 'Spree::Image', 199, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 72) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:02:05.824000' WHERE "spree_products"."id" = 72 Row 3 succesfully SAVED : ID 72 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 70 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 = 191) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 70)) 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" = 70 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 = 191) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 70)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 71 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 = 195) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 71)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 72 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 = 199) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 72))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:06.112000', 'Paintings', '2012-09-18 09:02:06.112000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 134 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-18 09:02:06.119000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 134, '2012-09-18 09:02:06.119000')  (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-18 09:02:06.128000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 134, '2012-09-18 09:02:06.128000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:02:06.138000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 134, '2012-09-18 09:02:06.138000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:06.205000', 'Paintings', '2012-09-18 09:02:06.205000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 135 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-18 09:02:06.210000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 135, '2012-09-18 09:02:06.210000')  (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-18 09:02:06.219000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 135, '2012-09-18 09:02:06.219000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:02:06.225000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 135, '2012-09-18 09:02:06.225000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 135 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 135 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 135 LIMIT 1 Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:06.376000', 'Paintings', '2012-09-18 09:02:06.376000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 136 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-18 09:02:06.405000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 136, '2012-09-18 09:02:06.405000')  (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-18 09:02:06.415000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 136, '2012-09-18 09:02:06.415000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 244, "updated_at" = '2012-09-18 09:02:06.434000' WHERE "spree_taxons"."id" = 245 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 244 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 245 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 245 THEN 244 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 244 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 245 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 244 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:06.512000', 'Paintings', '2012-09-18 09:02:06.512000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 137 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (22.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_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-18 09:02:06.539000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 137, '2012-09-18 09:02:06.539000')  (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-18 09:02:06.573000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 137, '2012-09-18 09:02:06.573000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 246, "updated_at" = '2012-09-18 09:02:06.581000' WHERE "spree_taxons"."id" = 247 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 246 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 247 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" = 246 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 247 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 246 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (23.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:02:06.667000', 'Paintings', '2012-09-18 09:02:06.667000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 138 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-18 09:02:06.706000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 138, '2012-09-18 09:02:06.706000')  (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-18 09:02:06.717000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 138, '2012-09-18 09:02:06.717000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 248, "updated_at" = '2012-09-18 09:02:06.724000' WHERE "spree_taxons"."id" = 249 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 248 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 249 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 249 THEN 248 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 248 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 249 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 248 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (22.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (22.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (24.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (23.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (22.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (22.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:08.264000', 'Paintings', '2012-09-18 09:07:08.264000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 139 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-18 09:07:08.669000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 139, '2012-09-18 09:07:08.669000')  (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-18 09:07:08.698000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 139, '2012-09-18 09:07:08.698000')  (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-18 09:07:08.719000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 139, '2012-09-18 09:07:08.719000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (30.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:09.197000', 'Paintings', '2012-09-18 09:07:09.197000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 140 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-18 09:07:09.299000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 140, '2012-09-18 09:07:09.299000')  (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-18 09:07:09.327000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 140, '2012-09-18 09:07:09.327000')  (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-18 09:07:09.358000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 140, '2012-09-18 09:07:09.358000') ExcelGenerator creating template with associations for class Spree::Product SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (19.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:09.437000', 'Paintings', '2012-09-18 09:07:09.437000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 141 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-18 09:07:09.471000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 141, '2012-09-18 09:07:09.471000')  (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-18 09:07:09.489000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 141, '2012-09-18 09:07:09.489000')  (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-18 09:07:09.510000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 141, '2012-09-18 09:07:09.510000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:09.871000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:07:09.871000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 11 Row 1 succesfully SAVED : ID 11 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:09.945000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:07:09.945000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 12 Row 2 succesfully SAVED : ID 12 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:09.956000', 'f', 'Europe', 'EUR', '2012-09-18 09:07:09.956000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 13 Row 3 succesfully SAVED : ID 13 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:09.969000', 'f', 'North America', 'NA', '2012-09-18 09:07:09.969000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 14 Row 4 succesfully SAVED : ID 14 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (18.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:10.077000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:07:10.077000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:10.088000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:07:10.088000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 16 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:10.113000', 'f', 'Europe', 'EUR', '2012-09-18 09:07:10.113000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:07:10.138000', 'f', 'North America', 'NA', '2012-09-18 09:07:10.138000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 18  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (16.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:07:10.456000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:10.456000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 73 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.481000' WHERE "spree_products"."id" = 73 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, 345.78, 73, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.491000' WHERE "spree_products"."id" = 73  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 205 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.501000' WHERE "spree_products"."id" = 73  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 73  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 205 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 73) LIMIT 1 Spree::OptionType Load (0.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-18 09:07:10.614000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:10.614000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 49 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" = 73) ORDER BY position 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-18 09:07:10.693000', 49, 1, 73, '2012-09-18 09:07:10.693000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 73) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:07:10.705000' WHERE "spree_products"."id" = 73  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 205 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.711000' WHERE "spree_products"."id" = 73 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 73 Row 1 succesfully SAVED : ID 73 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:07:10.745000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:10.745000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 74 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.784000' WHERE "spree_products"."id" = 74 SQL (0.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, 74, 'SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.794000' WHERE "spree_products"."id" = 74  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 206 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.799000' WHERE "spree_products"."id" = 74  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 74 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 74  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 74) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 74 AND "spree_option_types"."id" = 49 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" = 74) ORDER BY position 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-18 09:07:10.871000', 49, 1, 74, '2012-09-18 09:07:10.871000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 74) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:07:10.887000' WHERE "spree_products"."id" = 74  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 206 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.896000' WHERE "spree_products"."id" = 74 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 74 Row 2 succesfully SAVED : ID 74 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:07:10.922000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:07:10.922000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 75 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.946000' WHERE "spree_products"."id" = 75 SQL (0.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, 75, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.953000' WHERE "spree_products"."id" = 75  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 207 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:10.959000' WHERE "spree_products"."id" = 75  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 75  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 207 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" != 75) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 75 AND "spree_option_types"."id" = 49 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" = 75) ORDER BY position 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-18 09:07:10.995000', 49, 1, 75, '2012-09-18 09:07:10.995000') 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-18 09:07:11.002000', 'print_type', 0, 'Print type', '2012-09-18 09:07:11.002000') 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" = 75 AND "spree_option_types"."id" = 50 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" = 75) ORDER BY position 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-18 09:07:11.047000', 50, 2, 75, '2012-09-18 09:07:11.047000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 75) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:07:11.058000' WHERE "spree_products"."id" = 75  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 207 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.080000' WHERE "spree_products"."id" = 75 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 75 Row 3 succesfully SAVED : ID 75 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:07:11.163000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:07:11.164000')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 73 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 73 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 75 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (18.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:07:11.380000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:11.380000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 76 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.392000' WHERE "spree_products"."id" = 76 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 76, 'SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.396000' WHERE "spree_products"."id" = 76  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 208 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.400000' WHERE "spree_products"."id" = 76  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 76  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 76) LIMIT 1 Spree::OptionType Load (0.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-18 09:07:11.435000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:11.435000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 51 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" = 76) ORDER BY position 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-18 09:07:11.502000', 51, 1, 76, '2012-09-18 09:07:11.502000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 76) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:07:11.525000' WHERE "spree_products"."id" = 76  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 208 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.536000' WHERE "spree_products"."id" = 76 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 76 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:07:11.571000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:11.571000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 77 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.577000' WHERE "spree_products"."id" = 77 SQL (0.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, 77, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.583000' WHERE "spree_products"."id" = 77  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 209 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.586000' WHERE "spree_products"."id" = 77  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 77 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 77  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 209 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 77) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 77 AND "spree_option_types"."id" = 51 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" = 77) ORDER BY position 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-18 09:07:11.968000', 51, 1, 77, '2012-09-18 09:07:11.968000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 77) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:07:11.977000' WHERE "spree_products"."id" = 77  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 209 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:11.986000' WHERE "spree_products"."id" = 77 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 77 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:07:12.008000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:07:12.008000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 78 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.029000' WHERE "spree_products"."id" = 78 SQL (0.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, 78, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.033000' WHERE "spree_products"."id" = 78  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 210 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.054000' WHERE "spree_products"."id" = 78  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 78  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 78) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 78 AND "spree_option_types"."id" = 51 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" = 78) ORDER BY position 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-18 09:07:12.117000', 51, 1, 78, '2012-09-18 09:07:12.117000') 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-18 09:07:12.122000', 'print_type', 0, 'Print type', '2012-09-18 09:07:12.122000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 52 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" = 78) ORDER BY position 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-18 09:07:12.176000', 52, 2, 78, '2012-09-18 09:07:12.176000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 78) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:07:12.183000' WHERE "spree_products"."id" = 78  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 210 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.189000' WHERE "spree_products"."id" = 78 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 78  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:07:12.207000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:07:12.208000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 76 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 76 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 78 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (20.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:07:12.000000', 0, '2012-09-18 09:07:12.384000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:12.384000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 79 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.392000' WHERE "spree_products"."id" = 79 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 79, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.400000' WHERE "spree_products"."id" = 79  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 211 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.407000' WHERE "spree_products"."id" = 79  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 79  (0.0ms) 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::OptionType Load (0.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-18 09:07:12.429000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:12.429000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 53 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" = 79) ORDER BY position 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-18 09:07:12.447000', 53, 1, 79, '2012-09-18 09:07:12.447000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 79) LIMIT 1 Row 1 succesfully SAVED : ID 79 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:07:12.000000', 0, '2012-09-18 09:07:12.507000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:12.507000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 80 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.512000' WHERE "spree_products"."id" = 80 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 80, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.571000' WHERE "spree_products"."id" = 80  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 212 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.591000' WHERE "spree_products"."id" = 80  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 80 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 80  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 80 AND "spree_option_types"."id" = 53 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" = 80) ORDER BY position 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-18 09:07:12.611000', 53, 1, 80, '2012-09-18 09:07:12.611000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 80) LIMIT 1 Row 2 succesfully SAVED : ID 80 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:07:12.000000', 0, '2012-09-18 09:07:12.665000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:07:12.665000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 81 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.668000' WHERE "spree_products"."id" = 81 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 81, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.672000' WHERE "spree_products"."id" = 81  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 213 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.676000' WHERE "spree_products"."id" = 81  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 81 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 81  (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_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" = 81 AND "spree_option_types"."id" = 53 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" = 81) ORDER BY position 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-18 09:07:12.700000', 53, 1, 81, '2012-09-18 09:07:12.700000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:07:12.704000', 'print_type', 0, 'Print type', '2012-09-18 09:07:12.704000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 54 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" = 81) ORDER BY position 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-18 09:07:12.712000', 54, 2, 81, '2012-09-18 09:07:12.712000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 81) LIMIT 1 Row 3 succesfully SAVED : ID 81 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 79 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:07:12.859000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:12.859000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 82 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.879000' WHERE "spree_products"."id" = 82 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 82, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.884000' WHERE "spree_products"."id" = 82  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 214 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.917000' WHERE "spree_products"."id" = 82  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 82  (1.0ms) 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::OptionType Load (0.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-18 09:07:12.935000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:12.935000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 55 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" = 82) ORDER BY position 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-18 09:07:12.951000', 55, 1, 82, '2012-09-18 09:07:12.951000') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 82) LIMIT 1 Row 1 succesfully SAVED : ID 82 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:07:12.990000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:12.990000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 83 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:12.997000' WHERE "spree_products"."id" = 83 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 83, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.001000' WHERE "spree_products"."id" = 83  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 215 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.009000' WHERE "spree_products"."id" = 83  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 83 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 83  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 83 AND "spree_option_types"."id" = 55 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" = 83) ORDER BY position 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-18 09:07:13.028000', 55, 1, 83, '2012-09-18 09:07:13.028000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 83) LIMIT 1 Row 2 succesfully SAVED : ID 83 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:07:13.064000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:07:13.064000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 84 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.070000' WHERE "spree_products"."id" = 84 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 84, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.074000' WHERE "spree_products"."id" = 84  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 216 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.077000' WHERE "spree_products"."id" = 84  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 84 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 84  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 84 AND "spree_option_types"."id" = 55 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" = 84) ORDER BY position 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-18 09:07:13.093000', 55, 1, 84, '2012-09-18 09:07:13.093000') 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-18 09:07:13.098000', 'print_type', 0, 'Print type', '2012-09-18 09:07:13.098000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 84 AND "spree_option_types"."id" = 56 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" = 84) ORDER BY position 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-18 09:07:13.107000', 56, 2, 84, '2012-09-18 09:07:13.107000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 84) LIMIT 1 Row 3 succesfully SAVED : ID 84 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 82 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (18.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:13.260000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:07:13.260000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:07:13.297000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:13.297000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.318000' WHERE "spree_products"."id" = 85 SQL (0.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, 85, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.322000' WHERE "spree_products"."id" = 85  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 217 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.331000' WHERE "spree_products"."id" = 85  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 85  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:13.387000', NULL, 61, '2012-09-18 09:07:13.387000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 85, "updated_at" = '2012-09-18 09:07:13.397000' WHERE "spree_product_properties"."id" = 61 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 85) 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-18 09:07:13.403000', 'Paintings', '2012-09-18 09:07:13.403000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 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-18 09:07:13.411000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 142, '2012-09-18 09:07:13.411000') 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" = 85 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (85, 259) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:13.425000', 'WaterColour', '2012-09-18 09:07:13.425000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 143 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-18 09:07:13.434000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 143, '2012-09-18 09:07:13.434000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (85, 260) 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" != 85) 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" != 85) LIMIT 1 Spree::OptionType Load (0.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-18 09:07:13.458000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:13.458000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 57 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" = 85) ORDER BY position 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-18 09:07:13.476000', 57, 1, 85, '2012-09-18 09:07:13.476000') 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" = 57 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER 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-18 09:07:13.517000', 'jpeg', 57, 1, NULL, '2012-09-18 09:07:13.517000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.524000' WHERE "spree_products"."id" = 85 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 85, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.529000' WHERE "spree_products"."id" = 85  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (218, 61) 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" = 57 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER 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-18 09:07:13.542000', 'PDF', 57, 2, NULL, '2012-09-18 09:07:13.542000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.548000' WHERE "spree_products"."id" = 85 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 85, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.550000' WHERE "spree_products"."id" = 85  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (219, 62) 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" = 57 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 57) ORDER 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-18 09:07:13.556000', 'PNG', 57, 3, NULL, '2012-09-18 09:07:13.556000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.569000' WHERE "spree_products"."id" = 85 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, 85, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.578000' WHERE "spree_products"."id" = 85  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (220, 63) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 AND ("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" != 85) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 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" = 85 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 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" = 218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 85) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.613000' WHERE "spree_products"."id" = 85  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 218 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.615000' WHERE "spree_products"."id" = 85 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.617000' WHERE "spree_products"."id" = 85  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 219 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.619000' WHERE "spree_products"."id" = 85 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 85 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.622000' WHERE "spree_products"."id" = 85  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 220 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.623000' WHERE "spree_products"."id" = 85 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 85) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 85 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-18 09:07:13.630000' WHERE "spree_products"."id" = 85 Row 1 succesfully SAVED : ID 85 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (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-18 09:07:13.675000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:13.675000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.681000' WHERE "spree_products"."id" = 86 SQL (0.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, 86, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.688000' WHERE "spree_products"."id" = 86  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 221 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.691000' WHERE "spree_products"."id" = 86  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 86  (0.0ms) 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::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-18 09:07:13.700000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:07:13.700000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:13.703000', NULL, 62, '2012-09-18 09:07:13.703000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 86, "updated_at" = '2012-09-18 09:07:13.708000' WHERE "spree_product_properties"."id" = 62 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" != 86) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 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" = 86 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (86, 259) 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-18 09:07:13.719000', 'Oils', '2012-09-18 09:07:13.719000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 144 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-18 09:07:13.726000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 144, '2012-09-18 09:07:13.726000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (86, 261) 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" = 142 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" = 259 AND "spree_taxons"."taxonomy_id" = 142 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" = 259 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-18 09:07:13.741000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 259, 'paintings/nature', 0, 8, 142, '2012-09-18 09:07:13.741000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 259 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 262 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 262 THEN 259 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 259 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 262 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 262 AND "spree_taxons"."taxonomy_id" = 142 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" = 262 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-18 09:07:13.758000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 262, 'paintings/nature/seascape', 0, 10, 142, '2012-09-18 09:07:13.758000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 262 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 263 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 = 263 THEN 262 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 262 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 263 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (86, 262)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (86, 263) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 86) 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" = 86 AND "spree_option_types"."id" = 57 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" = 86) ORDER BY position 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-18 09:07:13.783000', 57, 1, 86, '2012-09-18 09:07:13.783000') 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.796000' WHERE "spree_products"."id" = 86 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 86, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.801000' WHERE "spree_products"."id" = 86  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (222, 61) 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.807000' WHERE "spree_products"."id" = 86 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 86, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.811000' WHERE "spree_products"."id" = 86  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (223, 62) 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.818000' WHERE "spree_products"."id" = 86 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 86, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.822000' WHERE "spree_products"."id" = 86  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (224, 63) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 AND ("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" != 86) 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" != 86) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 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" = 86 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 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" = 222 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" = 223 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" = 224 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" != 86) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.854000' WHERE "spree_products"."id" = 86  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 222 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.858000' WHERE "spree_products"."id" = 86 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.860000' WHERE "spree_products"."id" = 86  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 223 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.862000' WHERE "spree_products"."id" = 86 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 86 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.864000' WHERE "spree_products"."id" = 86  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 224 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.866000' WHERE "spree_products"."id" = 86 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" != 86) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 86 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-18 09:07:13.877000' WHERE "spree_products"."id" = 86 Row 2 succesfully SAVED : ID 86 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:07:13.896000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:07:13.896000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.905000' WHERE "spree_products"."id" = 87 SQL (0.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, 87, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.908000' WHERE "spree_products"."id" = 87  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 225 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:13.911000' WHERE "spree_products"."id" = 87  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 87  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:13.945000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:07:13.945000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:13.954000', NULL, 63, '2012-09-18 09:07:13.954000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 87, "updated_at" = '2012-09-18 09:07:13.957000' WHERE "spree_product_properties"."id" = 63 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-18 09:07:13.961000', NULL, 62, '2012-09-18 09:07:13.961000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 87, "updated_at" = '2012-09-18 09:07:13.963000' WHERE "spree_product_properties"."id" = 64 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-18 09:07:13.975000', 'yet_another_property', 'Yet another property', '2012-09-18 09:07:13.975000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:13.984000', NULL, 64, '2012-09-18 09:07:13.984000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 87, "updated_at" = '2012-09-18 09:07:13.986000' WHERE "spree_product_properties"."id" = 65 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 87) 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-18 09:07:13.995000', 'Drawings', '2012-09-18 09:07:13.995000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 145 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-18 09:07:13.999000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 145, '2012-09-18 09:07:13.999000') 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" = 87 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (87, 264) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 142 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" = 259 AND "spree_taxons"."taxonomy_id" = 142 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" = 259 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-18 09:07:14.016000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 259, 'paintings/landscape', 0, 14, 142, '2012-09-18 09:07:14.016000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 259 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 265 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 = 265 THEN 259 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 259 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 265 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (87, 265)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (87, 259) 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" != 87) 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" != 87) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 87 AND "spree_option_types"."id" = 57 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" = 87) ORDER BY position 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-18 09:07:14.044000', 57, 1, 87, '2012-09-18 09:07:14.044000') 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.053000' WHERE "spree_products"."id" = 87 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 87, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.056000' WHERE "spree_products"."id" = 87  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (226, 61) 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.079000' WHERE "spree_products"."id" = 87 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 87, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.084000' WHERE "spree_products"."id" = 87  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (227, 62) 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" = 57 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.098000' WHERE "spree_products"."id" = 87 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 87, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.100000' WHERE "spree_products"."id" = 87  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (228, 63) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 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-18 09:07:14.106000', 'print_type', 0, 'Print type', '2012-09-18 09:07:14.106000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 58 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" = 87) ORDER BY position 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-18 09:07:14.117000', 58, 2, 87, '2012-09-18 09:07:14.117000') 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" = 58 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 58) ORDER 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-18 09:07:14.122000', 'black_white', 58, 1, NULL, '2012-09-18 09:07:14.122000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.129000' WHERE "spree_products"."id" = 87 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 87, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.154000' WHERE "spree_products"."id" = 87  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (229, 64) 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" = 58 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 58) ORDER 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-18 09:07:14.160000', 'colour', 58, 2, NULL, '2012-09-18 09:07:14.160000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.166000' WHERE "spree_products"."id" = 87 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 87, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.169000' WHERE "spree_products"."id" = 87  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (230, 65) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("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" != 87) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 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" = 87 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 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" = 226 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 228 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 229 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 230 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" != 87) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.204000' WHERE "spree_products"."id" = 87  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 226 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.206000' WHERE "spree_products"."id" = 87 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.208000' WHERE "spree_products"."id" = 87  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 227 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.210000' WHERE "spree_products"."id" = 87 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.211000' WHERE "spree_products"."id" = 87  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 228 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.214000' WHERE "spree_products"."id" = 87 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.216000' WHERE "spree_products"."id" = 87  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 229 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.240000' WHERE "spree_products"."id" = 87 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 87 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.242000' WHERE "spree_products"."id" = 87  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 230 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.244000' WHERE "spree_products"."id" = 87 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 87) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 87 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-18 09:07:14.256000' WHERE "spree_products"."id" = 87 Row 3 succesfully SAVED : ID 87 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (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"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 85 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 87 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 87 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (3.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:14.453000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:07:14.453000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (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-18 09:07:14.525000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:14.525000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.532000' WHERE "spree_products"."id" = 88 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, 88, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.537000' WHERE "spree_products"."id" = 88  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 231 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.541000' WHERE "spree_products"."id" = 88  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 88  (1.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:14.553000', NULL, 65, '2012-09-18 09:07:14.553000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 88, "updated_at" = '2012-09-18 09:07:14.560000' WHERE "spree_product_properties"."id" = 66 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" != 88) 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" != 88) 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" != 88) 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-18 09:07:14.580000', 'Paintings', '2012-09-18 09:07:14.580000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 146 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-18 09:07:14.586000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 146, '2012-09-18 09:07:14.586000') 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" = 88 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (88, 266) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 88) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:14.610000', 'WaterColour', '2012-09-18 09:07:14.610000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 147 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-18 09:07:14.617000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 147, '2012-09-18 09:07:14.617000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (88, 267) 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" != 88) 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" != 88) 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-18 09:07:14.637000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:14.637000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 59 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" = 88) ORDER BY position 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-18 09:07:14.649000', 59, 1, 88, '2012-09-18 09:07:14.649000') 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" = 59 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) ORDER 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-18 09:07:14.655000', 'jpeg', 59, 1, NULL, '2012-09-18 09:07:14.655000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.688000' WHERE "spree_products"."id" = 88 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 88, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.692000' WHERE "spree_products"."id" = 88  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (232, 66) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("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" != 88) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 88 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 59 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) ORDER 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-18 09:07:14.707000', 'PDF', 59, 2, NULL, '2012-09-18 09:07:14.707000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.728000' WHERE "spree_products"."id" = 88 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 88, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.730000' WHERE "spree_products"."id" = 88  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (233, 67) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("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" != 88) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 88 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 59 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 59) 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-18 09:07:14.743000', 'PNG', 59, 3, NULL, '2012-09-18 09:07:14.743000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.750000' WHERE "spree_products"."id" = 88 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 88, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.752000' WHERE "spree_products"."id" = 88  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (234, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("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" != 88) 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" != 88) 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" != 88) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 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" = 88 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 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" = 232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 88) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.806000' WHERE "spree_products"."id" = 88  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 232 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.809000' WHERE "spree_products"."id" = 88 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.812000' WHERE "spree_products"."id" = 88  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 233 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.816000' WHERE "spree_products"."id" = 88 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 88 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.818000' WHERE "spree_products"."id" = 88  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 234 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.820000' WHERE "spree_products"."id" = 88 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 88) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 88 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-18 09:07:14.824000' WHERE "spree_products"."id" = 88 Row 1 succesfully SAVED : ID 88 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:07:14.836000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:14.836000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.840000' WHERE "spree_products"."id" = 89 SQL (0.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, 89, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.842000' WHERE "spree_products"."id" = 89  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 235 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.845000' WHERE "spree_products"."id" = 89  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 89  (0.0ms) 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::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-18 09:07:14.862000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:07:14.862000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:14.865000', NULL, 66, '2012-09-18 09:07:14.865000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 89, "updated_at" = '2012-09-18 09:07:14.867000' WHERE "spree_product_properties"."id" = 67 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" != 89) 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" != 89) 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" != 89) 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" = 146 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" = 89 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (89, 266) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 89) LIMIT 1 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-18 09:07:14.891000', 'Oils', '2012-09-18 09:07:14.891000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 148 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-18 09:07:14.898000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 148, '2012-09-18 09:07:14.898000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (89, 268) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 89) 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" = 146 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" = 266 AND "spree_taxons"."taxonomy_id" = 146 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" = 266 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-18 09:07:14.917000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 266, 'paintings/nature', 0, 8, 146, '2012-09-18 09:07:14.917000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 266 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 269 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 = 269 THEN 266 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 266 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 269 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 269 AND "spree_taxons"."taxonomy_id" = 146 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" = 269 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-18 09:07:14.932000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 269, 'paintings/nature/seascape', 0, 10, 146, '2012-09-18 09:07:14.932000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 269 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 270 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 = 270 THEN 269 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 269 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 270 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (89, 269)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (89, 270) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 89) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 89 AND "spree_option_types"."id" = 59 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" = 89) ORDER BY position 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-18 09:07:14.954000', 59, 1, 89, '2012-09-18 09:07:14.954000') 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" = 59 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.962000' WHERE "spree_products"."id" = 89 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 89, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.965000' WHERE "spree_products"."id" = 89  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (236, 66) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("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" != 89) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 89 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 59 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.986000' WHERE "spree_products"."id" = 89 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 89, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:14.989000' WHERE "spree_products"."id" = 89  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (237, 67) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("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" != 89) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 89 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 59 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.027000' WHERE "spree_products"."id" = 89 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, 89, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.030000' WHERE "spree_products"."id" = 89  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (238, 68) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 AND ("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" != 89) 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" != 89) 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" != 89) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 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" = 89 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" = 89 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" = 236 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 89) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 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" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.062000' WHERE "spree_products"."id" = 89  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 236 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.063000' WHERE "spree_products"."id" = 89 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.067000' WHERE "spree_products"."id" = 89  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 237 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.069000' WHERE "spree_products"."id" = 89 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 89 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.071000' WHERE "spree_products"."id" = 89  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 238 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.073000' WHERE "spree_products"."id" = 89 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 89) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 89 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-18 09:07:15.079000' WHERE "spree_products"."id" = 89 Row 2 succesfully SAVED : ID 89 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:07:15.095000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:07:15.095000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.102000' WHERE "spree_products"."id" = 90 SQL (0.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, 90, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.104000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 239 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.110000' WHERE "spree_products"."id" = 90  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 90  (0.0ms) 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::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-18 09:07:15.118000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:07:15.118000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:15.121000', NULL, 67, '2012-09-18 09:07:15.121000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 90, "updated_at" = '2012-09-18 09:07:15.123000' WHERE "spree_product_properties"."id" = 68 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" != 90) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:15.127000', NULL, 66, '2012-09-18 09:07:15.127000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 90, "updated_at" = '2012-09-18 09:07:15.131000' WHERE "spree_product_properties"."id" = 69 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" != 90) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:15.136000', 'yet_another_property', 'Yet another property', '2012-09-18 09:07:15.136000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:15.140000', NULL, 68, '2012-09-18 09:07:15.140000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 90, "updated_at" = '2012-09-18 09:07:15.146000' WHERE "spree_product_properties"."id" = 70 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" != 90) 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-18 09:07:15.157000', 'Drawings', '2012-09-18 09:07:15.157000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 149 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-18 09:07:15.161000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 149, '2012-09-18 09:07:15.161000') 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" = 90 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (90, 271) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 90) 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" = 146 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" = 266 AND "spree_taxons"."taxonomy_id" = 146 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" = 266 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-18 09:07:15.175000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 266, 'paintings/landscape', 0, 14, 146, '2012-09-18 09:07:15.175000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 266 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 272 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 = 272 THEN 266 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 266 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 272 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (90, 272)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (90, 266) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 90) 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" != 90) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 90 AND "spree_option_types"."id" = 59 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" = 90) ORDER BY position 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-18 09:07:15.195000', 59, 1, 90, '2012-09-18 09:07:15.195000') 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" = 59 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.201000' WHERE "spree_products"."id" = 90 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 90, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.203000' WHERE "spree_products"."id" = 90  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (240, 66) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("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" != 90) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 90 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 59 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.216000' WHERE "spree_products"."id" = 90 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 90, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.218000' WHERE "spree_products"."id" = 90  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (241, 67) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("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" != 90) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 90 AND "spree_option_types"."id" = 59 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 59 LIMIT 1  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.238000' WHERE "spree_products"."id" = 90 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 90, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.240000' WHERE "spree_products"."id" = 90  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (242, 68) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("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" != 90) 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-18 09:07:15.247000', 'print_type', 0, 'Print type', '2012-09-18 09:07:15.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" = 90 AND "spree_option_types"."id" = 60 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" = 90) ORDER BY position 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-18 09:07:15.267000', 60, 2, 90, '2012-09-18 09:07:15.267000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 60 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 60) ORDER 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-18 09:07:15.288000', 'black_white', 60, 1, NULL, '2012-09-18 09:07:15.288000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.293000' WHERE "spree_products"."id" = 90 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, 90, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.296000' WHERE "spree_products"."id" = 90  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (243, 69) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("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" != 90) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 90 AND "spree_option_types"."id" = 60 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 60 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 60) ORDER 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-18 09:07:15.308000', 'colour', 60, 2, NULL, '2012-09-18 09:07:15.308000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.314000' WHERE "spree_products"."id" = 90 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 90, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.319000' WHERE "spree_products"."id" = 90  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (244, 70) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("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" != 90) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 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" = 90 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" = 90 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" = 240 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 241 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 242 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 244 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" != 90) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.352000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 240 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.354000' WHERE "spree_products"."id" = 90 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.356000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 241 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.357000' WHERE "spree_products"."id" = 90 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.360000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 242 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.361000' WHERE "spree_products"."id" = 90 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.363000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 243 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.365000' WHERE "spree_products"."id" = 90 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 90 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.366000' WHERE "spree_products"."id" = 90  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 244 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:15.368000' WHERE "spree_products"."id" = 90 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 90) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 90 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-18 09:07:15.372000' WHERE "spree_products"."id" = 90 Row 3 succesfully SAVED : ID 90 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 88 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 90 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 90 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"   (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (23.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (7.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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-18 09:07:16.387000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:16.387000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.391000' WHERE "spree_products"."id" = 91 SQL (0.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, 91, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.393000' WHERE "spree_products"."id" = 91  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 245 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.415000' WHERE "spree_products"."id" = 91  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 91  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:16.430000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:07:16.430000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:16.437000', NULL, 69, '2012-09-18 09:07:16.437000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 91, "updated_at" = '2012-09-18 09:07:16.439000' WHERE "spree_product_properties"."id" = 71 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" != 91) 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-18 09:07:16.450000', 'Paintings', '2012-09-18 09:07:16.450000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 150 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-18 09:07:16.459000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 150, '2012-09-18 09:07:16.459000') 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" = 91 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (91, 273) 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-18 09:07:16.466000', 'WaterColour', '2012-09-18 09:07:16.466000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 151 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-18 09:07:16.470000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 151, '2012-09-18 09:07:16.470000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (91, 274) 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" != 91) LIMIT 1 Spree::OptionType Load (0.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-18 09:07:16.506000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:16.506000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 61 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" = 91) ORDER BY position 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-18 09:07:16.518000', 61, 1, 91, '2012-09-18 09:07:16.518000') 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" = 61 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) 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-18 09:07:16.529000', 'jpeg', 61, 1, NULL, '2012-09-18 09:07:16.529000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.550000' WHERE "spree_products"."id" = 91 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 91, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.555000' WHERE "spree_products"."id" = 91  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (246, 71) 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" = 61 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) ORDER 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-18 09:07:16.563000', 'PDF', 61, 2, NULL, '2012-09-18 09:07:16.563000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.567000' WHERE "spree_products"."id" = 91 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, 91, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.570000' WHERE "spree_products"."id" = 91  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (247, 72) 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" = 61 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 61) ORDER 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-18 09:07:16.574000', 'PNG', 61, 3, NULL, '2012-09-18 09:07:16.574000') Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.584000' WHERE "spree_products"."id" = 91 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 91, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.590000' WHERE "spree_products"."id" = 91  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (248, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 AND ("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" != 91) LIMIT 1  (3.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 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" = 91 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" = 91 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" = 246 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 248 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" != 91) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.631000' WHERE "spree_products"."id" = 91  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 246 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.641000' WHERE "spree_products"."id" = 91 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.645000' WHERE "spree_products"."id" = 91  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 247 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.647000' WHERE "spree_products"."id" = 91 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.649000' WHERE "spree_products"."id" = 91  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 248 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:16.653000' WHERE "spree_products"."id" = 91 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 91) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 91 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" = 245 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 245 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:07:16.769000', 240, 0, 'Spree::Image', 245, 'Spree::Variant') Product assigned an Image : nil 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" != 91) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 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-18 09:07:17.382000' WHERE "spree_products"."id" = 91 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:07:17.452000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:17.452000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.461000' WHERE "spree_products"."id" = 92 SQL (0.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, 92, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.468000' WHERE "spree_products"."id" = 92  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 249 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.473000' WHERE "spree_products"."id" = 92  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 92  (0.0ms) 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::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-18 09:07:17.483000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:07:17.483000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:17.485000', NULL, 70, '2012-09-18 09:07:17.485000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 92, "updated_at" = '2012-09-18 09:07:17.489000' WHERE "spree_product_properties"."id" = 72 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" != 92) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (4.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 150 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" = 92 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (92, 273) 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-18 09:07:17.519000', 'Landscape', '2012-09-18 09:07:17.519000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 152 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-18 09:07:17.525000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 152, '2012-09-18 09:07:17.525000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (92, 275) 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-18 09:07:17.538000', 'Oils', '2012-09-18 09:07:17.538000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 153 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-18 09:07:17.544000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 153, '2012-09-18 09:07:17.544000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (92, 276) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 92) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 92 AND "spree_option_types"."id" = 61 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" = 92) ORDER BY position 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-18 09:07:17.565000', 61, 1, 92, '2012-09-18 09:07:17.565000') 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.574000' WHERE "spree_products"."id" = 92 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 92, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.578000' WHERE "spree_products"."id" = 92  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (250, 71) 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.601000' WHERE "spree_products"."id" = 92 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 92, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.605000' WHERE "spree_products"."id" = 92  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (251, 72) 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.618000' WHERE "spree_products"."id" = 92 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 92, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.620000' WHERE "spree_products"."id" = 92  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (252, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 AND ("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" != 92) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 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" = 92 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 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" = 250 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 252 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" != 92) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.649000' WHERE "spree_products"."id" = 92  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 250 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.651000' WHERE "spree_products"."id" = 92 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.653000' WHERE "spree_products"."id" = 92  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 251 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.655000' WHERE "spree_products"."id" = 92 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.659000' WHERE "spree_products"."id" = 92  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 252 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:17.661000' WHERE "spree_products"."id" = 92 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 92) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 92 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" = 249 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 249 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:07:17.715000', 2424, 0, 'Spree::Image', 249, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 92) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 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-18 09:07:21.701000' WHERE "spree_products"."id" = 92 Current value 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-18 09:07:21.717000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:07:21.717000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.721000' WHERE "spree_products"."id" = 93 SQL (0.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, 93, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.724000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 253 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.726000' WHERE "spree_products"."id" = 93  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 93  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:21.738000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:07:21.738000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:21.740000', NULL, 71, '2012-09-18 09:07:21.740000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 93, "updated_at" = '2012-09-18 09:07:21.743000' WHERE "spree_product_properties"."id" = 73 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-18 09:07:21.745000', NULL, 70, '2012-09-18 09:07:21.745000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 93, "updated_at" = '2012-09-18 09:07:21.749000' WHERE "spree_product_properties"."id" = 74 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-18 09:07:21.758000', 'yet_another_property', 'Yet another property', '2012-09-18 09:07:21.758000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:21.761000', NULL, 72, '2012-09-18 09:07:21.761000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 93, "updated_at" = '2012-09-18 09:07:21.762000' WHERE "spree_product_properties"."id" = 75 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" != 93) 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-18 09:07:21.766000', 'Drawings', '2012-09-18 09:07:21.766000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 154 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-18 09:07:21.771000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 154, '2012-09-18 09:07:21.771000') 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" = 93 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (93, 277) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 93) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 93 AND "spree_option_types"."id" = 61 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" = 93) ORDER BY position 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-18 09:07:21.787000', 61, 1, 93, '2012-09-18 09:07:21.787000') 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.793000' WHERE "spree_products"."id" = 93 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, 93, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.801000' WHERE "spree_products"."id" = 93  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (254, 71) 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.807000' WHERE "spree_products"."id" = 93 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 93, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.812000' WHERE "spree_products"."id" = 93  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (255, 72) 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" = 61 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.818000' WHERE "spree_products"."id" = 93 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, 93, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.822000' WHERE "spree_products"."id" = 93  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (256, 73) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 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-18 09:07:21.826000', 'print_type', 0, 'Print type', '2012-09-18 09:07:21.826000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 62 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" = 93) 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-18 09:07:21.853000', 62, 2, 93, '2012-09-18 09:07:21.853000') 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" = 62 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 62) ORDER 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-18 09:07:21.859000', 'black_white', 62, 1, NULL, '2012-09-18 09:07:21.859000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.864000' WHERE "spree_products"."id" = 93 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 93, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.866000' WHERE "spree_products"."id" = 93  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (257, 74) 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" = 62 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 62) 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-18 09:07:21.870000', 'colour', 62, 2, NULL, '2012-09-18 09:07:21.870000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.878000' WHERE "spree_products"."id" = 93 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 93, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.881000' WHERE "spree_products"."id" = 93  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (258, 75) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("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" != 93) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 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" = 93 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 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" = 254 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" = 255 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 256 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" = 257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 258 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" != 93) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.914000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 254 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.916000' WHERE "spree_products"."id" = 93 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.917000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 255 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.919000' WHERE "spree_products"."id" = 93 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.921000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 256 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.923000' WHERE "spree_products"."id" = 93 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.924000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 257 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.926000' WHERE "spree_products"."id" = 93 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.928000' WHERE "spree_products"."id" = 93  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 258 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:21.930000' WHERE "spree_products"."id" = 93 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 93) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 93 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" = 253 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 253 AND position >= 0) SQL (3.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:07:21.942000', 240, 0, 'Spree::Image', 253, 'Spree::Variant') Product assigned an Image : nil 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" != 93) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 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-18 09:07:22.535000' WHERE "spree_products"."id" = 93 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 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 = 245) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 91)) Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 245 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 91 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 = 245) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 91)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 92 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 = 249) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 92)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 93 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 = 253) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 93))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:07:22.722000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:07:22.722000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.744000' WHERE "spree_products"."id" = 94 SQL (0.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, 94, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.746000' WHERE "spree_products"."id" = 94  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 259 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.751000' WHERE "spree_products"."id" = 94  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 94  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:07:22.757000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:07:22.757000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:22.760000', NULL, 73, '2012-09-18 09:07:22.760000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 94, "updated_at" = '2012-09-18 09:07:22.762000' WHERE "spree_product_properties"."id" = 76 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" != 94) 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-18 09:07:22.767000', 'Paintings', '2012-09-18 09:07:22.767000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 155 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-18 09:07:22.772000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 155, '2012-09-18 09:07:22.772000') 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" = 94 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (94, 278) 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-18 09:07:22.782000', 'WaterColour', '2012-09-18 09:07:22.782000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 156 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-18 09:07:22.790000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 156, '2012-09-18 09:07:22.790000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (94, 279) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 94) LIMIT 1 Spree::OptionType Load (0.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-18 09:07:22.820000', 'mime_type', 0, 'Mime type', '2012-09-18 09:07:22.820000') 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" = 94 AND "spree_option_types"."id" = 63 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" = 94) ORDER BY position 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-18 09:07:22.846000', 63, 1, 94, '2012-09-18 09:07:22.846000') 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" = 63 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER 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-18 09:07:22.849000', 'jpeg', 63, 1, NULL, '2012-09-18 09:07:22.849000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.854000' WHERE "spree_products"."id" = 94 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 94, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.857000' WHERE "spree_products"."id" = 94  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (260, 76) 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" = 63 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER 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-18 09:07:22.877000', 'PDF', 63, 2, NULL, '2012-09-18 09:07:22.877000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.882000' WHERE "spree_products"."id" = 94 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 94, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.884000' WHERE "spree_products"."id" = 94  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (261, 77) 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" = 63 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 63) ORDER 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-18 09:07:22.902000', 'PNG', 63, 3, NULL, '2012-09-18 09:07:22.902000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.906000' WHERE "spree_products"."id" = 94 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 94, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.908000' WHERE "spree_products"."id" = 94  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (262, 78) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 AND ("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" != 94) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 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" = 94 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" = 94 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" = 260 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 262 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" != 94) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.937000' WHERE "spree_products"."id" = 94  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 260 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.938000' WHERE "spree_products"."id" = 94 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.946000' WHERE "spree_products"."id" = 94  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 261 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.949000' WHERE "spree_products"."id" = 94 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.950000' WHERE "spree_products"."id" = 94  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 262 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:22.952000' WHERE "spree_products"."id" = 94 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 94) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 94 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" = 259 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 259 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:07:22.959000', 240, 0, 'Spree::Image', 259, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 94) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 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-18 09:07:23.441000' WHERE "spree_products"."id" = 94 Row 1 succesfully SAVED : ID 94 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:07:23.451000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:07:23.451000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.454000' WHERE "spree_products"."id" = 95 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, 95, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.480000' WHERE "spree_products"."id" = 95  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 263 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.484000' WHERE "spree_products"."id" = 95  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 95  (0.0ms) 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.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-18 09:07:23.493000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:07:23.493000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:23.502000', NULL, 74, '2012-09-18 09:07:23.502000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 95, "updated_at" = '2012-09-18 09:07:23.505000' WHERE "spree_product_properties"."id" = 77 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" != 95) 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" = 155 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" = 95 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (95, 278) 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-18 09:07:23.515000', 'Landscape', '2012-09-18 09:07:23.515000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 157 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-18 09:07:23.522000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 157, '2012-09-18 09:07:23.522000') Product assigned to Taxons : ["Landscape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (95, 280) 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-18 09:07:23.541000', 'Oils', '2012-09-18 09:07:23.541000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 158 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-18 09:07:23.551000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 158, '2012-09-18 09:07:23.551000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (95, 281) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 95) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 95 AND "spree_option_types"."id" = 63 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" = 95) ORDER BY position 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-18 09:07:23.581000', 63, 1, 95, '2012-09-18 09:07:23.581000') 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.589000' WHERE "spree_products"."id" = 95 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, 95, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.591000' WHERE "spree_products"."id" = 95  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (264, 76) 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.596000' WHERE "spree_products"."id" = 95 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 95, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.599000' WHERE "spree_products"."id" = 95  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (265, 77) 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.605000' WHERE "spree_products"."id" = 95 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 95, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.607000' WHERE "spree_products"."id" = 95  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (266, 78) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 AND ("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" != 95) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 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" = 95 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 266 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" != 95) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.632000' WHERE "spree_products"."id" = 95  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 264 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.635000' WHERE "spree_products"."id" = 95 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.638000' WHERE "spree_products"."id" = 95  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 265 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.639000' WHERE "spree_products"."id" = 95 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.641000' WHERE "spree_products"."id" = 95  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 266 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:23.643000' WHERE "spree_products"."id" = 95 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" != 95) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 95 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" = 263 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 263 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:07:23.691000', 2424, 0, 'Spree::Image', 263, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 95) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:07:27.461000' WHERE "spree_products"."id" = 95 Row 2 succesfully SAVED : ID 95 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:07:27.470000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:07:27.470000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.474000' WHERE "spree_products"."id" = 96 SQL (0.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, 96, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.477000' WHERE "spree_products"."id" = 96  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 267 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.478000' WHERE "spree_products"."id" = 96  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 96  (0.0ms) 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 (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-18 09:07:27.487000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:07:27.487000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:27.491000', NULL, 75, '2012-09-18 09:07:27.491000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 96, "updated_at" = '2012-09-18 09:07:27.494000' WHERE "spree_product_properties"."id" = 78 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-18 09:07:27.499000', NULL, 74, '2012-09-18 09:07:27.499000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 96, "updated_at" = '2012-09-18 09:07:27.501000' WHERE "spree_product_properties"."id" = 79 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-18 09:07:27.505000', 'yet_another_property', 'Yet another property', '2012-09-18 09:07:27.505000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:07:27.508000', NULL, 76, '2012-09-18 09:07:27.508000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 96, "updated_at" = '2012-09-18 09:07:27.512000' WHERE "spree_product_properties"."id" = 80 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" != 96) 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-18 09:07:27.516000', 'Drawings', '2012-09-18 09:07:27.516000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 159 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-18 09:07:27.521000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 159, '2012-09-18 09:07:27.521000') 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" = 96 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (96, 282) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 96) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 96 AND "spree_option_types"."id" = 63 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" = 96) ORDER BY position 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-18 09:07:27.573000', 63, 1, 96, '2012-09-18 09:07:27.573000') 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.583000' WHERE "spree_products"."id" = 96 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, 96, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.585000' WHERE "spree_products"."id" = 96  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (268, 76) 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.590000' WHERE "spree_products"."id" = 96 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 96, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.593000' WHERE "spree_products"."id" = 96  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (269, 77) 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" = 63 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.597000' WHERE "spree_products"."id" = 96 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 96, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.600000' WHERE "spree_products"."id" = 96  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (270, 78) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 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-18 09:07:27.605000', 'print_type', 0, 'Print type', '2012-09-18 09:07:27.605000') 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" = 96 AND "spree_option_types"."id" = 64 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" = 96) ORDER BY position 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-18 09:07:27.620000', 64, 2, 96, '2012-09-18 09:07:27.620000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 64 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 64) ORDER 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-18 09:07:27.625000', 'black_white', 64, 1, NULL, '2012-09-18 09:07:27.625000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.631000' WHERE "spree_products"."id" = 96 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 96, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.633000' WHERE "spree_products"."id" = 96  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (271, 79) 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" = 64 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 64) ORDER 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-18 09:07:27.637000', 'colour', 64, 2, NULL, '2012-09-18 09:07:27.637000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.654000' WHERE "spree_products"."id" = 96 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 96, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.656000' WHERE "spree_products"."id" = 96  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (272, 80) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 AND ("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" != 96) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 269 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 270 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (4.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 96) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.709000' WHERE "spree_products"."id" = 96  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 268 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.714000' WHERE "spree_products"."id" = 96 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.716000' WHERE "spree_products"."id" = 96  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 269 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.718000' WHERE "spree_products"."id" = 96 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.719000' WHERE "spree_products"."id" = 96  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 270 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.721000' WHERE "spree_products"."id" = 96 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.723000' WHERE "spree_products"."id" = 96  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 271 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.724000' WHERE "spree_products"."id" = 96 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.726000' WHERE "spree_products"."id" = 96  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 272 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:07:27.728000' WHERE "spree_products"."id" = 96 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 96) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 96 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" = 267 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 267 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:07:27.745000', 240, 0, 'Spree::Image', 267, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 96) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:07:28.242000' WHERE "spree_products"."id" = 96 Row 3 succesfully SAVED : ID 96 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 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 = 259) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 94)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 94 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 = 259) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 94)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 95 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 = 263) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 95)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 96 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 = 267) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 96))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (18.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:28.524000', 'Paintings', '2012-09-18 09:07:28.524000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 160 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-18 09:07:28.531000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 160, '2012-09-18 09:07:28.531000')  (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-18 09:07:28.537000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 160, '2012-09-18 09:07:28.537000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:07:28.542000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 160, '2012-09-18 09:07:28.542000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:28.598000', 'Paintings', '2012-09-18 09:07:28.598000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 161 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-18 09:07:28.604000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 161, '2012-09-18 09:07:28.604000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:07:28.612000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 161, '2012-09-18 09:07:28.612000')  (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-18 09:07:28.620000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 161, '2012-09-18 09:07:28.620000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 161 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 161 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 161 LIMIT 1 Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:28.733000', 'Paintings', '2012-09-18 09:07:28.733000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 162 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-18 09:07:28.757000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 162, '2012-09-18 09:07:28.757000')  (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-18 09:07:28.784000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 162, '2012-09-18 09:07:28.784000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 289, "updated_at" = '2012-09-18 09:07:28.800000' WHERE "spree_taxons"."id" = 290 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 289 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 290 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 290 THEN 289 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 289 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 290 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 289 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (21.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:28.880000', 'Paintings', '2012-09-18 09:07:28.880000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 163 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-18 09:07:28.885000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 163, '2012-09-18 09:07:28.885000')  (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-18 09:07:28.933000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 163, '2012-09-18 09:07:28.933000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 291, "updated_at" = '2012-09-18 09:07:28.943000' WHERE "spree_taxons"."id" = 292 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 291 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 292 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 292 THEN 291 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 291 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 292 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 291 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:07:29.047000', 'Paintings', '2012-09-18 09:07:29.047000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 164 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-18 09:07:29.081000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 164, '2012-09-18 09:07:29.081000')  (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-18 09:07:29.092000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 164, '2012-09-18 09:07:29.092000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 293, "updated_at" = '2012-09-18 09:07:29.097000' WHERE "spree_taxons"."id" = 294 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 293 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 294 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 294 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" = 293 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 294 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 293 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (19.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (23.0ms) DELETE FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (24.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (18.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:00.273000', 'Paintings', '2012-09-18 09:11:00.273000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 165 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-18 09:11:00.690000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 165, '2012-09-18 09:11:00.690000')  (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-18 09:11:00.720000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 165, '2012-09-18 09:11:00.720000')  (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-18 09:11:00.742000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 165, '2012-09-18 09:11:00.742000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (30.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:01.213000', 'Paintings', '2012-09-18 09:11:01.213000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 166 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-18 09:11:01.313000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 166, '2012-09-18 09:11:01.313000')  (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-18 09:11:01.340000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 166, '2012-09-18 09:11:01.340000')  (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-18 09:11:01.368000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 166, '2012-09-18 09:11:01.368000') ExcelGenerator creating template with associations for class Spree::Product SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (22.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:01.448000', 'Paintings', '2012-09-18 09:11:01.448000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 167 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-18 09:11:01.484000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 167, '2012-09-18 09:11:01.484000')  (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-18 09:11:01.502000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 167, '2012-09-18 09:11:01.502000')  (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-18 09:11:01.519000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 167, '2012-09-18 09:11:01.519000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:01.899000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:11:01.899000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 19 Row 1 succesfully SAVED : ID 19 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:01.976000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:11:01.976000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 20 Row 2 succesfully SAVED : ID 20 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:01.986000', 'f', 'Europe', 'EUR', '2012-09-18 09:11:01.986000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 21 Row 3 succesfully SAVED : ID 21 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:02.000000', 'f', 'North America', 'NA', '2012-09-18 09:11:02.000000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 22 Row 4 succesfully SAVED : ID 22 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:02.110000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:11:02.110000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:02.122000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:11:02.122000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:02.154000', 'f', 'Europe', 'EUR', '2012-09-18 09:11:02.154000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:11:02.174000', 'f', 'North America', 'NA', '2012-09-18 09:11:02.174000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 26  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:11:02.504000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:02.504000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 97 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.529000' WHERE "spree_products"."id" = 97 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, 345.78, 97, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.539000' WHERE "spree_products"."id" = 97  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 273 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.550000' WHERE "spree_products"."id" = 97  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 97  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 273 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 97) 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-18 09:11:02.659000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:02.659000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 65 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" = 97) ORDER BY position 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-18 09:11:02.736000', 65, 1, 97, '2012-09-18 09:11:02.736000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 97) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:11:02.747000' WHERE "spree_products"."id" = 97  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 273 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.754000' WHERE "spree_products"."id" = 97 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 97 Row 1 succesfully SAVED : ID 97 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:11:02.783000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:02.783000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 98 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.813000' WHERE "spree_products"."id" = 98 SQL (0.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, 98, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.822000' WHERE "spree_products"."id" = 98  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 274 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.827000' WHERE "spree_products"."id" = 98  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 98 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 98  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 274 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 98) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 98 AND "spree_option_types"."id" = 65 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" = 98) ORDER BY position 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-18 09:11:02.888000', 65, 1, 98, '2012-09-18 09:11:02.888000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 98) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:11:02.904000' WHERE "spree_products"."id" = 98  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 274 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.912000' WHERE "spree_products"."id" = 98 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 98 Row 2 succesfully SAVED : ID 98 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:11:02.936000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:11:02.936000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 99 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.954000' WHERE "spree_products"."id" = 99 SQL (0.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, 99, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.959000' WHERE "spree_products"."id" = 99  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 275 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:02.965000' WHERE "spree_products"."id" = 99  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 99  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 99) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 99 AND "spree_option_types"."id" = 65 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" = 99) 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-18 09:11:03.002000', 65, 1, 99, '2012-09-18 09:11:03.002000') 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-18 09:11:03.008000', 'print_type', 0, 'Print type', '2012-09-18 09:11:03.008000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 66 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" = 99) ORDER BY position 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-18 09:11:03.057000', 66, 2, 99, '2012-09-18 09:11:03.057000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 99) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:11:03.067000' WHERE "spree_products"."id" = 99  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 275 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.088000' WHERE "spree_products"."id" = 99 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 99 Row 3 succesfully SAVED : ID 99 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:11:03.166000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:11:03.167000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 97 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 97 ORDER BY spree_option_types.position  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 99 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (20.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:11:03.373000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:03.373000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 100 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.384000' WHERE "spree_products"."id" = 100 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 100, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.388000' WHERE "spree_products"."id" = 100  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 276 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.392000' WHERE "spree_products"."id" = 100  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 100  (0.0ms) 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::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 276 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 100) LIMIT 1 Spree::OptionType Load (0.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-18 09:11:03.428000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:03.428000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 67 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" = 100) ORDER BY position 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-18 09:11:03.498000', 67, 1, 100, '2012-09-18 09:11:03.498000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 100) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:11:03.520000' WHERE "spree_products"."id" = 100  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 276 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.530000' WHERE "spree_products"."id" = 100 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 100 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:11:03.567000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:03.567000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 101 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.573000' WHERE "spree_products"."id" = 101 SQL (0.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, 101, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.579000' WHERE "spree_products"."id" = 101  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 277 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.583000' WHERE "spree_products"."id" = 101  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 101 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 101  (0.0ms) 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::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 277 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 101) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 101 AND "spree_option_types"."id" = 67 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" = 101) ORDER BY position 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-18 09:11:03.935000', 67, 1, 101, '2012-09-18 09:11:03.935000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 101) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:11:03.944000' WHERE "spree_products"."id" = 101  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 277 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.953000' WHERE "spree_products"."id" = 101 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 101 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:11:03.974000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:11:03.974000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 102 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.994000' WHERE "spree_products"."id" = 102 SQL (0.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, 102, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:03.998000' WHERE "spree_products"."id" = 102  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 278 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.019000' WHERE "spree_products"."id" = 102  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 102  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 278 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 102) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 102 AND "spree_option_types"."id" = 67 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" = 102) ORDER BY position 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-18 09:11:04.085000', 67, 1, 102, '2012-09-18 09:11:04.085000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:11:04.091000', 'print_type', 0, 'Print type', '2012-09-18 09:11:04.091000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 68 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" = 102) ORDER BY position 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-18 09:11:04.122000', 68, 2, 102, '2012-09-18 09:11:04.122000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 102) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:11:04.147000' WHERE "spree_products"."id" = 102  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 278 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.154000' WHERE "spree_products"."id" = 102 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 102  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:11:04.176000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:11:04.177000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 100 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 100 ORDER BY spree_option_types.position  (0.0ms) 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 (17.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 102 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:11:04.000000', 0, '2012-09-18 09:11:04.343000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:04.343000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 103 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.352000' WHERE "spree_products"."id" = 103 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 103, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.356000' WHERE "spree_products"."id" = 103  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 279 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.365000' WHERE "spree_products"."id" = 103  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 103  (0.0ms) 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::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-18 09:11:04.386000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:04.386000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 69 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" = 103) ORDER BY position 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-18 09:11:04.401000', 69, 1, 103, '2012-09-18 09:11:04.401000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 103) LIMIT 1 Row 1 succesfully SAVED : ID 103 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:11:04.000000', 0, '2012-09-18 09:11:04.462000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:04.462000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 104 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.469000' WHERE "spree_products"."id" = 104 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 104, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.524000' WHERE "spree_products"."id" = 104  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 280 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.541000' WHERE "spree_products"."id" = 104  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 104 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 104  (1.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 104 AND "spree_option_types"."id" = 69 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" = 104) ORDER BY position 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-18 09:11:04.562000', 69, 1, 104, '2012-09-18 09:11:04.562000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 104) LIMIT 1 Row 2 succesfully SAVED : ID 104 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:11:04.000000', 0, '2012-09-18 09:11:04.617000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:11:04.617000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 105 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.621000' WHERE "spree_products"."id" = 105 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 105, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.624000' WHERE "spree_products"."id" = 105  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 281 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.628000' WHERE "spree_products"."id" = 105  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 105 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 105  (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 105 AND "spree_option_types"."id" = 69 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" = 105) ORDER BY position 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-18 09:11:04.652000', 69, 1, 105, '2012-09-18 09:11:04.652000') 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-18 09:11:04.656000', 'print_type', 0, 'Print type', '2012-09-18 09:11:04.656000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 70 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" = 105) ORDER BY position 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-18 09:11:04.664000', 70, 2, 105, '2012-09-18 09:11:04.664000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 105) LIMIT 1 Row 3 succesfully SAVED : ID 105 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 103 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (23.0ms) DELETE FROM "spree_option_values" SQL (21.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:11:04.844000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:04.844000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 106 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.870000' WHERE "spree_products"."id" = 106 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 106, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.874000' WHERE "spree_products"."id" = 106  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 282 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.909000' WHERE "spree_products"."id" = 106  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 106  (0.0ms) 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::OptionType Load (0.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-18 09:11:04.926000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:04.926000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 71 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" = 106) ORDER BY position 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-18 09:11:04.942000', 71, 1, 106, '2012-09-18 09:11:04.942000') Spree::Product Exists (19.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 106) LIMIT 1 Row 1 succesfully SAVED : ID 106 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:11:04.981000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:04.981000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 107 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.988000' WHERE "spree_products"."id" = 107 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 107, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:04.992000' WHERE "spree_products"."id" = 107  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 283 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.000000' WHERE "spree_products"."id" = 107  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 107 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 107  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 107 AND "spree_option_types"."id" = 71 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" = 107) ORDER BY position 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-18 09:11:05.019000', 71, 1, 107, '2012-09-18 09:11:05.019000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 107) LIMIT 1 Row 2 succesfully SAVED : ID 107 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:11:05.056000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:11:05.056000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 108 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.062000' WHERE "spree_products"."id" = 108 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 108, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.067000' WHERE "spree_products"."id" = 108  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 284 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.070000' WHERE "spree_products"."id" = 108  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 108 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 108  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 108 AND "spree_option_types"."id" = 71 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" = 108) ORDER BY position 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-18 09:11:05.086000', 71, 1, 108, '2012-09-18 09:11:05.086000') 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-18 09:11:05.090000', 'print_type', 0, 'Print type', '2012-09-18 09:11:05.090000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 72 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" = 108) ORDER BY position 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-18 09:11:05.098000', 72, 2, 108, '2012-09-18 09:11:05.098000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 108) LIMIT 1 Row 3 succesfully SAVED : ID 108 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 106 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (23.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:05.237000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:11:05.237000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:11:05.275000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:05.275000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.299000' WHERE "spree_products"."id" = 109 SQL (0.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, 109, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.302000' WHERE "spree_products"."id" = 109  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 285 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.312000' WHERE "spree_products"."id" = 109  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 109  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:05.364000', NULL, 77, '2012-09-18 09:11:05.364000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 109, "updated_at" = '2012-09-18 09:11:05.373000' WHERE "spree_product_properties"."id" = 81 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" != 109) 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-18 09:11:05.378000', 'Paintings', '2012-09-18 09:11:05.378000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 168 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-18 09:11:05.386000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 168, '2012-09-18 09:11:05.386000') 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" = 109 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (109, 304) 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-18 09:11:05.399000', 'WaterColour', '2012-09-18 09:11:05.399000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 169 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-18 09:11:05.408000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 169, '2012-09-18 09:11:05.408000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (109, 305) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 109) 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" != 109) LIMIT 1 Spree::OptionType Load (0.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-18 09:11:05.428000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:05.428000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 73 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" = 109) 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-18 09:11:05.464000', 73, 1, 109, '2012-09-18 09:11:05.464000') 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" = 73 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) ORDER 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-18 09:11:05.489000', 'jpeg', 73, 1, NULL, '2012-09-18 09:11:05.489000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.497000' WHERE "spree_products"."id" = 109 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 109, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.501000' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (286, 81) 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" = 73 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) ORDER 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-18 09:11:05.510000', 'PDF', 73, 2, NULL, '2012-09-18 09:11:05.510000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.516000' WHERE "spree_products"."id" = 109 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, 109, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.519000' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (287, 82) 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" = 73 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 73) ORDER 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-18 09:11:05.524000', 'PNG', 73, 3, NULL, '2012-09-18 09:11:05.524000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.538000' WHERE "spree_products"."id" = 109 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 109, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.546000' WHERE "spree_products"."id" = 109  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (288, 83) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 109 AND ("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" != 109) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 288 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" != 109) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.584000' WHERE "spree_products"."id" = 109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 286 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.586000' WHERE "spree_products"."id" = 109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.588000' WHERE "spree_products"."id" = 109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 287 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.590000' WHERE "spree_products"."id" = 109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 109 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.592000' WHERE "spree_products"."id" = 109  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 288 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.594000' WHERE "spree_products"."id" = 109 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 109) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:11:05.601000' WHERE "spree_products"."id" = 109 Row 1 succesfully SAVED : ID 109 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:11:05.646000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:05.646000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.650000' WHERE "spree_products"."id" = 110 SQL (0.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, 110, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.657000' WHERE "spree_products"."id" = 110  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 289 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.660000' WHERE "spree_products"."id" = 110  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 110  (0.0ms) 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::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-18 09:11:05.669000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:11:05.669000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:05.672000', NULL, 78, '2012-09-18 09:11:05.672000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 110, "updated_at" = '2012-09-18 09:11:05.676000' WHERE "spree_product_properties"."id" = 82 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" != 110) 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" = 168 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 110 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 304) 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-18 09:11:05.686000', 'Oils', '2012-09-18 09:11:05.686000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 170 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-18 09:11:05.693000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 170, '2012-09-18 09:11:05.693000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 306) 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" = 168 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" = 304 AND "spree_taxons"."taxonomy_id" = 168 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 304 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-18 09:11:05.707000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 304, 'paintings/nature', 0, 8, 168, '2012-09-18 09:11:05.707000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 304 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 307 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 307 THEN 304 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 304 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 307 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 307 AND "spree_taxons"."taxonomy_id" = 168 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" = 307 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-18 09:11:05.723000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 307, 'paintings/nature/seascape', 0, 10, 168, '2012-09-18 09:11:05.723000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 307 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 308 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 = 308 THEN 307 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 307 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 308 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 307)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (110, 308) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 110) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 110 AND "spree_option_types"."id" = 73 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" = 110) 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-18 09:11:05.748000', 73, 1, 110, '2012-09-18 09:11:05.748000') 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" = 73 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.760000' WHERE "spree_products"."id" = 110 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 110, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.764000' WHERE "spree_products"."id" = 110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (290, 81) 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" = 73 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.771000' WHERE "spree_products"."id" = 110 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, 110, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.774000' WHERE "spree_products"."id" = 110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (291, 82) 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" = 73 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.781000' WHERE "spree_products"."id" = 110 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 110, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.783000' WHERE "spree_products"."id" = 110  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (292, 83) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 AND ("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" != 110) 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" != 110) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 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" = 110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 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" = 290 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" = 291 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 292 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" != 110) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.814000' WHERE "spree_products"."id" = 110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 290 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.818000' WHERE "spree_products"."id" = 110 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.821000' WHERE "spree_products"."id" = 110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 291 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.822000' WHERE "spree_products"."id" = 110 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 110 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.824000' WHERE "spree_products"."id" = 110  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 292 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.826000' WHERE "spree_products"."id" = 110 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 110) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 110 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-18 09:11:05.837000' WHERE "spree_products"."id" = 110 Row 2 succesfully SAVED : ID 110 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:11:05.858000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:11:05.858000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.864000' WHERE "spree_products"."id" = 111 SQL (0.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, 111, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.870000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 293 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:05.873000' WHERE "spree_products"."id" = 111  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 111  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:05.901000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:11:05.901000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:05.910000', NULL, 79, '2012-09-18 09:11:05.910000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 111, "updated_at" = '2012-09-18 09:11:05.912000' WHERE "spree_product_properties"."id" = 83 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-18 09:11:05.915000', NULL, 78, '2012-09-18 09:11:05.915000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 111, "updated_at" = '2012-09-18 09:11:05.918000' WHERE "spree_product_properties"."id" = 84 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-18 09:11:05.928000', 'yet_another_property', 'Yet another property', '2012-09-18 09:11:05.928000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:05.934000', NULL, 80, '2012-09-18 09:11:05.934000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 111, "updated_at" = '2012-09-18 09:11:05.936000' WHERE "spree_product_properties"."id" = 85 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" != 111) 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-18 09:11:05.943000', 'Drawings', '2012-09-18 09:11:05.943000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 171 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-18 09:11:05.948000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 171, '2012-09-18 09:11:05.948000') 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" = 111 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (111, 309) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 168 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" = 304 AND "spree_taxons"."taxonomy_id" = 168 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" = 304 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-18 09:11:05.967000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 304, 'paintings/landscape', 0, 14, 168, '2012-09-18 09:11:05.967000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 304 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 310 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 = 310 THEN 304 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 304 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 310 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (111, 310)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (111, 304) 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" != 111) 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" != 111) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 111 AND "spree_option_types"."id" = 73 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" = 111) ORDER BY position 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-18 09:11:05.994000', 73, 1, 111, '2012-09-18 09:11:05.994000') 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" = 73 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.003000' WHERE "spree_products"."id" = 111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 111, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.008000' WHERE "spree_products"."id" = 111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (294, 81) 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" = 73 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.032000' WHERE "spree_products"."id" = 111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 111, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.037000' WHERE "spree_products"."id" = 111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (295, 82) 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" = 73 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.049000' WHERE "spree_products"."id" = 111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 111, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.052000' WHERE "spree_products"."id" = 111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (296, 83) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 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-18 09:11:06.056000', 'print_type', 0, 'Print type', '2012-09-18 09:11:06.056000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 111 AND "spree_option_types"."id" = 74 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" = 111) ORDER BY position 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-18 09:11:06.067000', 74, 2, 111, '2012-09-18 09:11:06.067000') 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" = 74 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 74) ORDER 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-18 09:11:06.072000', 'black_white', 74, 1, NULL, '2012-09-18 09:11:06.072000')  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.080000' WHERE "spree_products"."id" = 111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 111, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.105000' WHERE "spree_products"."id" = 111  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (297, 84) 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" = 74 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 74) ORDER 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-18 09:11:06.110000', 'colour', 74, 2, NULL, '2012-09-18 09:11:06.110000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.116000' WHERE "spree_products"."id" = 111 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 111, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.119000' WHERE "spree_products"."id" = 111  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (298, 85) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("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" != 111) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 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" = 111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 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" = 294 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 297 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 111) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.154000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 294 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.156000' WHERE "spree_products"."id" = 111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.158000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 295 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.159000' WHERE "spree_products"."id" = 111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.161000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 296 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.164000' WHERE "spree_products"."id" = 111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.166000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 297 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.186000' WHERE "spree_products"."id" = 111 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 111 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.191000' WHERE "spree_products"."id" = 111  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 298 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.192000' WHERE "spree_products"."id" = 111 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 111) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 111 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-18 09:11:06.201000' WHERE "spree_products"."id" = 111 Row 3 succesfully SAVED : ID 111 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 109 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 111 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 111 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:06.368000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:11:06.368000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:11:06.429000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:06.429000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.436000' WHERE "spree_products"."id" = 112 SQL (0.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, 112, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.439000' WHERE "spree_products"."id" = 112  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 299 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.442000' WHERE "spree_products"."id" = 112  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 112  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:06.452000', NULL, 81, '2012-09-18 09:11:06.452000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 112, "updated_at" = '2012-09-18 09:11:06.456000' WHERE "spree_product_properties"."id" = 86 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 112) 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" != 112) 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" != 112) 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-18 09:11:06.472000', 'Paintings', '2012-09-18 09:11:06.472000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 172 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-18 09:11:06.477000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 172, '2012-09-18 09:11:06.477000') 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" = 112 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (112, 311) 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" != 112) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:06.500000', 'WaterColour', '2012-09-18 09:11:06.500000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 173 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-18 09:11:06.506000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 173, '2012-09-18 09:11:06.506000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (112, 312) 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" != 112) 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" != 112) LIMIT 1 Spree::OptionType Load (0.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-18 09:11:06.524000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:06.524000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 112 AND "spree_option_types"."id" = 75 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" = 112) ORDER BY position 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-18 09:11:06.533000', 75, 1, 112, '2012-09-18 09:11:06.533000') 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" = 75 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 75) ORDER 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-18 09:11:06.539000', 'jpeg', 75, 1, NULL, '2012-09-18 09:11:06.539000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.573000' WHERE "spree_products"."id" = 112 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, 112, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.578000' WHERE "spree_products"."id" = 112  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (300, 86) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("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" != 112) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 112 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 75 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 75) ORDER 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-18 09:11:06.595000', 'PDF', 75, 2, NULL, '2012-09-18 09:11:06.595000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.612000' WHERE "spree_products"."id" = 112 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, 112, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.615000' WHERE "spree_products"."id" = 112  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (301, 87) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("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" != 112) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 112 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 75 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 75) ORDER 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-18 09:11:06.625000', 'PNG', 75, 3, NULL, '2012-09-18 09:11:06.625000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.631000' WHERE "spree_products"."id" = 112 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 112, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.633000' WHERE "spree_products"."id" = 112  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (302, 88) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("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" != 112) 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" != 112) 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" != 112) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 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" = 112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 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" = 300 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 301 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 112) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.688000' WHERE "spree_products"."id" = 112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 300 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.690000' WHERE "spree_products"."id" = 112 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.692000' WHERE "spree_products"."id" = 112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 301 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.696000' WHERE "spree_products"."id" = 112 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 112 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.698000' WHERE "spree_products"."id" = 112  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 302 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.700000' WHERE "spree_products"."id" = 112 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 112) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 112 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-18 09:11:06.704000' WHERE "spree_products"."id" = 112 Row 1 succesfully SAVED : ID 112 Current value to assign : DEMO_002 Current value to 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-18 09:11:06.716000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:06.716000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.721000' WHERE "spree_products"."id" = 113 SQL (0.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, 113, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.723000' WHERE "spree_products"."id" = 113  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 303 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.725000' WHERE "spree_products"."id" = 113  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 113  (0.0ms) 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::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-18 09:11:06.741000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:11:06.741000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:06.744000', NULL, 82, '2012-09-18 09:11:06.744000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 113, "updated_at" = '2012-09-18 09:11:06.746000' WHERE "spree_product_properties"."id" = 87 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" != 113) 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" != 113) 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" != 113) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 172 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" = 113 Product assigned to Taxons : ["Paintings"]  (3.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 311) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 113) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:06.772000', 'Oils', '2012-09-18 09:11:06.772000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 174 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-18 09:11:06.779000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 174, '2012-09-18 09:11:06.779000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 313) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 113) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 172 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" = 311 AND "spree_taxons"."taxonomy_id" = 172 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" = 311 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-18 09:11:06.794000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 311, 'paintings/nature', 0, 8, 172, '2012-09-18 09:11:06.794000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 311 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 314 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 = 314 THEN 311 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 311 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 314 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 314 AND "spree_taxons"."taxonomy_id" = 172 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" = 314 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-18 09:11:06.810000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 314, 'paintings/nature/seascape', 0, 10, 172, '2012-09-18 09:11:06.810000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 314 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 315 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 = 315 THEN 314 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 314 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 315 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 314)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (113, 315) 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" != 113) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 113 AND "spree_option_types"."id" = 75 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" = 113) 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-18 09:11:06.830000', 75, 1, 113, '2012-09-18 09:11:06.830000') 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" = 75 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.837000' WHERE "spree_products"."id" = 113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 113, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.839000' WHERE "spree_products"."id" = 113  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (304, 86) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("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" != 113) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 113 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 75 LIMIT 1  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.860000' WHERE "spree_products"."id" = 113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 113, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.862000' WHERE "spree_products"."id" = 113  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (305, 87) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("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" != 113) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 113 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 75 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.893000' WHERE "spree_products"."id" = 113 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 113, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.896000' WHERE "spree_products"."id" = 113  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (306, 88) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("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" != 113) 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" != 113) 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" != 113) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 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" = 113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 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" = 304 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" = 305 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" = 306 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" != 113) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.932000' WHERE "spree_products"."id" = 113  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 304 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.934000' WHERE "spree_products"."id" = 113 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.937000' WHERE "spree_products"."id" = 113  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 305 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.939000' WHERE "spree_products"."id" = 113 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 113 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.942000' WHERE "spree_products"."id" = 113  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 306 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.944000' WHERE "spree_products"."id" = 113 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 113) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 113 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-18 09:11:06.950000' WHERE "spree_products"."id" = 113 Row 2 succesfully SAVED : ID 113 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:11:06.966000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:11:06.966000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.973000' WHERE "spree_products"."id" = 114 SQL (0.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, 114, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.975000' WHERE "spree_products"."id" = 114  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 307 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:06.981000' WHERE "spree_products"."id" = 114  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 114  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:06.990000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:11:06.990000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:06.992000', NULL, 83, '2012-09-18 09:11:06.992000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 114, "updated_at" = '2012-09-18 09:11:06.995000' WHERE "spree_product_properties"."id" = 88 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" != 114) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:07.000000', NULL, 82, '2012-09-18 09:11:07.000000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 114, "updated_at" = '2012-09-18 09:11:07.003000' WHERE "spree_product_properties"."id" = 89 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" != 114) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:07.008000', 'yet_another_property', 'Yet another property', '2012-09-18 09:11:07.008000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:07.010000', NULL, 84, '2012-09-18 09:11:07.010000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 114, "updated_at" = '2012-09-18 09:11:07.016000' WHERE "spree_product_properties"."id" = 90 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" != 114) 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-18 09:11:07.026000', 'Drawings', '2012-09-18 09:11:07.026000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 175 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:11:07.031000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 175, '2012-09-18 09:11:07.031000') 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" = 114 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (114, 316) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 114) 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" = 172 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" = 311 AND "spree_taxons"."taxonomy_id" = 172 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" = 311 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-18 09:11:07.045000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 311, 'paintings/landscape', 0, 14, 172, '2012-09-18 09:11:07.045000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 311 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 317 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 = 317 THEN 311 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 311 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 317 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (114, 317)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (114, 311) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 114) 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" != 114) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 114 AND "spree_option_types"."id" = 75 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" = 114) ORDER BY position 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-18 09:11:07.063000', 75, 1, 114, '2012-09-18 09:11:07.063000') 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" = 75 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.070000' WHERE "spree_products"."id" = 114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 114, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.073000' WHERE "spree_products"."id" = 114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (308, 86) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("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" != 114) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 114 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 75 LIMIT 1  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.085000' WHERE "spree_products"."id" = 114 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, 114, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.087000' WHERE "spree_products"."id" = 114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (309, 87) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("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" != 114) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 114 AND "spree_option_types"."id" = 75 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 75 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.106000' WHERE "spree_products"."id" = 114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 114, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.109000' WHERE "spree_products"."id" = 114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (310, 88) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("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" != 114) 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-18 09:11:07.116000', 'print_type', 0, 'Print type', '2012-09-18 09:11:07.116000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 114 AND "spree_option_types"."id" = 76 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" = 114) ORDER BY position 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-18 09:11:07.137000', 76, 2, 114, '2012-09-18 09:11:07.137000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 76 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 76) ORDER 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-18 09:11:07.161000', 'black_white', 76, 1, NULL, '2012-09-18 09:11:07.161000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.170000' WHERE "spree_products"."id" = 114 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, 114, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.172000' WHERE "spree_products"."id" = 114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (311, 89) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("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" != 114) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 114 AND "spree_option_types"."id" = 76 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 76 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 76) ORDER 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-18 09:11:07.184000', 'colour', 76, 2, NULL, '2012-09-18 09:11:07.184000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.191000' WHERE "spree_products"."id" = 114 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 114, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.194000' WHERE "spree_products"."id" = 114  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (312, 90) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("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" != 114) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 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" = 114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 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" = 308 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" = 309 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" = 310 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 312 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" != 114) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.229000' WHERE "spree_products"."id" = 114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 308 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.231000' WHERE "spree_products"."id" = 114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.233000' WHERE "spree_products"."id" = 114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 309 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.235000' WHERE "spree_products"."id" = 114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.237000' WHERE "spree_products"."id" = 114  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 310 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.239000' WHERE "spree_products"."id" = 114 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.241000' WHERE "spree_products"."id" = 114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 311 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.242000' WHERE "spree_products"."id" = 114 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 114 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.244000' WHERE "spree_products"."id" = 114  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 312 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:07.246000' WHERE "spree_products"."id" = 114 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" != 114) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 114 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-18 09:11:07.252000' WHERE "spree_products"."id" = 114 Row 3 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 :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 112 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 114 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 114 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (21.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (21.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (22.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"   (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (20.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (22.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (7.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (6.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:11:08.316000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:08.316000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.321000' WHERE "spree_products"."id" = 115 SQL (0.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, 115, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.324000' WHERE "spree_products"."id" = 115  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 313 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.346000' WHERE "spree_products"."id" = 115  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 115  (0.0ms) 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::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-18 09:11:08.360000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:11:08.360000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:08.366000', NULL, 85, '2012-09-18 09:11:08.366000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 115, "updated_at" = '2012-09-18 09:11:08.369000' WHERE "spree_product_properties"."id" = 91 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" != 115) 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-18 09:11:08.378000', 'Paintings', '2012-09-18 09:11:08.378000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 176 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-18 09:11:08.387000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 176, '2012-09-18 09:11:08.387000') 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" = 115 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (115, 318) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:08.394000', 'WaterColour', '2012-09-18 09:11:08.394000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 177 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-18 09:11:08.398000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 177, '2012-09-18 09:11:08.398000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (115, 319) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 115) LIMIT 1 Spree::OptionType Load (0.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-18 09:11:08.435000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:08.435000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 115 AND "spree_option_types"."id" = 77 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" = 115) ORDER BY position 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-18 09:11:08.448000', 77, 1, 115, '2012-09-18 09:11:08.448000') 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" = 77 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 77) 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-18 09:11:08.460000', 'jpeg', 77, 1, NULL, '2012-09-18 09:11:08.460000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.467000' WHERE "spree_products"."id" = 115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 115, 'DEMO_001_1', NULL, NULL) SQL (19.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.471000' WHERE "spree_products"."id" = 115  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (314, 91) 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" = 77 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 77) ORDER 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-18 09:11:08.496000', 'PDF', 77, 2, NULL, '2012-09-18 09:11:08.496000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.500000' WHERE "spree_products"."id" = 115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 115, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.502000' WHERE "spree_products"."id" = 115  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (315, 92) 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" = 77 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 77) ORDER 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-18 09:11:08.506000', 'PNG', 77, 3, NULL, '2012-09-18 09:11:08.506000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.511000' WHERE "spree_products"."id" = 115 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 115, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.516000' WHERE "spree_products"."id" = 115  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (316, 93) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 AND ("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" != 115) LIMIT 1  (2.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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" = 115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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" = 314 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 316 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" != 115) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.552000' WHERE "spree_products"."id" = 115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 314 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.559000' WHERE "spree_products"."id" = 115 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.563000' WHERE "spree_products"."id" = 115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 315 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.565000' WHERE "spree_products"."id" = 115 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.566000' WHERE "spree_products"."id" = 115  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 316 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:08.570000' WHERE "spree_products"."id" = 115 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 115) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 115 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" = 313 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 313 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:11:08.672000', 240, 0, 'Spree::Image', 313, 'Spree::Variant') Product assigned an Image : nil 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" != 115) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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-18 09:11:09.214000' WHERE "spree_products"."id" = 115 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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-18 09:11:09.290000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:09.290000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.294000' WHERE "spree_products"."id" = 116 SQL (0.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, 116, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.300000' WHERE "spree_products"."id" = 116  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 317 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.303000' WHERE "spree_products"."id" = 116  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 116  (0.0ms) 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::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-18 09:11:09.310000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:11:09.310000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:09.313000', NULL, 86, '2012-09-18 09:11:09.313000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 116, "updated_at" = '2012-09-18 09:11:09.315000' WHERE "spree_product_properties"."id" = 92 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" != 116) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (3.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 176 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 116 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (116, 318) 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-18 09:11:09.340000', 'Landscape', '2012-09-18 09:11:09.340000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 178 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-18 09:11:09.346000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 178, '2012-09-18 09:11:09.346000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (116, 320) 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-18 09:11:09.356000', 'Oils', '2012-09-18 09:11:09.356000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 179 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-18 09:11:09.360000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 179, '2012-09-18 09:11:09.360000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (116, 321) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 116) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 116 AND "spree_option_types"."id" = 77 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" = 116) ORDER BY position 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-18 09:11:09.374000', 77, 1, 116, '2012-09-18 09:11:09.374000') 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" = 77 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.380000' WHERE "spree_products"."id" = 116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 116, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.383000' WHERE "spree_products"."id" = 116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (318, 91) 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" = 77 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.401000' WHERE "spree_products"."id" = 116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 116, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.405000' WHERE "spree_products"."id" = 116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (319, 92) 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" = 77 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.416000' WHERE "spree_products"."id" = 116 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 116, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.418000' WHERE "spree_products"."id" = 116  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (320, 93) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 AND ("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" != 116) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 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" = 116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 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" = 318 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 320 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" != 116) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.442000' WHERE "spree_products"."id" = 116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 318 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.444000' WHERE "spree_products"."id" = 116 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.445000' WHERE "spree_products"."id" = 116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 319 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.447000' WHERE "spree_products"."id" = 116 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.450000' WHERE "spree_products"."id" = 116  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 320 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:09.451000' WHERE "spree_products"."id" = 116 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 116) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 116 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" = 317 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 317 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:11:09.504000', 2424, 0, 'Spree::Image', 317, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 116) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 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-18 09:11:13.563000' WHERE "spree_products"."id" = 116 Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-18 09:11:13.578000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:11:13.578000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.582000' WHERE "spree_products"."id" = 117 SQL (0.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, 117, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.584000' WHERE "spree_products"."id" = 117  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 321 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.590000' WHERE "spree_products"."id" = 117  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 117  (1.0ms) 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::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-18 09:11:13.600000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:11:13.600000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:13.603000', NULL, 87, '2012-09-18 09:11:13.603000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 117, "updated_at" = '2012-09-18 09:11:13.605000' WHERE "spree_product_properties"."id" = 93 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-18 09:11:13.609000', NULL, 86, '2012-09-18 09:11:13.609000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 117, "updated_at" = '2012-09-18 09:11:13.610000' WHERE "spree_product_properties"."id" = 94 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:11:13.619000', 'yet_another_property', 'Yet another property', '2012-09-18 09:11:13.619000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:13.622000', NULL, 88, '2012-09-18 09:11:13.622000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 117, "updated_at" = '2012-09-18 09:11:13.623000' WHERE "spree_product_properties"."id" = 95 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 117) 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-18 09:11:13.627000', 'Drawings', '2012-09-18 09:11:13.627000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 180 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-18 09:11:13.631000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 180, '2012-09-18 09:11:13.631000') 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" = 117 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (117, 322) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 117) 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" = 117 AND "spree_option_types"."id" = 77 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" = 117) 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-18 09:11:13.645000', 77, 1, 117, '2012-09-18 09:11:13.645000') 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" = 77 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.654000' WHERE "spree_products"."id" = 117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 117, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.659000' WHERE "spree_products"."id" = 117  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (322, 91) 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" = 77 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.664000' WHERE "spree_products"."id" = 117 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, 117, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.668000' WHERE "spree_products"."id" = 117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (323, 92) 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" = 77 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.672000' WHERE "spree_products"."id" = 117 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 117, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.675000' WHERE "spree_products"."id" = 117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (324, 93) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 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-18 09:11:13.678000', 'print_type', 0, 'Print type', '2012-09-18 09:11:13.678000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 117 AND "spree_option_types"."id" = 78 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" = 117) 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-18 09:11:13.706000', 78, 2, 117, '2012-09-18 09:11:13.706000') 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" = 78 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 78) ORDER 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-18 09:11:13.710000', 'black_white', 78, 1, NULL, '2012-09-18 09:11:13.710000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.715000' WHERE "spree_products"."id" = 117 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 117, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.718000' WHERE "spree_products"."id" = 117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (325, 94) 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" = 78 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 78) ORDER 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-18 09:11:13.722000', 'colour', 78, 2, NULL, '2012-09-18 09:11:13.722000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.730000' WHERE "spree_products"."id" = 117 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, 117, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.732000' WHERE "spree_products"."id" = 117  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (326, 95) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 AND ("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" != 117) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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" = 117 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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" = 322 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 323 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 324 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 326 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" != 117) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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" = 117 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.765000' WHERE "spree_products"."id" = 117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 322 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.767000' WHERE "spree_products"."id" = 117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.769000' WHERE "spree_products"."id" = 117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 323 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.770000' WHERE "spree_products"."id" = 117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.772000' WHERE "spree_products"."id" = 117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 324 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.773000' WHERE "spree_products"."id" = 117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.775000' WHERE "spree_products"."id" = 117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 325 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.777000' WHERE "spree_products"."id" = 117 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.778000' WHERE "spree_products"."id" = 117  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 326 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:13.780000' WHERE "spree_products"."id" = 117 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" != 117) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 117 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" = 321 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 321 AND position >= 0) SQL (3.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:11:13.794000', 240, 0, 'Spree::Image', 321, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 117) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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-18 09:11:14.345000' WHERE "spree_products"."id" = 117 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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 = 313) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 115)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 313 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 115 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 = 313) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 115)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 116 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 = 317) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 116)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 117 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 = 321) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 117))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:11:14.501000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:11:14.501000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.506000' WHERE "spree_products"."id" = 118 SQL (0.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, 118, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.508000' WHERE "spree_products"."id" = 118  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 327 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.512000' WHERE "spree_products"."id" = 118  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 118  (0.0ms) 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::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-18 09:11:14.519000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:11:14.519000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:14.522000', NULL, 89, '2012-09-18 09:11:14.522000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 118, "updated_at" = '2012-09-18 09:11:14.524000' WHERE "spree_product_properties"."id" = 96 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" != 118) 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-18 09:11:14.529000', 'Paintings', '2012-09-18 09:11:14.529000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 181 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-18 09:11:14.534000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 181, '2012-09-18 09:11:14.534000') 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" = 118 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 323) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:14.541000', 'WaterColour', '2012-09-18 09:11:14.541000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 182 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-18 09:11:14.549000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 182, '2012-09-18 09:11:14.549000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (118, 324) 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" != 118) LIMIT 1 Spree::OptionType Load (0.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-18 09:11:14.578000', 'mime_type', 0, 'Mime type', '2012-09-18 09:11:14.578000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 118 AND "spree_option_types"."id" = 79 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" = 118) ORDER BY position 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-18 09:11:14.584000', 79, 1, 118, '2012-09-18 09:11:14.584000') 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" = 79 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 79) ORDER 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-18 09:11:14.587000', 'jpeg', 79, 1, NULL, '2012-09-18 09:11:14.587000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.593000' WHERE "spree_products"."id" = 118 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, 118, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.602000' WHERE "spree_products"."id" = 118  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (328, 96) 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" = 79 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 79) ORDER 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-18 09:11:14.607000', 'PDF', 79, 2, NULL, '2012-09-18 09:11:14.607000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.611000' WHERE "spree_products"."id" = 118 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 118, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.614000' WHERE "spree_products"."id" = 118  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (329, 97) 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" = 79 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 79) ORDER 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-18 09:11:14.627000', 'PNG', 79, 3, NULL, '2012-09-18 09:11:14.627000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.632000' WHERE "spree_products"."id" = 118 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 118, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.654000' WHERE "spree_products"."id" = 118  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (330, 98) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 AND ("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" != 118) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 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" = 118 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 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" = 328 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" = 329 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 330 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" != 118) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 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" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.681000' WHERE "spree_products"."id" = 118  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 328 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.682000' WHERE "spree_products"."id" = 118 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.691000' WHERE "spree_products"."id" = 118  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 329 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.694000' WHERE "spree_products"."id" = 118 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.695000' WHERE "spree_products"."id" = 118  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 330 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:14.697000' WHERE "spree_products"."id" = 118 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 118) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 118 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" = 327 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 327 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:11:14.706000', 240, 0, 'Spree::Image', 327, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 118) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 118 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-18 09:11:15.253000' WHERE "spree_products"."id" = 118 Row 1 succesfully SAVED : ID 118 Current value to assign : DEMO_002 Current value to 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-18 09:11:15.266000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:11:15.266000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.270000' WHERE "spree_products"."id" = 119 SQL (0.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, 119, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.275000' WHERE "spree_products"."id" = 119  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 331 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.278000' WHERE "spree_products"."id" = 119  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 119  (0.0ms) 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::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-18 09:11:15.286000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:11:15.286000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:15.297000', NULL, 90, '2012-09-18 09:11:15.297000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 119, "updated_at" = '2012-09-18 09:11:15.301000' WHERE "spree_product_properties"."id" = 97 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" != 119) 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" = 181 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" = 119 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (119, 323) 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-18 09:11:15.313000', 'Landscape', '2012-09-18 09:11:15.313000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 183 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-18 09:11:15.323000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 183, '2012-09-18 09:11:15.323000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (119, 325) 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-18 09:11:15.345000', 'Oils', '2012-09-18 09:11:15.345000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 184 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-18 09:11:15.355000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 184, '2012-09-18 09:11:15.355000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (119, 326) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 119) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 119 AND "spree_option_types"."id" = 79 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" = 119) ORDER BY position 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-18 09:11:15.383000', 79, 1, 119, '2012-09-18 09:11:15.383000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.392000' WHERE "spree_products"."id" = 119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 119, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.394000' WHERE "spree_products"."id" = 119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (332, 96) 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" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.399000' WHERE "spree_products"."id" = 119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 119, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.401000' WHERE "spree_products"."id" = 119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (333, 97) 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" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.406000' WHERE "spree_products"."id" = 119 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 119, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.411000' WHERE "spree_products"."id" = 119  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (334, 98) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 AND ("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" != 119) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 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" = 119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 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" = 332 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 334 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" != 119) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.443000' WHERE "spree_products"."id" = 119  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 332 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.445000' WHERE "spree_products"."id" = 119 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.448000' WHERE "spree_products"."id" = 119  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 333 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.451000' WHERE "spree_products"."id" = 119 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.453000' WHERE "spree_products"."id" = 119  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 334 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:15.455000' WHERE "spree_products"."id" = 119 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" != 119) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 119 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" = 331 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 331 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:11:15.491000', 2424, 0, 'Spree::Image', 331, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 119) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 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-18 09:11:22.440000' WHERE "spree_products"."id" = 119 Row 2 succesfully SAVED : ID 119 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:11:22.459000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:11:22.459000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.463000' WHERE "spree_products"."id" = 120 SQL (0.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, 120, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.466000' WHERE "spree_products"."id" = 120  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 335 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.469000' WHERE "spree_products"."id" = 120  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 120  (0.0ms) 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.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-18 09:11:22.479000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:11:22.479000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:22.481000', NULL, 91, '2012-09-18 09:11:22.481000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 120, "updated_at" = '2012-09-18 09:11:22.483000' WHERE "spree_product_properties"."id" = 98 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-18 09:11:22.489000', NULL, 90, '2012-09-18 09:11:22.489000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 120, "updated_at" = '2012-09-18 09:11:22.491000' WHERE "spree_product_properties"."id" = 99 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-18 09:11:22.493000', 'yet_another_property', 'Yet another property', '2012-09-18 09:11:22.493000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:11:22.496000', NULL, 92, '2012-09-18 09:11:22.496000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 120, "updated_at" = '2012-09-18 09:11:22.501000' WHERE "spree_product_properties"."id" = 100 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" != 120) 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-18 09:11:22.507000', 'Drawings', '2012-09-18 09:11:22.507000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 185 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-18 09:11:22.511000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 185, '2012-09-18 09:11:22.511000') 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" = 120 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (120, 327) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 120) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 120 AND "spree_option_types"."id" = 79 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" = 120) ORDER BY position 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-18 09:11:22.525000', 79, 1, 120, '2012-09-18 09:11:22.525000') 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" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.530000' WHERE "spree_products"."id" = 120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 120, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.532000' WHERE "spree_products"."id" = 120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (336, 96) 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" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.536000' WHERE "spree_products"."id" = 120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 120, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.539000' WHERE "spree_products"."id" = 120  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (337, 97) 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" = 79 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.543000' WHERE "spree_products"."id" = 120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 120, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.544000' WHERE "spree_products"."id" = 120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (338, 98) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:11:22.549000', 'print_type', 0, 'Print type', '2012-09-18 09:11:22.549000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 80 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" = 120) 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-18 09:11:22.561000', 80, 2, 120, '2012-09-18 09:11:22.561000') 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" = 80 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 80) ORDER 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-18 09:11:22.565000', 'black_white', 80, 1, NULL, '2012-09-18 09:11:22.565000')  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.570000' WHERE "spree_products"."id" = 120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 120, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.572000' WHERE "spree_products"."id" = 120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (339, 99) 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" = 80 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 80) ORDER 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-18 09:11:22.575000', 'colour', 80, 2, NULL, '2012-09-18 09:11:22.575000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.590000' WHERE "spree_products"."id" = 120 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 120, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.592000' WHERE "spree_products"."id" = 120  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (340, 100) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 AND ("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" != 120) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 338 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 340 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" != 120) LIMIT 1  (5.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.659000' WHERE "spree_products"."id" = 120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 336 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.661000' WHERE "spree_products"."id" = 120 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.663000' WHERE "spree_products"."id" = 120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 337 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.665000' WHERE "spree_products"."id" = 120 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.667000' WHERE "spree_products"."id" = 120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 338 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.681000' WHERE "spree_products"."id" = 120 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.684000' WHERE "spree_products"."id" = 120  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 339 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.685000' WHERE "spree_products"."id" = 120 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.687000' WHERE "spree_products"."id" = 120  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 340 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:11:22.689000' WHERE "spree_products"."id" = 120 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 120) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 120 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" = 335 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 335 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:11:22.703000', 240, 0, 'Spree::Image', 335, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 120) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:11:23.431000' WHERE "spree_products"."id" = 120 Row 3 succesfully SAVED : ID 120 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 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" = 118 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 = 327) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 118)) 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" = 118 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 = 327) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 118)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 119 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 = 331) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 119)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 120 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 = 335) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 120))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:23.713000', 'Paintings', '2012-09-18 09:11:23.713000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 186 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-18 09:11:23.720000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 186, '2012-09-18 09:11:23.720000')  (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-18 09:11:23.727000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 186, '2012-09-18 09:11:23.727000')  (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-18 09:11:23.733000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 186, '2012-09-18 09:11:23.733000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:23.777000', 'Paintings', '2012-09-18 09:11:23.777000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 187 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-18 09:11:23.782000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 187, '2012-09-18 09:11:23.782000')  (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-18 09:11:23.790000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 187, '2012-09-18 09:11:23.790000')  (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-18 09:11:23.797000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 187, '2012-09-18 09:11:23.797000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 187 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 187 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 187 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:23.913000', 'Paintings', '2012-09-18 09:11:23.913000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 188 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-18 09:11:23.929000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 188, '2012-09-18 09:11:23.929000')  (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-18 09:11:23.944000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 188, '2012-09-18 09:11:23.944000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 334, "updated_at" = '2012-09-18 09:11:23.966000' WHERE "spree_taxons"."id" = 335 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 334 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 335 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 335 THEN 334 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 334 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 335 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 334 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:24.023000', 'Paintings', '2012-09-18 09:11:24.023000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 189 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-18 09:11:24.029000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 189, '2012-09-18 09:11:24.029000')  (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-18 09:11:24.039000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 189, '2012-09-18 09:11:24.039000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 336, "updated_at" = '2012-09-18 09:11:24.047000' WHERE "spree_taxons"."id" = 337 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 336 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 337 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 337 THEN 336 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 336 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 337 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 336 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:11:24.104000', 'Paintings', '2012-09-18 09:11:24.104000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 190 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-18 09:11:24.121000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 190, '2012-09-18 09:11:24.121000')  (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-18 09:11:24.129000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 190, '2012-09-18 09:11:24.129000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 338, "updated_at" = '2012-09-18 09:11:24.134000' WHERE "spree_taxons"."id" = 339 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 338 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 339 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 339 THEN 338 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 338 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 339 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 338 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (2.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (5.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (10.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (9.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:31.982000', 'Paintings', '2012-09-18 09:12:31.982000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 191 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-18 09:12:32.416000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 191, '2012-09-18 09:12:32.416000')  (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-18 09:12:32.444000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 191, '2012-09-18 09:12:32.444000')  (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-18 09:12:32.463000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 191, '2012-09-18 09:12:32.463000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (26.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:32.927000', 'Paintings', '2012-09-18 09:12:32.927000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 192 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-18 09:12:33.033000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 192, '2012-09-18 09:12:33.033000')  (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-18 09:12:33.060000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 192, '2012-09-18 09:12:33.060000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:33.092000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 192, '2012-09-18 09:12:33.092000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (22.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:33.180000', 'Paintings', '2012-09-18 09:12:33.180000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 193 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-18 09:12:33.213000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 193, '2012-09-18 09:12:33.213000')  (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-18 09:12:33.233000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 193, '2012-09-18 09:12:33.233000')  (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-18 09:12:33.251000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 193, '2012-09-18 09:12:33.251000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (19.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:33.740000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:12:33.740000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 27 Row 1 succesfully SAVED : ID 27 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:33.798000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:12:33.798000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 28 Row 2 succesfully SAVED : ID 28 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:33.811000', 'f', 'Europe', 'EUR', '2012-09-18 09:12:33.811000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 29 Row 3 succesfully SAVED : ID 29 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:33.828000', 'f', 'North America', 'NA', '2012-09-18 09:12:33.828000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 30 Row 4 succesfully SAVED : ID 30 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:33.995000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:12:33.995000', 0) Spree::ZoneMember Load (0.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:34.007000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:12:34.007000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:34.033000', 'f', 'Europe', 'EUR', '2012-09-18 09:12:34.033000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:12:34.055000', 'f', 'North America', 'NA', '2012-09-18 09:12:34.055000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 34  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (9.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (23.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:34.403000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:34.403000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 121 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.433000' WHERE "spree_products"."id" = 121 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, 345.78, 121, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.443000' WHERE "spree_products"."id" = 121  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 341 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.454000' WHERE "spree_products"."id" = 121  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 121  (1.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 121) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:34.569000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:34.569000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 81 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" = 121) ORDER BY position 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-18 09:12:34.654000', 81, 1, 121, '2012-09-18 09:12:34.654000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 121) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:12:34.666000' WHERE "spree_products"."id" = 121  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 341 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.673000' WHERE "spree_products"."id" = 121 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 121 Row 1 succesfully SAVED : ID 121 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:34.703000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:34.703000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 122 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.734000' WHERE "spree_products"."id" = 122 SQL (0.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, 122, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.742000' WHERE "spree_products"."id" = 122  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 342 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.747000' WHERE "spree_products"."id" = 122  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 122 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 122  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 342 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 122) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 122 AND "spree_option_types"."id" = 81 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" = 122) ORDER BY position 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-18 09:12:34.819000', 81, 1, 122, '2012-09-18 09:12:34.819000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 122) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:12:34.833000' WHERE "spree_products"."id" = 122  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 342 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.841000' WHERE "spree_products"."id" = 122 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 122 Row 2 succesfully SAVED : ID 122 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:12:34.864000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:12:34.864000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 123 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.884000' WHERE "spree_products"."id" = 123 SQL (0.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, 123, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.890000' WHERE "spree_products"."id" = 123  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:34.896000' WHERE "spree_products"."id" = 123  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 123  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 343 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 123) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 123 AND "spree_option_types"."id" = 81 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" = 123) ORDER BY position 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-18 09:12:34.935000', 81, 1, 123, '2012-09-18 09:12:34.935000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:12:34.941000', 'print_type', 0, 'Print type', '2012-09-18 09:12:34.941000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 82 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" = 123) 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-18 09:12:34.988000', 82, 2, 123, '2012-09-18 09:12:34.988000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 123) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:12:34.998000' WHERE "spree_products"."id" = 123  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.016000' WHERE "spree_products"."id" = 123 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 123 Row 3 succesfully SAVED : ID 123 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:12:35.093000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:12:35.095000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 121 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 121 ORDER BY spree_option_types.position  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 123 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:12:35.297000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:35.297000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 124 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.310000' WHERE "spree_products"."id" = 124 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 124, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.313000' WHERE "spree_products"."id" = 124  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 344 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.318000' WHERE "spree_products"."id" = 124  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 124  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 124) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:35.353000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:35.353000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 83 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" = 124) ORDER BY position 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-18 09:12:35.424000', 83, 1, 124, '2012-09-18 09:12:35.424000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 124) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:12:35.445000' WHERE "spree_products"."id" = 124  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 344 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.457000' WHERE "spree_products"."id" = 124 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 124 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:35.493000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:35.493000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 125 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.499000' WHERE "spree_products"."id" = 125 SQL (0.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, 125, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.505000' WHERE "spree_products"."id" = 125  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 345 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.509000' WHERE "spree_products"."id" = 125  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 125 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 125  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 125) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 125 AND "spree_option_types"."id" = 83 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" = 125) 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-18 09:12:35.874000', 83, 1, 125, '2012-09-18 09:12:35.874000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 125) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:12:35.883000' WHERE "spree_products"."id" = 125  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 345 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.891000' WHERE "spree_products"."id" = 125 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 125 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:12:35.910000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:12:35.910000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 126 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.929000' WHERE "spree_products"."id" = 126 SQL (0.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, 126, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.932000' WHERE "spree_products"."id" = 126  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 346 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:35.954000' WHERE "spree_products"."id" = 126  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 126  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 346 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 126) 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" = 126 AND "spree_option_types"."id" = 83 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" = 126) ORDER BY position 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-18 09:12:36.015000', 83, 1, 126, '2012-09-18 09:12:36.015000') 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-18 09:12:36.020000', 'print_type', 0, 'Print type', '2012-09-18 09:12:36.020000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 84 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" = 126) ORDER BY position 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-18 09:12:36.054000', 84, 2, 126, '2012-09-18 09:12:36.054000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 126) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:12:36.080000' WHERE "spree_products"."id" = 126  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 346 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.086000' WHERE "spree_products"."id" = 126 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 126  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:12:36.102000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:12:36.103000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 124 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 124 ORDER BY spree_option_types.position  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 126 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (19.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:12:36.000000', 0, '2012-09-18 09:12:36.266000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:36.266000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 127 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.273000' WHERE "spree_products"."id" = 127 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 127, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.276000' WHERE "spree_products"."id" = 127  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 347 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.281000' WHERE "spree_products"."id" = 127  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 127  (0.0ms) 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::OptionType Load (0.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-18 09:12:36.305000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:36.305000') 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" = 127 AND "spree_option_types"."id" = 85 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" = 127) 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-18 09:12:36.328000', 85, 1, 127, '2012-09-18 09:12:36.328000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 127) LIMIT 1 Row 1 succesfully SAVED : ID 127 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:12:36.000000', 0, '2012-09-18 09:12:36.392000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:36.392000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 128 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.397000' WHERE "spree_products"."id" = 128 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 128, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.457000' WHERE "spree_products"."id" = 128  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 348 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.476000' WHERE "spree_products"."id" = 128  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 128 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 128  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 128 AND "spree_option_types"."id" = 85 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" = 128) ORDER BY position 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-18 09:12:36.497000', 85, 1, 128, '2012-09-18 09:12:36.497000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 128) LIMIT 1 Row 2 succesfully SAVED : ID 128 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:12:36.000000', 0, '2012-09-18 09:12:36.552000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:12:36.552000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 129 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.557000' WHERE "spree_products"."id" = 129 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 129, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.559000' WHERE "spree_products"."id" = 129  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 349 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.564000' WHERE "spree_products"."id" = 129  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 129 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 129  (2.0ms) 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.0ms) SELECT "spree_option_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" = 129 AND "spree_option_types"."id" = 85 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" = 129) ORDER BY position 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-18 09:12:36.586000', 85, 1, 129, '2012-09-18 09:12:36.586000') 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-18 09:12:36.591000', 'print_type', 0, 'Print type', '2012-09-18 09:12:36.591000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 86 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" = 129) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-18 09:12:36.598000', 86, 2, 129, '2012-09-18 09:12:36.598000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 129) LIMIT 1 Row 3 succesfully SAVED : ID 129 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 127 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (22.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:12:36.750000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:36.750000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 130 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.773000' WHERE "spree_products"."id" = 130 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 130, 'SPEC_SIMPLE_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.776000' WHERE "spree_products"."id" = 130  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 350 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.806000' WHERE "spree_products"."id" = 130  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 130  (0.0ms) 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 (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:12:36.823000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:36.823000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 87 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" = 130) ORDER BY position 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-18 09:12:36.840000', 87, 1, 130, '2012-09-18 09:12:36.840000') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 130) LIMIT 1 Row 1 succesfully SAVED : ID 130 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:12:36.878000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:36.878000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 131 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.883000' WHERE "spree_products"."id" = 131 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 131, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.886000' WHERE "spree_products"."id" = 131  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 351 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.895000' WHERE "spree_products"."id" = 131  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 131 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 131  (1.0ms) 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.0ms) SELECT "spree_option_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" = 131 AND "spree_option_types"."id" = 87 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" = 131) ORDER BY position 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-18 09:12:36.912000', 87, 1, 131, '2012-09-18 09:12:36.912000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 131) LIMIT 1 Row 2 succesfully SAVED : ID 131 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (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-18 09:12:36.950000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:12:36.950000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 132 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.956000' WHERE "spree_products"."id" = 132 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 132, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.960000' WHERE "spree_products"."id" = 132  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 352 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:36.963000' WHERE "spree_products"."id" = 132  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 132 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 132  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 132 AND "spree_option_types"."id" = 87 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" = 132) ORDER BY position 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-18 09:12:36.979000', 87, 1, 132, '2012-09-18 09:12:36.979000') 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-18 09:12:36.983000', 'print_type', 0, 'Print type', '2012-09-18 09:12:36.983000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 88 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" = 132) ORDER BY position 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-18 09:12:36.992000', 88, 2, 132, '2012-09-18 09:12:36.992000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 132) LIMIT 1 Row 3 succesfully SAVED : ID 132 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 130 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (20.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:37.122000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:12:37.122000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:37.156000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:37.156000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.161000' WHERE "spree_products"."id" = 133 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, 133, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.183000' WHERE "spree_products"."id" = 133  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 353 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.193000' WHERE "spree_products"."id" = 133  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 133  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:37.247000', NULL, 93, '2012-09-18 09:12:37.247000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 133, "updated_at" = '2012-09-18 09:12:37.255000' WHERE "spree_product_properties"."id" = 101 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" != 133) 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-18 09:12:37.263000', 'Paintings', '2012-09-18 09:12:37.263000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 194 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-18 09:12:37.270000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 194, '2012-09-18 09:12:37.270000') 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" = 133 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (133, 349) 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-18 09:12:37.282000', 'WaterColour', '2012-09-18 09:12:37.282000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 195 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-18 09:12:37.292000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 195, '2012-09-18 09:12:37.292000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (133, 350) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 133) 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" != 133) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:37.312000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:37.312000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 89 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" = 133) ORDER BY position 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-18 09:12:37.329000', 89, 1, 133, '2012-09-18 09:12:37.329000') 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" = 89 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 89) ORDER 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-18 09:12:37.369000', 'jpeg', 89, 1, NULL, '2012-09-18 09:12:37.369000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.374000' WHERE "spree_products"."id" = 133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 133, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.380000' WHERE "spree_products"."id" = 133  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (354, 101) 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" = 89 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 89) ORDER 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-18 09:12:37.391000', 'PDF', 89, 2, NULL, '2012-09-18 09:12:37.391000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.397000' WHERE "spree_products"."id" = 133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 133, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.399000' WHERE "spree_products"."id" = 133  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (355, 102) 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" = 89 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 89) 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-18 09:12:37.404000', 'PNG', 89, 3, NULL, '2012-09-18 09:12:37.404000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.417000' WHERE "spree_products"."id" = 133 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 133, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.426000' WHERE "spree_products"."id" = 133  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (356, 103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 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" != 133) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 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" = 133 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" = 133 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" = 354 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" = 355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 356 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" != 133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 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" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.466000' WHERE "spree_products"."id" = 133  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 354 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.469000' WHERE "spree_products"."id" = 133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.473000' WHERE "spree_products"."id" = 133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 355 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.475000' WHERE "spree_products"."id" = 133 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 133 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.477000' WHERE "spree_products"."id" = 133  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 356 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.479000' WHERE "spree_products"."id" = 133 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 133) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 133 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-18 09:12:37.485000' WHERE "spree_products"."id" = 133 Row 1 succesfully SAVED : ID 133 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:37.532000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:37.532000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.537000' WHERE "spree_products"."id" = 134 SQL (0.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, 134, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.541000' WHERE "spree_products"."id" = 134  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 357 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.545000' WHERE "spree_products"."id" = 134  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 134  (0.0ms) 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::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-18 09:12:37.554000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:37.554000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:37.557000', NULL, 94, '2012-09-18 09:12:37.557000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 134, "updated_at" = '2012-09-18 09:12:37.561000' WHERE "spree_product_properties"."id" = 102 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" != 134) 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" = 194 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" = 134 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (134, 349) 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-18 09:12:37.572000', 'Oils', '2012-09-18 09:12:37.572000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 196 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-18 09:12:37.579000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 196, '2012-09-18 09:12:37.579000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (134, 351) 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" = 194 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 349 AND "spree_taxons"."taxonomy_id" = 194 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" = 349 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:37.590000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 349, 'paintings/nature', 0, 8, 194, '2012-09-18 09:12:37.590000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 349 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 352 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 = 352 THEN 349 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 349 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 352 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 352 AND "spree_taxons"."taxonomy_id" = 194 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 352 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-18 09:12:37.606000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 352, 'paintings/nature/seascape', 0, 10, 194, '2012-09-18 09:12:37.606000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 352 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 353 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 = 353 THEN 352 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 352 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 353 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (134, 352)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (134, 353) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 134) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 134 AND "spree_option_types"."id" = 89 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" = 134) ORDER BY position 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-18 09:12:37.630000', 89, 1, 134, '2012-09-18 09:12:37.630000') 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" = 89 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.642000' WHERE "spree_products"."id" = 134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 134, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.647000' WHERE "spree_products"."id" = 134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (358, 101) 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" = 89 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.655000' WHERE "spree_products"."id" = 134 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 134, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.660000' WHERE "spree_products"."id" = 134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (359, 102) 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" = 89 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.667000' WHERE "spree_products"."id" = 134 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, 134, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.669000' WHERE "spree_products"."id" = 134  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (360, 103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 AND ("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" != 134) 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" != 134) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 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" = 134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 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" = 358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 360 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" != 134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.698000' WHERE "spree_products"."id" = 134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 358 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.701000' WHERE "spree_products"."id" = 134 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.703000' WHERE "spree_products"."id" = 134  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 359 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.705000' WHERE "spree_products"."id" = 134 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 134 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.707000' WHERE "spree_products"."id" = 134  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 360 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.709000' WHERE "spree_products"."id" = 134 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 134) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 134 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-18 09:12:37.720000' WHERE "spree_products"."id" = 134 Row 2 succesfully SAVED : ID 134 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:37.739000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:37.739000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.748000' WHERE "spree_products"."id" = 135 SQL (0.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, 135, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.751000' WHERE "spree_products"."id" = 135  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 361 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.754000' WHERE "spree_products"."id" = 135  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 135  (1.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:37.782000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:37.782000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:37.792000', NULL, 95, '2012-09-18 09:12:37.792000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 135, "updated_at" = '2012-09-18 09:12:37.794000' WHERE "spree_product_properties"."id" = 103 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-18 09:12:37.798000', NULL, 94, '2012-09-18 09:12:37.798000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 135, "updated_at" = '2012-09-18 09:12:37.800000' WHERE "spree_product_properties"."id" = 104 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:37.810000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:37.810000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:37.815000', NULL, 96, '2012-09-18 09:12:37.815000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 135, "updated_at" = '2012-09-18 09:12:37.817000' WHERE "spree_product_properties"."id" = 105 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" != 135) 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-18 09:12:37.825000', 'Drawings', '2012-09-18 09:12:37.825000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 197 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-18 09:12:37.830000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 197, '2012-09-18 09:12:37.830000') 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" = 135 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (135, 354) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 194 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" = 349 AND "spree_taxons"."taxonomy_id" = 194 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 349 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-18 09:12:37.845000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 349, 'paintings/landscape', 0, 14, 194, '2012-09-18 09:12:37.845000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 349 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 355 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 = 355 THEN 349 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 349 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 355 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (135, 355)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (135, 349) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 135) 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" != 135) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 135 AND "spree_option_types"."id" = 89 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" = 135) ORDER BY position 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-18 09:12:37.872000', 89, 1, 135, '2012-09-18 09:12:37.872000') 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" = 89 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.880000' WHERE "spree_products"."id" = 135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 135, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.883000' WHERE "spree_products"."id" = 135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (362, 101) 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" = 89 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.904000' WHERE "spree_products"."id" = 135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 135, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.908000' WHERE "spree_products"."id" = 135  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (363, 102) 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" = 89 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.920000' WHERE "spree_products"."id" = 135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 135, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.922000' WHERE "spree_products"."id" = 135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (364, 103) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 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-18 09:12:37.927000', 'print_type', 0, 'Print type', '2012-09-18 09:12:37.927000') 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" = 135 AND "spree_option_types"."id" = 90 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" = 135) ORDER BY position 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-18 09:12:37.936000', 90, 2, 135, '2012-09-18 09:12:37.936000') 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" = 90 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 90) ORDER 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-18 09:12:37.940000', 'black_white', 90, 1, NULL, '2012-09-18 09:12:37.940000')  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.950000' WHERE "spree_products"."id" = 135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 135, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.973000' WHERE "spree_products"."id" = 135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (365, 104) 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" = 90 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 90) ORDER 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-18 09:12:37.978000', 'colour', 90, 2, NULL, '2012-09-18 09:12:37.978000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.983000' WHERE "spree_products"."id" = 135 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 135, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:37.986000' WHERE "spree_products"."id" = 135  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (366, 105) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 AND ("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" != 135) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 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" = 135 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 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" = 362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 366 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" != 135) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.019000' WHERE "spree_products"."id" = 135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 362 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.021000' WHERE "spree_products"."id" = 135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.023000' WHERE "spree_products"."id" = 135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 363 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.024000' WHERE "spree_products"."id" = 135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.026000' WHERE "spree_products"."id" = 135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 364 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.028000' WHERE "spree_products"."id" = 135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.030000' WHERE "spree_products"."id" = 135  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 365 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.048000' WHERE "spree_products"."id" = 135 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 135 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.051000' WHERE "spree_products"."id" = 135  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 366 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.052000' WHERE "spree_products"."id" = 135 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 135) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 135 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-18 09:12:38.059000' WHERE "spree_products"."id" = 135 Row 3 succesfully SAVED : ID 135 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 133 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 135 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 135 SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:38.220000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:12:38.220000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:38.285000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:38.285000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.290000' WHERE "spree_products"."id" = 136 SQL (0.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, 136, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.298000' WHERE "spree_products"."id" = 136  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 367 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.302000' WHERE "spree_products"."id" = 136  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 136  (1.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:38.311000', NULL, 97, '2012-09-18 09:12:38.311000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 136, "updated_at" = '2012-09-18 09:12:38.314000' WHERE "spree_product_properties"."id" = 106 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" != 136) 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" != 136) 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" != 136) 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-18 09:12:38.326000', 'Paintings', '2012-09-18 09:12:38.326000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 198 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-18 09:12:38.331000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 198, '2012-09-18 09:12:38.331000') 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" = 136 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (136, 356) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 136) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:38.355000', 'WaterColour', '2012-09-18 09:12:38.355000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 199 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-18 09:12:38.367000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 199, '2012-09-18 09:12:38.367000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (136, 357) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 136) 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" != 136) 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-18 09:12:38.387000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:38.387000') 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" = 136 AND "spree_option_types"."id" = 91 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" = 136) ORDER BY position 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-18 09:12:38.396000', 91, 1, 136, '2012-09-18 09:12:38.396000') 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" = 91 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 91) ORDER 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-18 09:12:38.401000', 'jpeg', 91, 1, NULL, '2012-09-18 09:12:38.401000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.435000' WHERE "spree_products"."id" = 136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 136, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.439000' WHERE "spree_products"."id" = 136  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (368, 106) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 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" != 136) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 136 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 91 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 91) ORDER 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-18 09:12:38.455000', 'PDF', 91, 2, NULL, '2012-09-18 09:12:38.455000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.477000' WHERE "spree_products"."id" = 136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 136, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.480000' WHERE "spree_products"."id" = 136  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (369, 107) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("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" != 136) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 136 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 91 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 91) ORDER 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-18 09:12:38.492000', 'PNG', 91, 3, NULL, '2012-09-18 09:12:38.492000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.498000' WHERE "spree_products"."id" = 136 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 136, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.500000' WHERE "spree_products"."id" = 136  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (370, 108) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("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" != 136) 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" != 136) 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" != 136) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 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" = 136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 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" = 368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 370 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" != 136) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.558000' WHERE "spree_products"."id" = 136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 368 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.560000' WHERE "spree_products"."id" = 136 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.562000' WHERE "spree_products"."id" = 136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 369 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.568000' WHERE "spree_products"."id" = 136 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 136 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.570000' WHERE "spree_products"."id" = 136  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 370 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.572000' WHERE "spree_products"."id" = 136 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 136) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 136 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-18 09:12:38.576000' WHERE "spree_products"."id" = 136 Row 1 succesfully SAVED : ID 136 Current value to assign : DEMO_002 Current value to 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-18 09:12:38.586000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:38.586000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.590000' WHERE "spree_products"."id" = 137 SQL (0.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, 137, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.593000' WHERE "spree_products"."id" = 137  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 371 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.595000' WHERE "spree_products"."id" = 137  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 137  (0.0ms) 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::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-18 09:12:38.612000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:38.612000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:38.615000', NULL, 98, '2012-09-18 09:12:38.615000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 137, "updated_at" = '2012-09-18 09:12:38.618000' WHERE "spree_product_properties"."id" = 107 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" != 137) 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" != 137) 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" != 137) 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" = 198 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 137 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (137, 356) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 137) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:38.644000', 'Oils', '2012-09-18 09:12:38.644000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 200 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-18 09:12:38.650000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 200, '2012-09-18 09:12:38.650000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (137, 358) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 137) 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" = 198 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" = 356 AND "spree_taxons"."taxonomy_id" = 198 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" = 356 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-18 09:12:38.667000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 356, 'paintings/nature', 0, 8, 198, '2012-09-18 09:12:38.667000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 356 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 359 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 = 359 THEN 356 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 356 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 359 AND "spree_taxons"."taxonomy_id" = 198 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 359 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:38.681000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 359, 'paintings/nature/seascape', 0, 10, 198, '2012-09-18 09:12:38.681000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 359 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 360 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 = 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 360 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (137, 359)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (137, 360) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 137) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 137 AND "spree_option_types"."id" = 91 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" = 137) ORDER BY position 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-18 09:12:38.701000', 91, 1, 137, '2012-09-18 09:12:38.701000') Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 91 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.712000' WHERE "spree_products"."id" = 137 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, 137, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.715000' WHERE "spree_products"."id" = 137  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (372, 106) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("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" != 137) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 137 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 91 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.734000' WHERE "spree_products"."id" = 137 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 137, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.737000' WHERE "spree_products"."id" = 137  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (373, 107) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("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" != 137) LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (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" = 137 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 91 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.772000' WHERE "spree_products"."id" = 137 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, 137, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.775000' WHERE "spree_products"."id" = 137  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (374, 108) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("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" != 137) 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" != 137) 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" != 137) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 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" = 137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 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" = 372 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 374 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" != 137) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.808000' WHERE "spree_products"."id" = 137  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 372 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.810000' WHERE "spree_products"."id" = 137 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.813000' WHERE "spree_products"."id" = 137  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 373 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.815000' WHERE "spree_products"."id" = 137 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 137 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.817000' WHERE "spree_products"."id" = 137  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 374 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.819000' WHERE "spree_products"."id" = 137 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 137) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 137 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-18 09:12:38.828000' WHERE "spree_products"."id" = 137 Row 2 succesfully SAVED : ID 137 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:38.841000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:38.841000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.847000' WHERE "spree_products"."id" = 138 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, 138, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.850000' WHERE "spree_products"."id" = 138  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 375 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.859000' WHERE "spree_products"."id" = 138  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 138  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:38.868000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:38.868000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:38.871000', NULL, 99, '2012-09-18 09:12:38.871000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 138, "updated_at" = '2012-09-18 09:12:38.873000' WHERE "spree_product_properties"."id" = 108 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" != 138) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:38.878000', NULL, 98, '2012-09-18 09:12:38.878000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 138, "updated_at" = '2012-09-18 09:12:38.882000' WHERE "spree_product_properties"."id" = 109 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 138) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:38.885000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:38.885000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:38.887000', NULL, 100, '2012-09-18 09:12:38.887000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 138, "updated_at" = '2012-09-18 09:12:38.894000' WHERE "spree_product_properties"."id" = 110 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" != 138) 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-18 09:12:38.899000', 'Drawings', '2012-09-18 09:12:38.899000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 201 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-18 09:12:38.904000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 201, '2012-09-18 09:12:38.904000') 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" = 138 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (138, 361) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 138) 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" = 198 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" = 356 AND "spree_taxons"."taxonomy_id" = 198 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" = 356 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-18 09:12:38.917000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 356, 'paintings/landscape', 0, 14, 198, '2012-09-18 09:12:38.917000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 356 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 362 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 = 362 THEN 356 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 356 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 362 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (138, 362)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (138, 356) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 138) 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" != 138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 138 AND "spree_option_types"."id" = 91 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" = 138) ORDER BY position 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-18 09:12:38.938000', 91, 1, 138, '2012-09-18 09:12:38.938000') 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" = 91 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.943000' WHERE "spree_products"."id" = 138 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, 138, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.946000' WHERE "spree_products"."id" = 138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (376, 106) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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" != 138) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 138 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 91 LIMIT 1  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.959000' WHERE "spree_products"."id" = 138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 138, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.961000' WHERE "spree_products"."id" = 138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (377, 107) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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" != 138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 138 AND "spree_option_types"."id" = 91 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 91 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.976000' WHERE "spree_products"."id" = 138 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, 138, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:38.978000' WHERE "spree_products"."id" = 138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (378, 108) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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" != 138) 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-18 09:12:38.988000', 'print_type', 0, 'Print type', '2012-09-18 09:12:38.988000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 92 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" = 138) 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-18 09:12:39.006000', 92, 2, 138, '2012-09-18 09:12:39.006000') 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" = 92 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 92) ORDER 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-18 09:12:39.010000', 'black_white', 92, 1, NULL, '2012-09-18 09:12:39.010000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.036000' WHERE "spree_products"."id" = 138 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 138, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.038000' WHERE "spree_products"."id" = 138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (379, 109) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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" != 138) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 138 AND "spree_option_types"."id" = 92 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 92 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 92) ORDER 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-18 09:12:39.054000', 'colour', 92, 2, NULL, '2012-09-18 09:12:39.054000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.059000' WHERE "spree_products"."id" = 138 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, 138, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.061000' WHERE "spree_products"."id" = 138  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (380, 110) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 AND ("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" != 138) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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" = 138 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" = 138 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" = 376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 138) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.094000' WHERE "spree_products"."id" = 138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 376 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.096000' WHERE "spree_products"."id" = 138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.098000' WHERE "spree_products"."id" = 138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 377 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.100000' WHERE "spree_products"."id" = 138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.102000' WHERE "spree_products"."id" = 138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 378 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.103000' WHERE "spree_products"."id" = 138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.105000' WHERE "spree_products"."id" = 138  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 379 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.107000' WHERE "spree_products"."id" = 138 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 138 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.110000' WHERE "spree_products"."id" = 138  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 380 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.111000' WHERE "spree_products"."id" = 138 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 138) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 138 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-18 09:12:39.115000' WHERE "spree_products"."id" = 138 Row 3 succesfully SAVED : ID 138 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 136 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 138 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 138 SQL (20.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (19.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (20.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (18.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:39.607000', 'Paintings', '2012-09-18 09:12:39.607000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 202 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-18 09:12:39.621000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 202, '2012-09-18 09:12:39.621000')  (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-18 09:12:39.636000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 202, '2012-09-18 09:12:39.636000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:39.665000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:39.665000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.670000' WHERE "spree_products"."id" = 139 SQL (17.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, 139, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.690000' WHERE "spree_products"."id" = 139  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 381 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.696000' WHERE "spree_products"."id" = 139  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 139  (0.0ms) 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::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-18 09:12:39.708000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:39.708000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:39.712000', NULL, 101, '2012-09-18 09:12:39.712000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 139, "updated_at" = '2012-09-18 09:12:39.713000' WHERE "spree_product_properties"."id" = 111 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" != 139) 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" = 202 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" = 139 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (139, 363) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:39.725000', 'WaterColour', '2012-09-18 09:12:39.725000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 203 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-18 09:12:39.761000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 203, '2012-09-18 09:12:39.761000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (139, 365) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 139) 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" != 139) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:39.777000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:39.777000') 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" = 139 AND "spree_option_types"."id" = 93 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" = 139) ORDER BY position 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-18 09:12:39.794000', 93, 1, 139, '2012-09-18 09:12:39.794000') 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" = 93 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 93) 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-18 09:12:39.820000', 'jpeg', 93, 1, NULL, '2012-09-18 09:12:39.820000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.827000' WHERE "spree_products"."id" = 139 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 139, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.829000' WHERE "spree_products"."id" = 139  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (382, 111) 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" = 93 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 93) 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-18 09:12:39.834000', 'PDF', 93, 2, NULL, '2012-09-18 09:12:39.834000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.838000' WHERE "spree_products"."id" = 139 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 139, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.841000' WHERE "spree_products"."id" = 139  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (383, 112) 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" = 93 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 93) ORDER 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-18 09:12:39.846000', 'PNG', 93, 3, NULL, '2012-09-18 09:12:39.846000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.858000' WHERE "spree_products"."id" = 139 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 139, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.862000' WHERE "spree_products"."id" = 139  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (384, 113) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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" != 139) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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" = 139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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" = 382 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 383 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" = 384 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" != 139) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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" = 139 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.883000' WHERE "spree_products"."id" = 139  (3.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 382 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.908000' WHERE "spree_products"."id" = 139 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.913000' WHERE "spree_products"."id" = 139  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 383 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.915000' WHERE "spree_products"."id" = 139 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 139 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.917000' WHERE "spree_products"."id" = 139  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 384 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.920000' WHERE "spree_products"."id" = 139 Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 139) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 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-18 09:12:39.925000' WHERE "spree_products"."id" = 139 Row 1 succesfully SAVED : ID 139 Current value to assign : DEMO_002 Current value to 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 (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-18 09:12:39.941000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:39.941000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.946000' WHERE "spree_products"."id" = 140 SQL (0.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, 140, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.952000' WHERE "spree_products"."id" = 140  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 385 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:39.955000' WHERE "spree_products"."id" = 140  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 140  (1.0ms) 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::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-18 09:12:39.965000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:39.965000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:39.974000', NULL, 102, '2012-09-18 09:12:39.974000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 140, "updated_at" = '2012-09-18 09:12:39.976000' WHERE "spree_product_properties"."id" = 112 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" != 140) 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" = 202 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" = 140 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (140, 363) 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-18 09:12:39.983000', 'Oils', '2012-09-18 09:12:39.983000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 204 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (4.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-18 09:12:39.993000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 204, '2012-09-18 09:12:39.993000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (140, 366) 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" = 202 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" = 363 AND "spree_taxons"."taxonomy_id" = 202 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 363 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-18 09:12:40.009000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 363, 'paintings/nature', 0, 10, 202, '2012-09-18 09:12:40.009000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 363 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 367 THEN 363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 363 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 367 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 367 AND "spree_taxons"."taxonomy_id" = 202 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" = 367 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-18 09:12:40.035000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 367, 'paintings/nature/seascape', 0, 12, 202, '2012-09-18 09:12:40.035000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 367 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 368 THEN 367 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 367 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 368 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (140, 367)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (140, 368) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 140) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 140 AND "spree_option_types"."id" = 93 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" = 140) ORDER BY position 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-18 09:12:40.055000', 93, 1, 140, '2012-09-18 09:12:40.055000') 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" = 93 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.060000' WHERE "spree_products"."id" = 140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 140, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.061000' WHERE "spree_products"."id" = 140  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (386, 111) 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" = 93 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.071000' WHERE "spree_products"."id" = 140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 140, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.073000' WHERE "spree_products"."id" = 140  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (387, 112) 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" = 93 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.078000' WHERE "spree_products"."id" = 140 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 140, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.080000' WHERE "spree_products"."id" = 140  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (388, 113) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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" != 140) 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" != 140) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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" = 140 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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" = 386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 387 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" = 388 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" != 140) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.117000' WHERE "spree_products"."id" = 140  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 386 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.134000' WHERE "spree_products"."id" = 140 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.137000' WHERE "spree_products"."id" = 140  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 387 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.138000' WHERE "spree_products"."id" = 140 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 140 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.140000' WHERE "spree_products"."id" = 140  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 388 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.141000' WHERE "spree_products"."id" = 140 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 140) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 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-18 09:12:40.145000' WHERE "spree_products"."id" = 140 Row 2 succesfully SAVED : ID 140 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:40.175000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:40.175000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.184000' WHERE "spree_products"."id" = 141 SQL (0.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, 141, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.186000' WHERE "spree_products"."id" = 141  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 389 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.188000' WHERE "spree_products"."id" = 141  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 141  (0.0ms) 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::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-18 09:12:40.198000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:40.198000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:40.200000', NULL, 103, '2012-09-18 09:12:40.200000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 141, "updated_at" = '2012-09-18 09:12:40.204000' WHERE "spree_product_properties"."id" = 113 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-18 09:12:40.225000', NULL, 102, '2012-09-18 09:12:40.225000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 141, "updated_at" = '2012-09-18 09:12:40.227000' WHERE "spree_product_properties"."id" = 114 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-18 09:12:40.237000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:40.237000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:40.239000', NULL, 104, '2012-09-18 09:12:40.239000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 141, "updated_at" = '2012-09-18 09:12:40.241000' WHERE "spree_product_properties"."id" = 115 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" != 141) 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-18 09:12:40.245000', 'Drawings', '2012-09-18 09:12:40.245000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 205 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-18 09:12:40.249000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 205, '2012-09-18 09:12:40.249000') 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" = 141 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (141, 369) 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" = 202 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" = 363 AND "spree_taxons"."taxonomy_id" = 202 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" = 363 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-18 09:12:40.267000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 363, 'paintings/landscape', 0, 16, 202, '2012-09-18 09:12:40.267000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 363 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 370 THEN 363 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 363 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 370 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (141, 370)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (141, 363) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 141) 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" != 141) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 141 AND "spree_option_types"."id" = 93 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" = 141) ORDER BY position 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-18 09:12:40.289000', 93, 1, 141, '2012-09-18 09:12:40.289000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 93 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.296000' WHERE "spree_products"."id" = 141 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, 141, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.302000' WHERE "spree_products"."id" = 141  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (390, 111) 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" = 93 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.308000' WHERE "spree_products"."id" = 141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 141, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.310000' WHERE "spree_products"."id" = 141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (391, 112) 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" = 93 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.314000' WHERE "spree_products"."id" = 141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 141, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.318000' WHERE "spree_products"."id" = 141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (392, 113) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 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-18 09:12:40.323000', 'print_type', 0, 'Print type', '2012-09-18 09:12:40.323000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 94 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" = 141) ORDER BY position 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-18 09:12:40.368000', 94, 2, 141, '2012-09-18 09:12:40.368000') 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" = 94 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 94) 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-18 09:12:40.372000', 'black_white', 94, 1, NULL, '2012-09-18 09:12:40.372000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.386000' WHERE "spree_products"."id" = 141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 141, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.388000' WHERE "spree_products"."id" = 141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (393, 114) 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" = 94 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 94) ORDER 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-18 09:12:40.393000', 'colour', 94, 2, NULL, '2012-09-18 09:12:40.393000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.398000' WHERE "spree_products"."id" = 141 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 141, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.400000' WHERE "spree_products"."id" = 141  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (394, 115) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("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" != 141) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 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" = 141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 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" = 390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 394 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" != 141) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.437000' WHERE "spree_products"."id" = 141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 390 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.439000' WHERE "spree_products"."id" = 141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.440000' WHERE "spree_products"."id" = 141  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 391 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.442000' WHERE "spree_products"."id" = 141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.444000' WHERE "spree_products"."id" = 141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 392 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.445000' WHERE "spree_products"."id" = 141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.446000' WHERE "spree_products"."id" = 141  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 393 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.448000' WHERE "spree_products"."id" = 141 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 141 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.451000' WHERE "spree_products"."id" = 141  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 394 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.453000' WHERE "spree_products"."id" = 141 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 141) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 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-18 09:12:40.462000' WHERE "spree_products"."id" = 141 Row 3 succesfully SAVED : ID 141 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  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 140 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 141 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 139 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 139 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 382 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 383 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 93 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 384 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:40.637000', 'Paintings', '2012-09-18 09:12:40.637000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 206 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-18 09:12:40.646000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 206, '2012-09-18 09:12:40.646000')  (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-18 09:12:40.656000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 206, '2012-09-18 09:12:40.656000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:40.687000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:40.687000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.691000' WHERE "spree_products"."id" = 142 SQL (0.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, 142, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.693000' WHERE "spree_products"."id" = 142  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 395 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.715000' WHERE "spree_products"."id" = 142  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 142  (0.0ms) 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::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-18 09:12:40.722000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:40.722000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:40.725000', NULL, 105, '2012-09-18 09:12:40.725000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 142, "updated_at" = '2012-09-18 09:12:40.727000' WHERE "spree_product_properties"."id" = 116 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 142) 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" != 142) 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" != 142) 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" = 206 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" = 142 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (142, 371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 142) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:40.739000', 'WaterColour', '2012-09-18 09:12:40.739000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 207 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-18 09:12:40.763000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 207, '2012-09-18 09:12:40.763000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (142, 373) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 142) 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" != 142) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:40.797000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:40.797000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 95 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" = 142) ORDER BY position 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-18 09:12:40.812000', 95, 1, 142, '2012-09-18 09:12:40.812000') 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" = 95 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 95) ORDER 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-18 09:12:40.821000', 'jpeg', 95, 1, NULL, '2012-09-18 09:12:40.821000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.860000' WHERE "spree_products"."id" = 142 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, 142, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.870000' WHERE "spree_products"."id" = 142  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (396, 116) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 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" != 142) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 142 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 95 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 95) ORDER 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-18 09:12:40.900000', 'PDF', 95, 2, NULL, '2012-09-18 09:12:40.900000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.904000' WHERE "spree_products"."id" = 142 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 142, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.907000' WHERE "spree_products"."id" = 142  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (397, 117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("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" != 142) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 142 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 95 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 95) ORDER 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-18 09:12:40.916000', 'PNG', 95, 3, NULL, '2012-09-18 09:12:40.916000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.921000' WHERE "spree_products"."id" = 142 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 142, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.923000' WHERE "spree_products"."id" = 142  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (398, 118) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("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" != 142) 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" != 142) 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" != 142) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 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" = 142 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" = 142 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" = 396 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" = 397 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 398 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" != 142) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.950000' WHERE "spree_products"."id" = 142  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 396 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.951000' WHERE "spree_products"."id" = 142 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.953000' WHERE "spree_products"."id" = 142  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 397 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.955000' WHERE "spree_products"."id" = 142 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 142 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.956000' WHERE "spree_products"."id" = 142  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 398 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.959000' WHERE "spree_products"."id" = 142 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 142) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 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-18 09:12:40.963000' WHERE "spree_products"."id" = 142 Row 1 succesfully SAVED : ID 142 Current value to assign : DEMO_002 Current value to 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-18 09:12:40.975000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:40.975000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.979000' WHERE "spree_products"."id" = 143 SQL (0.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, 143, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.981000' WHERE "spree_products"."id" = 143  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 399 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:40.985000' WHERE "spree_products"."id" = 143  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 143  (0.0ms) 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::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-18 09:12:40.992000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:40.992000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:40.994000', NULL, 106, '2012-09-18 09:12:40.994000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 143, "updated_at" = '2012-09-18 09:12:40.996000' WHERE "spree_product_properties"."id" = 117 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" != 143) 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" != 143) 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" != 143) 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" = 206 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" = 143 Product assigned to Taxons : ["Paintings"]  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (143, 371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 143) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:41.011000', 'Oils', '2012-09-18 09:12:41.011000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 208 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-18 09:12:41.018000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 208, '2012-09-18 09:12:41.018000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (143, 374) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 143) 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" = 206 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" = 371 AND "spree_taxons"."taxonomy_id" = 206 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 371 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:41.028000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 371, 'paintings/nature', 0, 10, 206, '2012-09-18 09:12:41.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 371 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 375 THEN 371 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 371 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 375 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 375 AND "spree_taxons"."taxonomy_id" = 206 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" = 375 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-18 09:12:41.058000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 375, 'paintings/nature/seascape', 0, 12, 206, '2012-09-18 09:12:41.058000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 375 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 376 THEN 375 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 375 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 376 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (143, 375)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (143, 376) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 143) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 143 AND "spree_option_types"."id" = 95 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" = 143) ORDER BY position 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-18 09:12:41.075000', 95, 1, 143, '2012-09-18 09:12:41.075000') 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" = 95 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.080000' WHERE "spree_products"."id" = 143 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 143, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.082000' WHERE "spree_products"."id" = 143  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (400, 116) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("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" != 143) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 143 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 95 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.093000' WHERE "spree_products"."id" = 143 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 143, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.094000' WHERE "spree_products"."id" = 143  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (401, 117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("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" != 143) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 143 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 95 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.107000' WHERE "spree_products"."id" = 143 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 143, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.110000' WHERE "spree_products"."id" = 143  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (402, 118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("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" != 143) 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" != 143) 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" != 143) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 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" = 143 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 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" = 400 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 402 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" != 143) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.133000' WHERE "spree_products"."id" = 143  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 400 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.135000' WHERE "spree_products"."id" = 143 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.138000' WHERE "spree_products"."id" = 143  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 401 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.139000' WHERE "spree_products"."id" = 143 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 143 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.141000' WHERE "spree_products"."id" = 143  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 402 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.143000' WHERE "spree_products"."id" = 143 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 143) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 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-18 09:12:41.146000' WHERE "spree_products"."id" = 143 Row 2 succesfully SAVED : ID 143 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:41.157000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:41.157000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.160000' WHERE "spree_products"."id" = 144 SQL (0.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, 144, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.164000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 403 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.166000' WHERE "spree_products"."id" = 144  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 144  (1.0ms) 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.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-18 09:12:41.172000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:41.172000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:41.179000', NULL, 107, '2012-09-18 09:12:41.179000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 144, "updated_at" = '2012-09-18 09:12:41.181000' WHERE "spree_product_properties"."id" = 118 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" != 144) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:41.188000', NULL, 106, '2012-09-18 09:12:41.188000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 144, "updated_at" = '2012-09-18 09:12:41.191000' WHERE "spree_product_properties"."id" = 119 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" != 144) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:41.195000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:41.195000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:41.198000', NULL, 108, '2012-09-18 09:12:41.198000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 144, "updated_at" = '2012-09-18 09:12:41.202000' WHERE "spree_product_properties"."id" = 120 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 144) 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-18 09:12:41.208000', 'Drawings', '2012-09-18 09:12:41.208000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 209 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-18 09:12:41.212000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 209, '2012-09-18 09:12:41.212000') 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" = 144 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (144, 377) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 144) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 206 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" = 371 AND "spree_taxons"."taxonomy_id" = 206 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" = 371 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-18 09:12:41.223000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 371, 'paintings/landscape', 0, 16, 206, '2012-09-18 09:12:41.223000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 371 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 378 THEN 371 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 371 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 378 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (144, 378)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (144, 371) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 144) 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" != 144) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 144 AND "spree_option_types"."id" = 95 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" = 144) 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-18 09:12:41.246000', 95, 1, 144, '2012-09-18 09:12:41.246000') 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" = 95 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.253000' WHERE "spree_products"."id" = 144 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 144, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.255000' WHERE "spree_products"."id" = 144  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (404, 116) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("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" != 144) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 144 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 95 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.272000' WHERE "spree_products"."id" = 144 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 144, 'DEMO_003_2', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.274000' WHERE "spree_products"."id" = 144  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (405, 117) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("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" != 144) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 144 AND "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 95 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.287000' WHERE "spree_products"."id" = 144 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, 144, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.289000' WHERE "spree_products"."id" = 144  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (406, 118) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("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" != 144) 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-18 09:12:41.297000', 'print_type', 0, 'Print type', '2012-09-18 09:12:41.297000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 96 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" = 144) 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-18 09:12:41.317000', 96, 2, 144, '2012-09-18 09:12:41.317000') 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" = 96 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 96) ORDER 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-18 09:12:41.339000', 'black_white', 96, 1, NULL, '2012-09-18 09:12:41.339000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.347000' WHERE "spree_products"."id" = 144 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 144, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.349000' WHERE "spree_products"."id" = 144  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (407, 119) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("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" != 144) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 144 AND "spree_option_types"."id" = 96 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 96 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 96) ORDER 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-18 09:12:41.364000', 'colour', 96, 2, NULL, '2012-09-18 09:12:41.364000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.379000' WHERE "spree_products"."id" = 144 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 144, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.381000' WHERE "spree_products"."id" = 144  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (408, 120) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("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" != 144) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 404 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 407 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 408 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" != 144) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.423000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 404 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.425000' WHERE "spree_products"."id" = 144 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.427000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 405 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.428000' WHERE "spree_products"."id" = 144 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.432000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 406 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.434000' WHERE "spree_products"."id" = 144 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.436000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 407 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.437000' WHERE "spree_products"."id" = 144 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 144 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.439000' WHERE "spree_products"."id" = 144  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 408 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.442000' WHERE "spree_products"."id" = 144 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 144) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:12:41.445000' WHERE "spree_products"."id" = 144 Row 3 succesfully SAVED : ID 144 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (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  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 143 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 144 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 142 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 142 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 396 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 397 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 95 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 398 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:41.664000', 'Paintings', '2012-09-18 09:12:41.664000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 210 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-18 09:12:41.669000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 210, '2012-09-18 09:12:41.669000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:41.677000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 210, '2012-09-18 09:12:41.677000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:41.723000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:41.723000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.727000' WHERE "spree_products"."id" = 145 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, 145, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.729000' WHERE "spree_products"."id" = 145  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 409 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.731000' WHERE "spree_products"."id" = 145  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (17.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 145  (1.0ms) 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.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-18 09:12:41.758000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:41.758000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:41.763000', NULL, 109, '2012-09-18 09:12:41.763000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 145, "updated_at" = '2012-09-18 09:12:41.765000' WHERE "spree_product_properties"."id" = 121 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 145) 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" = 210 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" = 145 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (145, 379) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 145) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:41.786000', 'WaterColour', '2012-09-18 09:12:41.786000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 211 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-18 09:12:41.790000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 211, '2012-09-18 09:12:41.790000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (145, 381) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 145) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:41.804000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:41.804000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 145 AND "spree_option_types"."id" = 97 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" = 145) 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-18 09:12:41.812000', 97, 1, 145, '2012-09-18 09:12:41.812000') 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" = 97 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 97) 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-18 09:12:41.816000', 'jpeg', 97, 1, NULL, '2012-09-18 09:12:41.816000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.821000' WHERE "spree_products"."id" = 145 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 145, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.822000' WHERE "spree_products"."id" = 145  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (410, 121) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 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" != 145) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 145 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 97 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 97) 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-18 09:12:41.848000', 'PDF', 97, 2, NULL, '2012-09-18 09:12:41.848000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.853000' WHERE "spree_products"."id" = 145 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, 145, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.855000' WHERE "spree_products"."id" = 145  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (411, 122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("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" != 145) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 145 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 97 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 97) ORDER 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-18 09:12:41.867000', 'PNG', 97, 3, NULL, '2012-09-18 09:12:41.867000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.873000' WHERE "spree_products"."id" = 145 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 145, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.875000' WHERE "spree_products"."id" = 145  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (412, 123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("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" != 145) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 411 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 412 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" != 145) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.909000' WHERE "spree_products"."id" = 145  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 410 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.910000' WHERE "spree_products"."id" = 145 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.912000' WHERE "spree_products"."id" = 145  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 411 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.913000' WHERE "spree_products"."id" = 145 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 145 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.915000' WHERE "spree_products"."id" = 145  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 412 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.917000' WHERE "spree_products"."id" = 145 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 145) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:41.921000' WHERE "spree_products"."id" = 145 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:41.931000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:41.931000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.935000' WHERE "spree_products"."id" = 146 SQL (0.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, 146, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.938000' WHERE "spree_products"."id" = 146  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 413 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:41.939000' WHERE "spree_products"."id" = 146  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 146  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:41.953000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:41.953000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:41.956000', NULL, 110, '2012-09-18 09:12:41.956000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 146, "updated_at" = '2012-09-18 09:12:41.958000' WHERE "spree_product_properties"."id" = 122 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 146) 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" = 210 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" = 146 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 379) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 146) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:41.976000', 'Oils', '2012-09-18 09:12:41.976000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 212 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:41.979000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 212, '2012-09-18 09:12:41.979000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 382) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 146) 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" = 210 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" = 379 AND "spree_taxons"."taxonomy_id" = 210 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" = 379 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-18 09:12:41.989000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 379, 'paintings/nature', 0, 10, 210, '2012-09-18 09:12:41.989000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 379 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 383 THEN 379 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 379 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 383 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 383 AND "spree_taxons"."taxonomy_id" = 210 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" = 383 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:42.001000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 383, 'paintings/nature/seascape', 0, 12, 210, '2012-09-18 09:12:42.001000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 383 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 384 THEN 383 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 383 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 384 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 383)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (146, 384) 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" != 146) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 146 AND "spree_option_types"."id" = 97 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" = 146) 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-18 09:12:42.021000', 97, 1, 146, '2012-09-18 09:12:42.021000') 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" = 97 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.026000' WHERE "spree_products"."id" = 146 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 146, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.028000' WHERE "spree_products"."id" = 146  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (414, 121) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("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" != 146) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 146 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 97 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.039000' WHERE "spree_products"."id" = 146 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 146, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.040000' WHERE "spree_products"."id" = 146  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (415, 122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("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" != 146) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 146 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 97 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.052000' WHERE "spree_products"."id" = 146 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 146, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.054000' WHERE "spree_products"."id" = 146  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (416, 123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("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" != 146) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 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" = 146 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 416 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" != 146) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.088000' WHERE "spree_products"."id" = 146  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 414 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.090000' WHERE "spree_products"."id" = 146 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.092000' WHERE "spree_products"."id" = 146  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 415 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.094000' WHERE "spree_products"."id" = 146 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 146 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.095000' WHERE "spree_products"."id" = 146  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 416 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.097000' WHERE "spree_products"."id" = 146 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 146) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:12:42.101000' WHERE "spree_products"."id" = 146 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:42.109000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:42.109000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.112000' WHERE "spree_products"."id" = 147 SQL (0.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, 147, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.113000' WHERE "spree_products"."id" = 147  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 417 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.118000' WHERE "spree_products"."id" = 147  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 147  (1.0ms) 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.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-18 09:12:42.125000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:42.125000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:42.127000', NULL, 111, '2012-09-18 09:12:42.127000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 147, "updated_at" = '2012-09-18 09:12:42.129000' WHERE "spree_product_properties"."id" = 123 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" != 147) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:42.133000', NULL, 110, '2012-09-18 09:12:42.133000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 147, "updated_at" = '2012-09-18 09:12:42.135000' WHERE "spree_product_properties"."id" = 124 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" != 147) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:42.139000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:42.139000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:42.140000', NULL, 112, '2012-09-18 09:12:42.140000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 147, "updated_at" = '2012-09-18 09:12:42.155000' WHERE "spree_product_properties"."id" = 125 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 147) 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-18 09:12:42.162000', 'Drawings', '2012-09-18 09:12:42.162000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 213 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-18 09:12:42.167000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 213, '2012-09-18 09:12:42.167000') 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" = 147 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (147, 385) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 147) 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" = 210 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" = 379 AND "spree_taxons"."taxonomy_id" = 210 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" = 379 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:42.178000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 379, 'paintings/landscape', 0, 16, 210, '2012-09-18 09:12:42.178000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 379 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 386 THEN 379 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 379 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 386 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (147, 386)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (147, 379) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 147) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 147 AND "spree_option_types"."id" = 97 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" = 147) ORDER BY position 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-18 09:12:42.213000', 97, 1, 147, '2012-09-18 09:12:42.213000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 97 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.217000' WHERE "spree_products"."id" = 147 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 147, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.218000' WHERE "spree_products"."id" = 147  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (418, 121) Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("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" != 147) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 147 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 97 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.243000' WHERE "spree_products"."id" = 147 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 147, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.244000' WHERE "spree_products"."id" = 147  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (419, 122) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("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" != 147) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 147 AND "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 97 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.256000' WHERE "spree_products"."id" = 147 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 147, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.258000' WHERE "spree_products"."id" = 147  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (420, 123) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 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" != 147) 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-18 09:12:42.263000', 'print_type', 0, 'Print type', '2012-09-18 09:12:42.263000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 98 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" = 147) ORDER BY position 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-18 09:12:42.282000', 98, 2, 147, '2012-09-18 09:12:42.282000') 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" = 98 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 98) 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-18 09:12:42.303000', 'black_white', 98, 1, NULL, '2012-09-18 09:12:42.303000')  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.307000' WHERE "spree_products"."id" = 147 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, 147, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.309000' WHERE "spree_products"."id" = 147  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (421, 124) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("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" != 147) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 147 AND "spree_option_types"."id" = 98 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 98 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 98) 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-18 09:12:42.319000', 'colour', 98, 2, NULL, '2012-09-18 09:12:42.319000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.329000' WHERE "spree_products"."id" = 147 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 147, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.332000' WHERE "spree_products"."id" = 147  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (422, 125) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 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" != 147) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 418 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 421 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" = 422 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" != 147) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.354000' WHERE "spree_products"."id" = 147  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 418 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.355000' WHERE "spree_products"."id" = 147 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.358000' WHERE "spree_products"."id" = 147  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 419 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.359000' WHERE "spree_products"."id" = 147 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.361000' WHERE "spree_products"."id" = 147  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 420 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.362000' WHERE "spree_products"."id" = 147 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.364000' WHERE "spree_products"."id" = 147  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 421 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.366000' WHERE "spree_products"."id" = 147 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 147 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.367000' WHERE "spree_products"."id" = 147  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 422 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.369000' WHERE "spree_products"."id" = 147 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 147) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:12:42.374000' WHERE "spree_products"."id" = 147  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 145 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 146 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 147 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 145 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 410 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 411 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 97 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 412 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:42.456000', 'Paintings', '2012-09-18 09:12:42.456000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 214 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-18 09:12:42.461000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 214, '2012-09-18 09:12:42.461000')  (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-18 09:12:42.468000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 214, '2012-09-18 09:12:42.468000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:42.489000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:42.489000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.493000' WHERE "spree_products"."id" = 148 SQL (0.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, 148, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.495000' WHERE "spree_products"."id" = 148  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 423 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.497000' WHERE "spree_products"."id" = 148  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 148  (0.0ms) 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::OptionType Load (0.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-18 09:12:42.524000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:42.524000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 99 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" = 148) ORDER BY position 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-18 09:12:42.532000', 99, 1, 148, '2012-09-18 09:12:42.532000') 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-18 09:12:42.535000', 'print_type', 0, 'Print type', '2012-09-18 09:12:42.535000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 148 AND "spree_option_types"."id" = 100 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" = 148) ORDER BY position 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-18 09:12:42.543000', 100, 2, 148, '2012-09-18 09:12:42.543000') 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" = 99 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 99) ORDER 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-18 09:12:42.570000', 'jpeg', 99, 1, NULL, '2012-09-18 09:12:42.570000') 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" = 100 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 100) ORDER 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-18 09:12:42.576000', 'colour', 100, 1, NULL, '2012-09-18 09:12:42.576000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.580000' WHERE "spree_products"."id" = 148 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, 148, 'MV_001_1', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.582000' WHERE "spree_products"."id" = 148  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (424, 126)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (424, 127) 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" = 99 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 99) ORDER 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-18 09:12:42.588000', 'PDF', 99, 2, NULL, '2012-09-18 09:12:42.588000') 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" = 100 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.593000' WHERE "spree_products"."id" = 148 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 148, 'MV_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.595000' WHERE "spree_products"."id" = 148  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (425, 128)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (425, 127) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 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" != 148) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 148 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 99 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 99) ORDER 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-18 09:12:42.609000', 'PNG', 99, 3, NULL, '2012-09-18 09:12:42.609000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.614000' WHERE "spree_products"."id" = 148 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 148, 'MV_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.615000' WHERE "spree_products"."id" = 148  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (426, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("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" != 148) LIMIT 1  (1.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 425 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 426 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" != 148) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.632000' WHERE "spree_products"."id" = 148  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 424 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.634000' WHERE "spree_products"."id" = 148 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.636000' WHERE "spree_products"."id" = 148  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 425 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.637000' WHERE "spree_products"."id" = 148 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 148 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.639000' WHERE "spree_products"."id" = 148  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 426 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.640000' WHERE "spree_products"."id" = 148 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 148) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:42.655000' WHERE "spree_products"."id" = 148 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:42.665000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:42.665000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.668000' WHERE "spree_products"."id" = 149 SQL (0.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, 149, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.669000' WHERE "spree_products"."id" = 149  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 427 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.672000' WHERE "spree_products"."id" = 149  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 149  (1.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 149 AND "spree_option_types"."id" = 99 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" = 149) ORDER BY position 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-18 09:12:42.680000', 99, 1, 149, '2012-09-18 09:12:42.680000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 149 AND "spree_option_types"."id" = 100 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" = 149) ORDER BY position 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-18 09:12:42.690000', 100, 2, 149, '2012-09-18 09:12:42.690000') 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" = 100 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 100) ORDER 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-18 09:12:42.699000', 'black_white', 100, 2, NULL, '2012-09-18 09:12:42.699000') 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" = 99 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.702000' WHERE "spree_products"."id" = 149 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 149, 'MV_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.704000' WHERE "spree_products"."id" = 149  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (428, 130)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (428, 126) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("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" != 149) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 149 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 149 AND "spree_option_types"."id" = 100 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 100 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 99 LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.722000' WHERE "spree_products"."id" = 149 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, 149, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.724000' WHERE "spree_products"."id" = 149  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (429, 130)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (429, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 149 AND ("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" != 149) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 429 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" != 149) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.740000' WHERE "spree_products"."id" = 149  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 428 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.741000' WHERE "spree_products"."id" = 149 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 149 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.743000' WHERE "spree_products"."id" = 149  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 429 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.745000' WHERE "spree_products"."id" = 149 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 149) LIMIT 1  (1.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-18 09:12:42.748000' WHERE "spree_products"."id" = 149 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (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-18 09:12:42.756000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:42.756000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.759000' WHERE "spree_products"."id" = 150 SQL (0.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, 150, 'MV_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.762000' WHERE "spree_products"."id" = 150  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 430 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.765000' WHERE "spree_products"."id" = 150  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 150  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 150 AND "spree_option_types"."id" = 99 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" = 150) ORDER BY position 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-18 09:12:42.777000', 99, 1, 150, '2012-09-18 09:12:42.777000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 150 AND "spree_option_types"."id" = 100 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" = 150) ORDER BY position 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-18 09:12:42.781000', 100, 2, 150, '2012-09-18 09:12:42.781000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:12:42.784000', 'size', 0, 'Size', '2012-09-18 09:12:42.784000') 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" = 150 AND "spree_option_types"."id" = 101 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" = 150) ORDER BY position 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-18 09:12:42.789000', 101, 3, 150, '2012-09-18 09:12:42.789000') 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" = 100 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 101 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 101) ORDER 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-18 09:12:42.793000', 'large', 101, 1, NULL, '2012-09-18 09:12:42.793000') 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" = 99 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.797000' WHERE "spree_products"."id" = 150 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, 150, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.800000' WHERE "spree_products"."id" = 150  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (431, 127)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (431, 131)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (431, 126) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 100 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 100) ORDER 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-18 09:12:42.804000', 'sepia', 100, 3, NULL, '2012-09-18 09:12:42.804000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 101 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 99 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.825000' WHERE "spree_products"."id" = 150 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 150, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.828000' WHERE "spree_products"."id" = 150  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (432, 132)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (432, 131)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (432, 126) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 150 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 99 LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.839000' WHERE "spree_products"."id" = 150 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 150, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.841000' WHERE "spree_products"."id" = 150  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (433, 129) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 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" != 150) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 150 AND "spree_option_types"."id" = 99 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 99 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.854000' WHERE "spree_products"."id" = 150 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, 150, 'MV_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.856000' WHERE "spree_products"."id" = 150  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (434, 128) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 150 AND "spree_option_types"."id" = 100 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 100 LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.865000' WHERE "spree_products"."id" = 150 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 150, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:42.867000' WHERE "spree_products"."id" = 150  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (435, 130) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 150 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("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" != 150) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 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" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 150) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 150 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" = 150 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 148 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 148 ORDER BY spree_option_types.position Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 424 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:12:43.230000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:43.230000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.235000' WHERE "spree_products"."id" = 151 SQL (0.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, 151, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.237000' WHERE "spree_products"."id" = 151  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 436 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.244000' WHERE "spree_products"."id" = 151  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 151  (0.0ms) 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.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-18 09:12:43.263000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:43.263000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:43.265000', NULL, 113, '2012-09-18 09:12:43.265000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 151, "updated_at" = '2012-09-18 09:12:43.267000' WHERE "spree_product_properties"."id" = 126 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 151) 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-18 09:12:43.274000', 'Paintings', '2012-09-18 09:12:43.274000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 215 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-18 09:12:43.301000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 215, '2012-09-18 09:12:43.301000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 151 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (151, 389) 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-18 09:12:43.310000', 'WaterColour', '2012-09-18 09:12:43.310000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 216 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-18 09:12:43.315000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 216, '2012-09-18 09:12:43.315000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (151, 390) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 151) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:43.326000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:43.326000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 102 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" = 151) ORDER BY position 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-18 09:12:43.333000', 102, 1, 151, '2012-09-18 09:12:43.333000') 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" = 102 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 102) ORDER 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-18 09:12:43.337000', 'jpeg', 102, 1, NULL, '2012-09-18 09:12:43.337000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.341000' WHERE "spree_products"."id" = 151 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, 151, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.343000' WHERE "spree_products"."id" = 151  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (437, 133) 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" = 102 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 102) ORDER 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-18 09:12:43.347000', 'PDF', 102, 2, NULL, '2012-09-18 09:12:43.347000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.366000' WHERE "spree_products"."id" = 151 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 151, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.368000' WHERE "spree_products"."id" = 151  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (438, 134) 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" = 102 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 102) ORDER 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-18 09:12:43.372000', 'PNG', 102, 3, NULL, '2012-09-18 09:12:43.372000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.377000' WHERE "spree_products"."id" = 151 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 151, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.379000' WHERE "spree_products"."id" = 151  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (439, 135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 AND ("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" != 151) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 151 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" = 151 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 438 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" = 439 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" != 151) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.401000' WHERE "spree_products"."id" = 151  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 437 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.403000' WHERE "spree_products"."id" = 151 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.405000' WHERE "spree_products"."id" = 151  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 438 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.406000' WHERE "spree_products"."id" = 151 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.408000' WHERE "spree_products"."id" = 151  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 439 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:43.409000' WHERE "spree_products"."id" = 151 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 151) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 151 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" = 436 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 436 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:12:43.484000', 240, 0, 'Spree::Image', 436, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 151) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:44.036000' WHERE "spree_products"."id" = 151 Current 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:12:44.048000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:44.048000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.072000' WHERE "spree_products"."id" = 152 SQL (0.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, 152, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.075000' WHERE "spree_products"."id" = 152  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 440 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.078000' WHERE "spree_products"."id" = 152  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 152  (0.0ms) 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.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-18 09:12:44.085000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:44.085000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:44.087000', NULL, 114, '2012-09-18 09:12:44.087000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 152, "updated_at" = '2012-09-18 09:12:44.089000' WHERE "spree_product_properties"."id" = 127 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" != 152) 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" = 215 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" = 152 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (152, 389) 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-18 09:12:44.097000', 'Landscape', '2012-09-18 09:12:44.097000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 217 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-18 09:12:44.101000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 217, '2012-09-18 09:12:44.101000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (152, 391) 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-18 09:12:44.107000', 'Oils', '2012-09-18 09:12:44.107000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 218 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-18 09:12:44.111000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 218, '2012-09-18 09:12:44.111000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (152, 392) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 152) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 152 AND "spree_option_types"."id" = 102 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" = 152) ORDER BY position 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-18 09:12:44.120000', 102, 1, 152, '2012-09-18 09:12:44.120000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.125000' WHERE "spree_products"."id" = 152 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 152, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.126000' WHERE "spree_products"."id" = 152  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (441, 133) 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" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.132000' WHERE "spree_products"."id" = 152 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 152, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.134000' WHERE "spree_products"."id" = 152  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (442, 134) 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" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.138000' WHERE "spree_products"."id" = 152 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, 152, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.140000' WHERE "spree_products"."id" = 152  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (443, 135) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("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" != 152) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 441 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 442 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 443 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" != 152) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.158000' WHERE "spree_products"."id" = 152  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 441 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.160000' WHERE "spree_products"."id" = 152 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.162000' WHERE "spree_products"."id" = 152  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 442 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.163000' WHERE "spree_products"."id" = 152 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.165000' WHERE "spree_products"."id" = 152  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 443 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:44.167000' WHERE "spree_products"."id" = 152 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 152) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 152 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" = 440 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 440 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:12:44.220000', 2424, 0, 'Spree::Image', 440, 'Spree::Variant') Product assigned an Image : nil 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" != 152) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:12:48.325000' WHERE "spree_products"."id" = 152 Current value 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-18 09:12:48.335000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:48.335000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.338000' WHERE "spree_products"."id" = 153 SQL (0.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, 153, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.340000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 444 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.343000' WHERE "spree_products"."id" = 153  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 153  (0.0ms) 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.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-18 09:12:48.350000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:48.350000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:48.352000', NULL, 115, '2012-09-18 09:12:48.352000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 153, "updated_at" = '2012-09-18 09:12:48.354000' WHERE "spree_product_properties"."id" = 128 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-18 09:12:48.357000', NULL, 114, '2012-09-18 09:12:48.357000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 153, "updated_at" = '2012-09-18 09:12:48.358000' WHERE "spree_product_properties"."id" = 129 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-18 09:12:48.361000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:48.361000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:48.362000', NULL, 116, '2012-09-18 09:12:48.362000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 153, "updated_at" = '2012-09-18 09:12:48.364000' WHERE "spree_product_properties"."id" = 130 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" != 153) 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-18 09:12:48.368000', 'Drawings', '2012-09-18 09:12:48.368000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 219 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-18 09:12:48.374000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 219, '2012-09-18 09:12:48.374000') 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" = 153 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (153, 393) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 153) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 153 AND "spree_option_types"."id" = 102 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" = 153) ORDER BY position 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-18 09:12:48.387000', 102, 1, 153, '2012-09-18 09:12:48.387000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.391000' WHERE "spree_products"."id" = 153 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 153, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.393000' WHERE "spree_products"."id" = 153  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (445, 133) 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" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.397000' WHERE "spree_products"."id" = 153 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 153, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.399000' WHERE "spree_products"."id" = 153  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (446, 134) 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" = 102 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.404000' WHERE "spree_products"."id" = 153 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 153, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.406000' WHERE "spree_products"."id" = 153  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (447, 135) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 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-18 09:12:48.410000', 'print_type', 0, 'Print type', '2012-09-18 09:12:48.410000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 103 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" = 153) ORDER BY position 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-18 09:12:48.416000', 103, 2, 153, '2012-09-18 09:12:48.416000') 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" = 103 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 103) ORDER 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-18 09:12:48.421000', 'black_white', 103, 1, NULL, '2012-09-18 09:12:48.421000')  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.427000' WHERE "spree_products"."id" = 153 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 153, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.429000' WHERE "spree_products"."id" = 153  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (448, 136) 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" = 103 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 103) ORDER 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-18 09:12:48.432000', 'colour', 103, 2, NULL, '2012-09-18 09:12:48.432000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.437000' WHERE "spree_products"."id" = 153 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, 153, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.439000' WHERE "spree_products"."id" = 153  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (449, 137) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 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" != 153) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 445 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 446 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 447 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 448 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" = 449 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" != 153) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.461000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 445 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.462000' WHERE "spree_products"."id" = 153 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.464000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 446 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.465000' WHERE "spree_products"."id" = 153 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.467000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 447 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.468000' WHERE "spree_products"."id" = 153 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.470000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 448 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.471000' WHERE "spree_products"."id" = 153 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.473000' WHERE "spree_products"."id" = 153  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 449 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:48.475000' WHERE "spree_products"."id" = 153 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 153) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 153 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" = 444 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 444 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:12:48.483000', 240, 0, 'Spree::Image', 444, 'Spree::Variant') Product assigned an Image : nil 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" != 153) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:12:49.083000' WHERE "spree_products"."id" = 153 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (19.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" = 151 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 = 436) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 151)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 436 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" = 151 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 = 436) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 151)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 152 AND ("spree_variants".is_master = 't') LIMIT 1  (3.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 = 440) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 152)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 153 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 = 444) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 153))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (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  (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 (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-18 09:12:49.285000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:49.285000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.289000' WHERE "spree_products"."id" = 154 SQL (0.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, 154, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.310000' WHERE "spree_products"."id" = 154  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 450 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.313000' WHERE "spree_products"."id" = 154  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 154  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:49.321000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:49.321000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:49.330000', NULL, 117, '2012-09-18 09:12:49.330000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 154, "updated_at" = '2012-09-18 09:12:49.332000' WHERE "spree_product_properties"."id" = 131 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" != 154) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:49.336000', 'Paintings', '2012-09-18 09:12:49.336000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 220 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-18 09:12:49.340000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 220, '2012-09-18 09:12:49.340000') 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" = 154 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (154, 394) 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-18 09:12:49.347000', 'WaterColour', '2012-09-18 09:12:49.347000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 221 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-18 09:12:49.351000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 221, '2012-09-18 09:12:49.351000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (154, 395) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 154) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:49.358000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:49.358000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 104 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" = 154) ORDER BY position 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-18 09:12:49.363000', 104, 1, 154, '2012-09-18 09:12:49.363000') 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" = 104 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 104) ORDER 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-18 09:12:49.367000', 'jpeg', 104, 1, NULL, '2012-09-18 09:12:49.367000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.371000' WHERE "spree_products"."id" = 154 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 154, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.373000' WHERE "spree_products"."id" = 154  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (451, 138) 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" = 104 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 104) ORDER 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-18 09:12:49.377000', 'PDF', 104, 2, NULL, '2012-09-18 09:12:49.377000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.398000' WHERE "spree_products"."id" = 154 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 154, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.400000' WHERE "spree_products"."id" = 154  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (452, 139) 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" = 104 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 104) ORDER 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-18 09:12:49.404000', 'PNG', 104, 3, NULL, '2012-09-18 09:12:49.404000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.408000' WHERE "spree_products"."id" = 154 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 154, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.410000' WHERE "spree_products"."id" = 154  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (453, 140) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 154 AND ("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" != 154) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 451 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 452 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" = 453 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" != 154) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.429000' WHERE "spree_products"."id" = 154  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 451 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.430000' WHERE "spree_products"."id" = 154 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.432000' WHERE "spree_products"."id" = 154  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 452 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.435000' WHERE "spree_products"."id" = 154 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.437000' WHERE "spree_products"."id" = 154  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 453 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:49.438000' WHERE "spree_products"."id" = 154 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 154) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 154 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" = 450 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 450 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:12:49.445000', 240, 0, 'Spree::Image', 450, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 154) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:49.972000' WHERE "spree_products"."id" = 154 Row 1 succesfully SAVED : ID 154 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:49.984000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:49.984000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.017000' WHERE "spree_products"."id" = 155 SQL (0.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, 155, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.024000' WHERE "spree_products"."id" = 155  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 454 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.026000' WHERE "spree_products"."id" = 155  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 155  (0.0ms) 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.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-18 09:12:50.034000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:50.034000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:50.038000', NULL, 118, '2012-09-18 09:12:50.038000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 155, "updated_at" = '2012-09-18 09:12:50.039000' WHERE "spree_product_properties"."id" = 132 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" != 155) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 220 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" = 155 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (155, 394) 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-18 09:12:50.047000', 'Landscape', '2012-09-18 09:12:50.047000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 222 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-18 09:12:50.051000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 222, '2012-09-18 09:12:50.051000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (155, 396) 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-18 09:12:50.055000', 'Oils', '2012-09-18 09:12:50.055000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 223 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-18 09:12:50.059000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 223, '2012-09-18 09:12:50.059000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (155, 397) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 155) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 155 AND "spree_option_types"."id" = 104 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" = 155) 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-18 09:12:50.068000', 104, 1, 155, '2012-09-18 09:12:50.068000') 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" = 104 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.072000' WHERE "spree_products"."id" = 155 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 155, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.074000' WHERE "spree_products"."id" = 155  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (455, 138) 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" = 104 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.078000' WHERE "spree_products"."id" = 155 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 155, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.080000' WHERE "spree_products"."id" = 155  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (456, 139) 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" = 104 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.084000' WHERE "spree_products"."id" = 155 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 155, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.086000' WHERE "spree_products"."id" = 155  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (457, 140) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 AND ("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" != 155) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 455 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 456 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 457 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" != 155) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.108000' WHERE "spree_products"."id" = 155  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 455 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.110000' WHERE "spree_products"."id" = 155 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.112000' WHERE "spree_products"."id" = 155  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 456 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.113000' WHERE "spree_products"."id" = 155 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.115000' WHERE "spree_products"."id" = 155  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 457 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:50.116000' WHERE "spree_products"."id" = 155 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 155) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 155 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" = 454 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 454 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:12:50.181000', 2424, 0, 'Spree::Image', 454, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 155) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:12:53.899000' WHERE "spree_products"."id" = 155 Row 2 succesfully SAVED : ID 155 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:53.909000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:53.909000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.912000' WHERE "spree_products"."id" = 156 SQL (0.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, 156, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.914000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 458 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.916000' WHERE "spree_products"."id" = 156  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 156  (0.0ms) 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 (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-18 09:12:53.924000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:53.924000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:53.925000', NULL, 119, '2012-09-18 09:12:53.925000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 156, "updated_at" = '2012-09-18 09:12:53.927000' WHERE "spree_product_properties"."id" = 133 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-18 09:12:53.930000', NULL, 118, '2012-09-18 09:12:53.930000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 156, "updated_at" = '2012-09-18 09:12:53.931000' WHERE "spree_product_properties"."id" = 134 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-18 09:12:53.934000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:53.934000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:53.936000', NULL, 120, '2012-09-18 09:12:53.936000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 156, "updated_at" = '2012-09-18 09:12:53.937000' WHERE "spree_product_properties"."id" = 135 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" != 156) 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-18 09:12:53.942000', 'Drawings', '2012-09-18 09:12:53.942000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 224 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-18 09:12:53.945000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 224, '2012-09-18 09:12:53.945000') 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" = 156 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (156, 398) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 156) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 156 AND "spree_option_types"."id" = 104 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" = 156) ORDER BY position 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-18 09:12:53.980000', 104, 1, 156, '2012-09-18 09:12:53.980000') 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" = 104 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.988000' WHERE "spree_products"."id" = 156 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 156, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.991000' WHERE "spree_products"."id" = 156  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (459, 138) 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" = 104 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.994000' WHERE "spree_products"."id" = 156 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 156, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:53.996000' WHERE "spree_products"."id" = 156  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (460, 139) 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" = 104 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.000000' WHERE "spree_products"."id" = 156 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, 156, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.004000' WHERE "spree_products"."id" = 156  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (461, 140) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 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-18 09:12:54.007000', 'print_type', 0, 'Print type', '2012-09-18 09:12:54.007000') 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" = 156 AND "spree_option_types"."id" = 105 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" = 156) ORDER BY position 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-18 09:12:54.014000', 105, 2, 156, '2012-09-18 09:12:54.014000') 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" = 105 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 105) ORDER 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-18 09:12:54.017000', 'black_white', 105, 1, NULL, '2012-09-18 09:12:54.017000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.022000' WHERE "spree_products"."id" = 156 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 156, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.025000' WHERE "spree_products"."id" = 156  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (462, 141) 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" = 105 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 105) ORDER 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-18 09:12:54.028000', 'colour', 105, 2, NULL, '2012-09-18 09:12:54.028000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.033000' WHERE "spree_products"."id" = 156 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 156, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.035000' WHERE "spree_products"."id" = 156  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (463, 142) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 AND ("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" != 156) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 460 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" = 461 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 463 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" != 156) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.057000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 459 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.058000' WHERE "spree_products"."id" = 156 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.060000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 460 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.062000' WHERE "spree_products"."id" = 156 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.063000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 461 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.065000' WHERE "spree_products"."id" = 156 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.067000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 462 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.075000' WHERE "spree_products"."id" = 156 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.078000' WHERE "spree_products"."id" = 156  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 463 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:54.079000' WHERE "spree_products"."id" = 156 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 156) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 156 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" = 458 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 458 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:12:54.092000', 240, 0, 'Spree::Image', 458, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 156) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:12:54.655000' WHERE "spree_products"."id" = 156 Row 3 succesfully SAVED : ID 156 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" = 154 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 = 450) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 154)) 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" = 154 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 = 450) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 154)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 155 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 = 454) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 155)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 156 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 = 458) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 156))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:54.896000', 'Paintings', '2012-09-18 09:12:54.896000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 225 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-18 09:12:54.902000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 225, '2012-09-18 09:12:54.902000')  (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-18 09:12:54.909000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 225, '2012-09-18 09:12:54.909000')  (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-18 09:12:54.915000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 225, '2012-09-18 09:12:54.915000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:54.962000', 'Paintings', '2012-09-18 09:12:54.962000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 226 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-18 09:12:54.983000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 226, '2012-09-18 09:12:54.983000')  (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-18 09:12:54.990000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 226, '2012-09-18 09:12:54.990000')  (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-18 09:12:54.997000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 226, '2012-09-18 09:12:54.997000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 226 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 226 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 226 LIMIT 1 Booted Spree using version 1.1.3 SQL (26.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:55.134000', 'Paintings', '2012-09-18 09:12:55.134000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 227 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-18 09:12:55.140000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 227, '2012-09-18 09:12:55.140000')  (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-18 09:12:55.148000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 227, '2012-09-18 09:12:55.148000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 405, "updated_at" = '2012-09-18 09:12:55.158000' WHERE "spree_taxons"."id" = 406 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 405 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 406 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 406 THEN 405 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 405 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 406 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 405 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:55.187000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:55.187000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.191000' WHERE "spree_products"."id" = 157 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, 157, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.195000' WHERE "spree_products"."id" = 157  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 464 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.216000' WHERE "spree_products"."id" = 157  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 157  (0.0ms) 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.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-18 09:12:55.226000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:55.226000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:55.230000', NULL, 121, '2012-09-18 09:12:55.230000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 157, "updated_at" = '2012-09-18 09:12:55.233000' WHERE "spree_product_properties"."id" = 136 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" != 157) 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" = 227 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" = 157 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 405) 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-18 09:12:55.245000', 'WaterColour', '2012-09-18 09:12:55.245000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 228 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-18 09:12:55.249000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 228, '2012-09-18 09:12:55.249000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (157, 407) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 157) 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" != 157) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:55.259000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:55.259000') 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" = 157 AND "spree_option_types"."id" = 106 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" = 157) ORDER BY position 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-18 09:12:55.266000', 106, 1, 157, '2012-09-18 09:12:55.266000') 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" = 106 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 106) ORDER 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-18 09:12:55.270000', 'jpeg', 106, 1, NULL, '2012-09-18 09:12:55.270000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.275000' WHERE "spree_products"."id" = 157 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 157, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.276000' WHERE "spree_products"."id" = 157  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (465, 143) 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" = 106 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 106) ORDER 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-18 09:12:55.280000', 'PDF', 106, 2, NULL, '2012-09-18 09:12:55.280000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.301000' WHERE "spree_products"."id" = 157 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 157, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.303000' WHERE "spree_products"."id" = 157  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (466, 144) 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" = 106 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 106) ORDER 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-18 09:12:55.306000', 'PNG', 106, 3, NULL, '2012-09-18 09:12:55.306000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.312000' WHERE "spree_products"."id" = 157 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 157, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.313000' WHERE "spree_products"."id" = 157  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (467, 145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 157 AND ("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" != 157) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 465 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 467 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" != 157) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.336000' WHERE "spree_products"."id" = 157  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 465 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.338000' WHERE "spree_products"."id" = 157 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.340000' WHERE "spree_products"."id" = 157  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 466 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.341000' WHERE "spree_products"."id" = 157 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.343000' WHERE "spree_products"."id" = 157  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 467 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.346000' WHERE "spree_products"."id" = 157 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 157) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:55.352000' WHERE "spree_products"."id" = 157 Row 1 succesfully SAVED : ID 157 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:55.360000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:55.360000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.363000' WHERE "spree_products"."id" = 158 SQL (0.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, 158, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.364000' WHERE "spree_products"."id" = 158  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 468 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.367000' WHERE "spree_products"."id" = 158  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 158  (0.0ms) 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.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-18 09:12:55.375000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:55.375000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:55.377000', NULL, 122, '2012-09-18 09:12:55.377000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 158, "updated_at" = '2012-09-18 09:12:55.379000' WHERE "spree_product_properties"."id" = 137 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" != 158) 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" = 227 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" = 158 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 405) 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-18 09:12:55.390000', 'Oils', '2012-09-18 09:12:55.390000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 229 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-18 09:12:55.395000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 229, '2012-09-18 09:12:55.395000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 408) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 227 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" = 405 AND "spree_taxons"."taxonomy_id" = 227 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" = 405 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-18 09:12:55.404000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 405, 'paintings/nature', 0, 10, 227, '2012-09-18 09:12:55.404000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 405 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 409 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 409 THEN 405 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 405 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 409 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 409 AND "spree_taxons"."taxonomy_id" = 227 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" = 409 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-18 09:12:55.418000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 409, 'paintings/nature/seascape', 0, 12, 227, '2012-09-18 09:12:55.418000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 409 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 410 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 410 THEN 409 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 409 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 410 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 409)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (158, 410) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 158) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 158 AND "spree_option_types"."id" = 106 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" = 158) ORDER BY position 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-18 09:12:55.432000', 106, 1, 158, '2012-09-18 09:12:55.432000') 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.439000' WHERE "spree_products"."id" = 158 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 158, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.440000' WHERE "spree_products"."id" = 158  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (469, 143) 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.444000' WHERE "spree_products"."id" = 158 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, 158, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.446000' WHERE "spree_products"."id" = 158  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (470, 144) 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.450000' WHERE "spree_products"."id" = 158 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 158, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.452000' WHERE "spree_products"."id" = 158  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (471, 145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 158 AND ("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" != 158) 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" != 158) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 470 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 471 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" != 158) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.490000' WHERE "spree_products"."id" = 158  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 469 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.492000' WHERE "spree_products"."id" = 158 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.495000' WHERE "spree_products"."id" = 158  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 470 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.497000' WHERE "spree_products"."id" = 158 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.498000' WHERE "spree_products"."id" = 158  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 471 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.500000' WHERE "spree_products"."id" = 158 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 158) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:12:55.503000' WHERE "spree_products"."id" = 158 Row 2 succesfully SAVED : ID 158 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:55.512000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:55.512000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.515000' WHERE "spree_products"."id" = 159 SQL (0.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, 159, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.517000' WHERE "spree_products"."id" = 159  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 472 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.519000' WHERE "spree_products"."id" = 159  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 159  (0.0ms) 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.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-18 09:12:55.526000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:55.526000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:55.528000', NULL, 123, '2012-09-18 09:12:55.528000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 159, "updated_at" = '2012-09-18 09:12:55.530000' WHERE "spree_product_properties"."id" = 138 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-18 09:12:55.538000', NULL, 122, '2012-09-18 09:12:55.538000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 159, "updated_at" = '2012-09-18 09:12:55.539000' WHERE "spree_product_properties"."id" = 139 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-18 09:12:55.542000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:55.542000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:55.545000', NULL, 124, '2012-09-18 09:12:55.545000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 159, "updated_at" = '2012-09-18 09:12:55.546000' WHERE "spree_product_properties"."id" = 140 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" != 159) 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-18 09:12:55.550000', 'Drawings', '2012-09-18 09:12:55.550000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 230 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-18 09:12:55.553000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 230, '2012-09-18 09:12:55.553000') 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" = 159 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (159, 411) 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" = 227 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" = 405 AND "spree_taxons"."taxonomy_id" = 227 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (159, 406)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (159, 405) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 159) 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" != 159) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 159 AND "spree_option_types"."id" = 106 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" = 159) ORDER BY position 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-18 09:12:55.571000', 106, 1, 159, '2012-09-18 09:12:55.571000') 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.578000' WHERE "spree_products"."id" = 159 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 159, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.580000' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (473, 143) 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.583000' WHERE "spree_products"."id" = 159 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 159, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.585000' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (474, 144) 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" = 106 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.589000' WHERE "spree_products"."id" = 159 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 159, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.591000' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (475, 145) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 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-18 09:12:55.595000', 'print_type', 0, 'Print type', '2012-09-18 09:12:55.595000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 107 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" = 159) ORDER BY position 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-18 09:12:55.601000', 107, 2, 159, '2012-09-18 09:12:55.601000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 107 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 107) ORDER 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-18 09:12:55.604000', 'black_white', 107, 1, NULL, '2012-09-18 09:12:55.604000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.610000' WHERE "spree_products"."id" = 159 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 159, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.611000' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (476, 146) 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" = 107 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 107) ORDER 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-18 09:12:55.615000', 'colour', 107, 2, NULL, '2012-09-18 09:12:55.615000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.638000' WHERE "spree_products"."id" = 159 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 159, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.641000' WHERE "spree_products"."id" = 159  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (477, 147) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 159 AND ("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" != 159) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 474 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 475 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 477 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" != 159) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.666000' WHERE "spree_products"."id" = 159  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 473 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.667000' WHERE "spree_products"."id" = 159 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.669000' WHERE "spree_products"."id" = 159  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 474 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.671000' WHERE "spree_products"."id" = 159 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.672000' WHERE "spree_products"."id" = 159  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 475 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.674000' WHERE "spree_products"."id" = 159 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.676000' WHERE "spree_products"."id" = 159  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 476 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.677000' WHERE "spree_products"."id" = 159 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 159 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.680000' WHERE "spree_products"."id" = 159  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 477 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.682000' WHERE "spree_products"."id" = 159 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 159) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:12:55.686000' WHERE "spree_products"."id" = 159 Row 3 succesfully SAVED : ID 159 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 157 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" = 157 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 158 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" = 158 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 227 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 405 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 227 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 409 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 409 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 410 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:55.843000', 'Paintings', '2012-09-18 09:12:55.843000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 231 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-18 09:12:55.847000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 231, '2012-09-18 09:12:55.847000')  (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-18 09:12:55.858000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 231, '2012-09-18 09:12:55.858000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 412, "updated_at" = '2012-09-18 09:12:55.863000' WHERE "spree_taxons"."id" = 413 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 413 THEN 412 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 413 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 412 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:55.891000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:55.891000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.894000' WHERE "spree_products"."id" = 160 SQL (0.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, 160, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.896000' WHERE "spree_products"."id" = 160  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 478 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.898000' WHERE "spree_products"."id" = 160  (16.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 160  (0.0ms) 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.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-18 09:12:55.920000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:55.920000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:55.922000', NULL, 125, '2012-09-18 09:12:55.922000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 160, "updated_at" = '2012-09-18 09:12:55.925000' WHERE "spree_product_properties"."id" = 141 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" != 160) 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" != 160) 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" != 160) 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" = 231 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" = 160 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (160, 412) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 160) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:55.941000', 'WaterColour', '2012-09-18 09:12:55.941000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 232 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-18 09:12:55.947000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 232, '2012-09-18 09:12:55.947000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (160, 414) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 160) 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" != 160) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:55.956000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:55.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" = 160 AND "spree_option_types"."id" = 108 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" = 160) ORDER BY position 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-18 09:12:55.962000', 108, 1, 160, '2012-09-18 09:12:55.962000') 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" = 108 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 108) ORDER 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-18 09:12:55.965000', 'jpeg', 108, 1, NULL, '2012-09-18 09:12:55.965000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.969000' WHERE "spree_products"."id" = 160 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 160, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:55.971000' WHERE "spree_products"."id" = 160  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (479, 148) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("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" != 160) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 160 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 108 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 108) ORDER 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-18 09:12:55.996000', 'PDF', 108, 2, NULL, '2012-09-18 09:12:55.996000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.002000' WHERE "spree_products"."id" = 160 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 160, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.004000' WHERE "spree_products"."id" = 160  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (480, 149) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("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" != 160) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 160 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 108 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 108) ORDER 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-18 09:12:56.024000', 'PNG', 108, 3, NULL, '2012-09-18 09:12:56.024000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.029000' WHERE "spree_products"."id" = 160 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 160, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.031000' WHERE "spree_products"."id" = 160  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (481, 150) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 AND ("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" != 160) 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" != 160) 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" != 160) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 160 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" = 160 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 479 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 481 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" != 160) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.049000' WHERE "spree_products"."id" = 160  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 479 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.052000' WHERE "spree_products"."id" = 160 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.054000' WHERE "spree_products"."id" = 160  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 480 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.055000' WHERE "spree_products"."id" = 160 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.061000' WHERE "spree_products"."id" = 160  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 481 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.065000' WHERE "spree_products"."id" = 160 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 160) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:12:56.069000' WHERE "spree_products"."id" = 160 Row 1 succesfully SAVED : ID 160 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:56.086000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:56.086000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.089000' WHERE "spree_products"."id" = 161 SQL (0.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, 161, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.091000' WHERE "spree_products"."id" = 161  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 482 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.093000' WHERE "spree_products"."id" = 161  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 161  (0.0ms) 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::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-18 09:12:56.101000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:56.101000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.104000', NULL, 126, '2012-09-18 09:12:56.104000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 161, "updated_at" = '2012-09-18 09:12:56.105000' WHERE "spree_product_properties"."id" = 142 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" != 161) 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" != 161) 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" != 161) 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" = 231 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 161 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (161, 412) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 161) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:56.119000', 'Oils', '2012-09-18 09:12:56.119000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 233 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-18 09:12:56.123000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 233, '2012-09-18 09:12:56.123000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (161, 415) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 161) 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" = 231 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" = 412 AND "spree_taxons"."taxonomy_id" = 231 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 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-18 09:12:56.140000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 412, 'paintings/nature', 0, 10, 231, '2012-09-18 09:12:56.140000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 416 THEN 412 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 416 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 416 AND "spree_taxons"."taxonomy_id" = 231 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" = 416 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-18 09:12:56.156000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 416, 'paintings/nature/seascape', 0, 12, 231, '2012-09-18 09:12:56.156000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 416 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 417 THEN 416 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 416 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 417 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (161, 416)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (161, 417) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 161) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 161 AND "spree_option_types"."id" = 108 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" = 161) ORDER BY position 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-18 09:12:56.170000', 108, 1, 161, '2012-09-18 09:12:56.170000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 108 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.175000' WHERE "spree_products"."id" = 161 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 161, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.178000' WHERE "spree_products"."id" = 161  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (483, 148) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("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" != 161) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 161 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 108 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.193000' WHERE "spree_products"."id" = 161 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 161, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.195000' WHERE "spree_products"."id" = 161  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (484, 149) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("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" != 161) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 161 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 108 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.204000' WHERE "spree_products"."id" = 161 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 161, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.206000' WHERE "spree_products"."id" = 161  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (485, 150) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 AND ("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" != 161) 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" != 161) 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" != 161) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 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" = 161 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 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" = 483 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 484 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 485 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" != 161) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.227000' WHERE "spree_products"."id" = 161  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 483 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.229000' WHERE "spree_products"."id" = 161 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.231000' WHERE "spree_products"."id" = 161  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 484 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.232000' WHERE "spree_products"."id" = 161 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.234000' WHERE "spree_products"."id" = 161  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 485 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.235000' WHERE "spree_products"."id" = 161 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 161) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 161 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-18 09:12:56.239000' WHERE "spree_products"."id" = 161 Row 2 succesfully SAVED : ID 161 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:56.247000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:56.247000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.250000' WHERE "spree_products"."id" = 162 SQL (0.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, 162, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.251000' WHERE "spree_products"."id" = 162  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 486 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.254000' WHERE "spree_products"."id" = 162  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 162  (0.0ms) 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::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-18 09:12:56.259000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:56.259000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.261000', NULL, 127, '2012-09-18 09:12:56.261000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 162, "updated_at" = '2012-09-18 09:12:56.262000' WHERE "spree_product_properties"."id" = 143 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" != 162) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.268000', NULL, 126, '2012-09-18 09:12:56.268000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 162, "updated_at" = '2012-09-18 09:12:56.270000' WHERE "spree_product_properties"."id" = 144 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" != 162) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:56.274000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:56.274000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.276000', NULL, 128, '2012-09-18 09:12:56.276000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 162, "updated_at" = '2012-09-18 09:12:56.277000' WHERE "spree_product_properties"."id" = 145 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" != 162) 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-18 09:12:56.280000', 'Drawings', '2012-09-18 09:12:56.280000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 234 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-18 09:12:56.284000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 234, '2012-09-18 09:12:56.284000') 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" = 162 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (162, 418) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 162) 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" = 231 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" = 412 AND "spree_taxons"."taxonomy_id" = 231 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (162, 413)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (162, 412) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 162) 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" != 162) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 162 AND "spree_option_types"."id" = 108 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" = 162) ORDER BY position 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-18 09:12:56.300000', 108, 1, 162, '2012-09-18 09:12:56.300000') 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" = 108 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.304000' WHERE "spree_products"."id" = 162 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 162, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.305000' WHERE "spree_products"."id" = 162  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (487, 148) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("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" != 162) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 162 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 108 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.325000' WHERE "spree_products"."id" = 162 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, 162, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.327000' WHERE "spree_products"."id" = 162  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (488, 149) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("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" != 162) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 162 AND "spree_option_types"."id" = 108 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 108 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.336000' WHERE "spree_products"."id" = 162 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 162, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.338000' WHERE "spree_products"."id" = 162  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (489, 150) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("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" != 162) 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-18 09:12:56.343000', 'print_type', 0, 'Print type', '2012-09-18 09:12:56.343000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 109 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" = 162) ORDER BY position 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-18 09:12:56.349000', 109, 2, 162, '2012-09-18 09:12:56.349000') 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" = 109 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 109) ORDER 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-18 09:12:56.352000', 'black_white', 109, 1, NULL, '2012-09-18 09:12:56.352000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.356000' WHERE "spree_products"."id" = 162 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 162, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.358000' WHERE "spree_products"."id" = 162  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (490, 151) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("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" != 162) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 162 AND "spree_option_types"."id" = 109 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 109 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 109) ORDER 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-18 09:12:56.383000', 'colour', 109, 2, NULL, '2012-09-18 09:12:56.383000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.390000' WHERE "spree_products"."id" = 162 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, 162, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.392000' WHERE "spree_products"."id" = 162  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (491, 152) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("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" != 162) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 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" = 162 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 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" = 487 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 488 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 489 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 491 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" != 162) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.416000' WHERE "spree_products"."id" = 162  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 487 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.419000' WHERE "spree_products"."id" = 162 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.420000' WHERE "spree_products"."id" = 162  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 488 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.422000' WHERE "spree_products"."id" = 162 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.424000' WHERE "spree_products"."id" = 162  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 489 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.425000' WHERE "spree_products"."id" = 162 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.426000' WHERE "spree_products"."id" = 162  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 490 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.428000' WHERE "spree_products"."id" = 162 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 162 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.429000' WHERE "spree_products"."id" = 162  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 491 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.431000' WHERE "spree_products"."id" = 162 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 162) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 162 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-18 09:12:56.435000' WHERE "spree_products"."id" = 162 Row 3 succesfully SAVED : ID 162 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 160 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 160 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 161 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" = 161 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" = 231 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 412 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 231 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 416 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 416 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 417 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (24.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:56.615000', 'Paintings', '2012-09-18 09:12:56.615000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 235 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-18 09:12:56.622000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 235, '2012-09-18 09:12:56.622000')  (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-18 09:12:56.631000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 235, '2012-09-18 09:12:56.631000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 419, "updated_at" = '2012-09-18 09:12:56.637000' WHERE "spree_taxons"."id" = 420 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 419 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 420 THEN 419 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 419 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 420 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 419 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:56.669000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:56.669000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.691000' WHERE "spree_products"."id" = 163 SQL (0.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, 163, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.694000' WHERE "spree_products"."id" = 163  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 492 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.697000' WHERE "spree_products"."id" = 163  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 163  (0.0ms) 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::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-18 09:12:56.705000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:12:56.705000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.707000', NULL, 129, '2012-09-18 09:12:56.707000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 163, "updated_at" = '2012-09-18 09:12:56.710000' WHERE "spree_product_properties"."id" = 146 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 163) 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" = 235 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" = 163 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (163, 419) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 163) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:56.737000', 'WaterColour', '2012-09-18 09:12:56.737000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 236 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-18 09:12:56.741000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 236, '2012-09-18 09:12:56.741000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (163, 421) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 163) LIMIT 1 Spree::OptionType Load (0.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-18 09:12:56.755000', 'mime_type', 0, 'Mime type', '2012-09-18 09:12:56.755000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 110 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" = 163) ORDER BY position 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-18 09:12:56.761000', 110, 1, 163, '2012-09-18 09:12:56.761000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 110 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 110) ORDER 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-18 09:12:56.766000', 'jpeg', 110, 1, NULL, '2012-09-18 09:12:56.766000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.792000' WHERE "spree_products"."id" = 163 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 163, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.795000' WHERE "spree_products"."id" = 163  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (493, 153) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("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" != 163) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 163 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 110 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 110) ORDER 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-18 09:12:56.807000', 'PDF', 110, 2, NULL, '2012-09-18 09:12:56.807000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.813000' WHERE "spree_products"."id" = 163 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 163, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.816000' WHERE "spree_products"."id" = 163  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (494, 154) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("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" != 163) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 163 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 110 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 110) ORDER 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-18 09:12:56.824000', 'PNG', 110, 3, NULL, '2012-09-18 09:12:56.824000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.828000' WHERE "spree_products"."id" = 163 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 163, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.830000' WHERE "spree_products"."id" = 163  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (495, 155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("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" != 163) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 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" = 163 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 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" = 493 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 495 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" != 163) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.855000' WHERE "spree_products"."id" = 163  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 493 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.857000' WHERE "spree_products"."id" = 163 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.859000' WHERE "spree_products"."id" = 163  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 494 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.860000' WHERE "spree_products"."id" = 163 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.862000' WHERE "spree_products"."id" = 163  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 495 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.863000' WHERE "spree_products"."id" = 163 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 163) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 163 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-18 09:12:56.867000' WHERE "spree_products"."id" = 163 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:56.874000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:12:56.874000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.877000' WHERE "spree_products"."id" = 164 SQL (0.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, 164, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.878000' WHERE "spree_products"."id" = 164  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 496 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.882000' WHERE "spree_products"."id" = 164  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 164  (0.0ms) 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::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-18 09:12:56.893000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:12:56.893000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:56.895000', NULL, 130, '2012-09-18 09:12:56.895000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 164, "updated_at" = '2012-09-18 09:12:56.896000' WHERE "spree_product_properties"."id" = 147 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 164) 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" = 235 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" = 164 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (164, 419) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 164) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:56.918000', 'Oils', '2012-09-18 09:12:56.918000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 237 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-18 09:12:56.922000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 237, '2012-09-18 09:12:56.922000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (164, 422) 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" != 164) 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" = 235 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" = 419 AND "spree_taxons"."taxonomy_id" = 235 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" = 419 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-18 09:12:56.934000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 419, 'paintings/nature', 0, 10, 235, '2012-09-18 09:12:56.934000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 419 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 423 THEN 419 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 419 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 423 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 423 AND "spree_taxons"."taxonomy_id" = 235 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" = 423 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-18 09:12:56.944000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 423, 'paintings/nature/seascape', 0, 12, 235, '2012-09-18 09:12:56.944000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 423 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 424 THEN 423 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 423 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 424 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (164, 423)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (164, 424) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 164) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 164 AND "spree_option_types"."id" = 110 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" = 164) ORDER BY position 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-18 09:12:56.958000', 110, 1, 164, '2012-09-18 09:12:56.958000') 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" = 110 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.963000' WHERE "spree_products"."id" = 164 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 164, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.965000' WHERE "spree_products"."id" = 164  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (497, 153) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("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" != 164) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 164 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 110 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.975000' WHERE "spree_products"."id" = 164 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 164, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.977000' WHERE "spree_products"."id" = 164  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (498, 154) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("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" != 164) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 164 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 110 LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.987000' WHERE "spree_products"."id" = 164 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, 164, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:56.989000' WHERE "spree_products"."id" = 164  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (499, 155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 AND ("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" != 164) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 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" = 164 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" = 164 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" = 497 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 498 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" = 499 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" != 164) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.016000' WHERE "spree_products"."id" = 164  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 497 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.017000' WHERE "spree_products"."id" = 164 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.025000' WHERE "spree_products"."id" = 164  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 498 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.026000' WHERE "spree_products"."id" = 164 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.028000' WHERE "spree_products"."id" = 164  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 499 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.030000' WHERE "spree_products"."id" = 164 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 164) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 164 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-18 09:12:57.034000' WHERE "spree_products"."id" = 164 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:57.041000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:57.041000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.044000' WHERE "spree_products"."id" = 165 SQL (0.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, 165, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.046000' WHERE "spree_products"."id" = 165  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 500 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.049000' WHERE "spree_products"."id" = 165  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 165  (1.0ms) 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::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-18 09:12:57.055000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:12:57.055000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:57.058000', NULL, 131, '2012-09-18 09:12:57.058000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 165, "updated_at" = '2012-09-18 09:12:57.060000' WHERE "spree_product_properties"."id" = 148 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" != 165) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:57.064000', NULL, 130, '2012-09-18 09:12:57.064000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 165, "updated_at" = '2012-09-18 09:12:57.065000' WHERE "spree_product_properties"."id" = 149 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" != 165) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:12:57.072000', 'yet_another_property', 'Yet another property', '2012-09-18 09:12:57.072000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:12:57.078000', NULL, 132, '2012-09-18 09:12:57.078000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 165, "updated_at" = '2012-09-18 09:12:57.083000' WHERE "spree_product_properties"."id" = 150 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" != 165) 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-18 09:12:57.089000', 'Drawings', '2012-09-18 09:12:57.089000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 238 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-18 09:12:57.092000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 238, '2012-09-18 09:12:57.092000') 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" = 165 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (165, 425) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 165) 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" = 235 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" = 419 AND "spree_taxons"."taxonomy_id" = 235 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (165, 420)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (165, 419) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 165) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 165 AND "spree_option_types"."id" = 110 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" = 165) 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-18 09:12:57.112000', 110, 1, 165, '2012-09-18 09:12:57.112000') 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" = 110 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.116000' WHERE "spree_products"."id" = 165 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 165, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.118000' WHERE "spree_products"."id" = 165  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (501, 153) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 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" != 165) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 165 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 110 LIMIT 1  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.129000' WHERE "spree_products"."id" = 165 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 165, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.131000' WHERE "spree_products"."id" = 165  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (502, 154) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("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" != 165) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 165 AND "spree_option_types"."id" = 110 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 110 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.143000' WHERE "spree_products"."id" = 165 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 165, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.146000' WHERE "spree_products"."id" = 165  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (503, 155) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("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" != 165) 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-18 09:12:57.151000', 'print_type', 0, 'Print type', '2012-09-18 09:12:57.151000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 111 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" = 165) ORDER BY position 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-18 09:12:57.157000', 111, 2, 165, '2012-09-18 09:12:57.157000') 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" = 111 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 111) 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-18 09:12:57.161000', 'black_white', 111, 1, NULL, '2012-09-18 09:12:57.161000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.166000' WHERE "spree_products"."id" = 165 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 165, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.167000' WHERE "spree_products"."id" = 165  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (504, 156) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (17.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 165) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 165 AND "spree_option_types"."id" = 111 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 111 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 111) ORDER 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-18 09:12:57.193000', 'colour', 111, 2, NULL, '2012-09-18 09:12:57.193000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.219000' WHERE "spree_products"."id" = 165 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 165, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.223000' WHERE "spree_products"."id" = 165  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (505, 157) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("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" != 165) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 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" = 165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 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" = 501 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 502 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 503 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 505 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" != 165) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.243000' WHERE "spree_products"."id" = 165  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 501 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.245000' WHERE "spree_products"."id" = 165 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.246000' WHERE "spree_products"."id" = 165  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 502 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.248000' WHERE "spree_products"."id" = 165 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.250000' WHERE "spree_products"."id" = 165  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 503 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.251000' WHERE "spree_products"."id" = 165 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.253000' WHERE "spree_products"."id" = 165  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 504 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.254000' WHERE "spree_products"."id" = 165 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 165 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.256000' WHERE "spree_products"."id" = 165  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 505 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.258000' WHERE "spree_products"."id" = 165 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 165) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 165 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-18 09:12:57.262000' WHERE "spree_products"."id" = 165 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 163 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" = 163 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 164 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" = 164 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 235 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 419 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 235 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 423 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 423 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 424 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:57.382000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:57.382000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 166 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.388000' WHERE "spree_products"."id" = 166 SQL (0.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, 166, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.389000' WHERE "spree_products"."id" = 166  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 506 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.392000' WHERE "spree_products"."id" = 166  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 166 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 166  (1.0ms) 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::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-18 09:12:57.415000', 'Paintings', '2012-09-18 09:12:57.415000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 239 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-18 09:12:57.421000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 239, '2012-09-18 09:12:57.421000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 426 AND "spree_taxons"."taxonomy_id" = 239 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" = 426 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-18 09:12:57.427000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 426, 'paintings/landscape', 0, 4, 239, '2012-09-18 09:12:57.427000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 426 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 427 THEN 426 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 426 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 427 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" = 166 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (166, 427)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (166, 426) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 166) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:57.451000', 'WaterColour', '2012-09-18 09:12:57.451000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 240 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-18 09:12:57.459000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 240, '2012-09-18 09:12:57.459000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (166, 428) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 166) 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" != 166) LIMIT 1 Spree::InventoryUnit Load (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 166) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-18 09:12:57.468000' WHERE "spree_products"."id" = 166  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 506 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.470000' WHERE "spree_products"."id" = 166 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 166 Row 1 succesfully SAVED : ID 166 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 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-18 09:12:57.479000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-18 09:12:57.479000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 167 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.484000' WHERE "spree_products"."id" = 167 SQL (0.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, 167, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.486000' WHERE "spree_products"."id" = 167  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 507 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.488000' WHERE "spree_products"."id" = 167  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 167 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 167  (0.0ms) 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::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" = 239 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" = 167 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (167, 426) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 167) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:57.498000', 'Oils', '2012-09-18 09:12:57.498000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 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-18 09:12:57.501000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 241, '2012-09-18 09:12:57.501000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (167, 429) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 167) 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" = 239 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" = 426 AND "spree_taxons"."taxonomy_id" = 239 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" = 426 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-18 09:12:57.509000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 426, 'paintings/nature', 0, 10, 239, '2012-09-18 09:12:57.509000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 426 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 430 THEN 426 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 426 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 430 AND "spree_taxons"."taxonomy_id" = 239 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" = 430 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-18 09:12:57.519000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 430, 'paintings/nature/landscape', 0, 12, 239, '2012-09-18 09:12:57.519000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 431 THEN 430 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 431 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (167, 430)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (167, 431) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 167) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 507 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 167) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:12:57.530000' WHERE "spree_products"."id" = 167  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 507 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.533000' WHERE "spree_products"."id" = 167 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 167 Row 2 succesfully SAVED : ID 167 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:57.548000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:57.548000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 168 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.551000' WHERE "spree_products"."id" = 168 SQL (0.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, 168, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.553000' WHERE "spree_products"."id" = 168  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 508 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.555000' WHERE "spree_products"."id" = 168  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 168 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 168  (0.0ms) 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::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-18 09:12:57.561000', 'Drawings', '2012-09-18 09:12:57.561000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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-18 09:12:57.564000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 242, '2012-09-18 09:12:57.564000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 432 AND "spree_taxons"."taxonomy_id" = 242 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 432 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:57.570000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 432, 'drawings/landscape', 0, 16, 242, '2012-09-18 09:12:57.570000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 432 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 433 THEN 432 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 432 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 433 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" = 168 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (168, 433)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (168, 432) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 168) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:57.581000', 'Landscape', '2012-09-18 09:12:57.581000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 243 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-18 09:12:57.583000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 243, '2012-09-18 09:12:57.583000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (168, 434) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 168) 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" != 168) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 508 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" != 168) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-18 09:12:57.592000' WHERE "spree_products"."id" = 168  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 508 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.594000' WHERE "spree_products"."id" = 168 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 168 Row 3 succesfully SAVED : ID 168 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:57.602000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-18 09:12:57.602000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 169 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.606000' WHERE "spree_products"."id" = 169 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 169, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.607000' WHERE "spree_products"."id" = 169  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 509 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.609000' WHERE "spree_products"."id" = 169  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 169 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 169  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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" = 432 AND "spree_taxons"."taxonomy_id" = 242 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" = 169 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 433)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 432) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 169) LIMIT 1 Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 169) 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" = 239 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" = 426 AND "spree_taxons"."taxonomy_id" = 239 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 430 AND "spree_taxons"."taxonomy_id" = 239 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" = 430 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-18 09:12:57.626000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 430, 'paintings/nature/seascape', 0, 20, 239, '2012-09-18 09:12:57.626000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 435 THEN 430 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 435 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 435 AND "spree_taxons"."taxonomy_id" = 239 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" = 435 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-18 09:12:57.635000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 435, 'paintings/nature/seascape/cliffs', 0, 22, 239, '2012-09-18 09:12:57.635000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 435 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 436 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" = 435 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 436 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 430)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 435)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 436)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (169, 426) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 169) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 509 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 169) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:12:57.646000' WHERE "spree_products"."id" = 169  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 509 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.648000' WHERE "spree_products"."id" = 169 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 169 Row 4 succesfully SAVED : ID 169 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:57.660000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-18 09:12:57.660000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 170 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.664000' WHERE "spree_products"."id" = 170 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 170, 'test_ct_005', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.666000' WHERE "spree_products"."id" = 170  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 510 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.673000' WHERE "spree_products"."id" = 170  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 170 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 170  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 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" = 432 AND "spree_taxons"."taxonomy_id" = 242 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 433 AND "spree_taxons"."taxonomy_id" = 242 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" = 433 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-18 09:12:57.685000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 433, 'drawings/landscape/bristol', 0, 24, 242, '2012-09-18 09:12:57.685000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 433 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 437 THEN 433 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 433 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 437 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" = 170 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (170, 433)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (170, 437)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (170, 432) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 170) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 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 (170, 429) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 170) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 170) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 510 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 170) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:12:57.703000' WHERE "spree_products"."id" = 170  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 510 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.705000' WHERE "spree_products"."id" = 170 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 170 Row 5 succesfully SAVED : ID 170 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 239 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 240 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 239 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 239 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 426 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 426) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 430 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 430) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 430) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 426 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 430 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 435 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 436 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 435) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 242 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 433 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 433 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 437 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 437) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 241 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 429 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 243 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 243 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 434 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:12:57.878000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:12:57.878000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 171 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.882000' WHERE "spree_products"."id" = 171 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, 171, 'test_ct_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.886000' WHERE "spree_products"."id" = 171  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 511 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.889000' WHERE "spree_products"."id" = 171  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 171 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 171  (1.0ms) 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::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-18 09:12:57.913000', 'Paintings', '2012-09-18 09:12:57.913000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 244 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-18 09:12:57.917000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 244, '2012-09-18 09:12:57.917000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 438 AND "spree_taxons"."taxonomy_id" = 244 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" = 438 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-18 09:12:57.926000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 438, 'paintings/landscape', 0, 4, 244, '2012-09-18 09:12:57.926000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 438 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 438 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 439 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" = 171 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (171, 439)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (171, 438) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 171) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:57.938000', 'WaterColour', '2012-09-18 09:12:57.938000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 245 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-18 09:12:57.941000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 245, '2012-09-18 09:12:57.941000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (171, 440) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 171) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 511 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 171) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-18 09:12:57.975000' WHERE "spree_products"."id" = 171  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 511 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.978000' WHERE "spree_products"."id" = 171 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 171 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:12:57.985000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-18 09:12:57.985000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 172 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.989000' WHERE "spree_products"."id" = 172 SQL (0.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, 172, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.991000' WHERE "spree_products"."id" = 172  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 512 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:57.994000' WHERE "spree_products"."id" = 172  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 172 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 172  (0.0ms) 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::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" = 244 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" = 172 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (172, 438) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 172) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:58.009000', 'Oils', '2012-09-18 09:12:58.009000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 246 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-18 09:12:58.013000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 246, '2012-09-18 09:12:58.013000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (172, 441) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 172) 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" = 244 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" = 438 AND "spree_taxons"."taxonomy_id" = 244 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 438 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-18 09:12:58.023000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 438, 'paintings/nature', 0, 10, 244, '2012-09-18 09:12:58.023000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 438 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 442 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" = 438 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 442 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 442 AND "spree_taxons"."taxonomy_id" = 244 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" = 442 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-18 09:12:58.032000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 442, 'paintings/nature/landscape', 0, 12, 244, '2012-09-18 09:12:58.032000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 442 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 443 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 442 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 443 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (172, 442)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (172, 443) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 172) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 512 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 172) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:12:58.046000' WHERE "spree_products"."id" = 172  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 512 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.048000' WHERE "spree_products"."id" = 172 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 172 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:58.055000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:12:58.055000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 173 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.058000' WHERE "spree_products"."id" = 173 SQL (0.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, 173, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.060000' WHERE "spree_products"."id" = 173  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 513 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.062000' WHERE "spree_products"."id" = 173  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 173 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 173  (0.0ms) 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::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-18 09:12:58.068000', 'Drawings', '2012-09-18 09:12:58.068000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 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-18 09:12:58.072000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 247, '2012-09-18 09:12:58.072000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 444 AND "spree_taxons"."taxonomy_id" = 247 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" = 444 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-18 09:12:58.078000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 444, 'drawings/landscape', 0, 16, 247, '2012-09-18 09:12:58.078000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 444 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 445 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 444 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 445 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" = 173 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (173, 445)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (173, 444) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 173) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:12:58.091000', 'Landscape', '2012-09-18 09:12:58.091000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 248 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-18 09:12:58.094000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 248, '2012-09-18 09:12:58.094000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (173, 446) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 173) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 513 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 173) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-18 09:12:58.108000' WHERE "spree_products"."id" = 173  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 513 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.110000' WHERE "spree_products"."id" = 173 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 173 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:58.121000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-18 09:12:58.121000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 174 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.125000' WHERE "spree_products"."id" = 174 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 174, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.127000' WHERE "spree_products"."id" = 174  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 514 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.129000' WHERE "spree_products"."id" = 174  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 174 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 174  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 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" = 444 AND "spree_taxons"."taxonomy_id" = 247 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" = 174 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 445)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 444) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 174) 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" = 244 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" = 438 AND "spree_taxons"."taxonomy_id" = 244 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 442 AND "spree_taxons"."taxonomy_id" = 244 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" = 442 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:12:58.149000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 442, 'paintings/nature/seascape', 0, 20, 244, '2012-09-18 09:12:58.149000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 442 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 447 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 447 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" = 442 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 447 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 447 AND "spree_taxons"."taxonomy_id" = 244 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" = 447 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-18 09:12:58.158000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 447, 'paintings/nature/seascape/cliffs', 0, 22, 244, '2012-09-18 09:12:58.158000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 447 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 448 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 448 THEN 447 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 447 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 448 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 442)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 447)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 448)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (174, 438) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 174) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 514 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 174) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:12:58.172000' WHERE "spree_products"."id" = 174  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 514 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.174000' WHERE "spree_products"."id" = 174 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 174 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:12:58.181000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-18 09:12:58.181000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 175 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.184000' WHERE "spree_products"."id" = 175 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 175, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.186000' WHERE "spree_products"."id" = 175  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 515 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.189000' WHERE "spree_products"."id" = 175  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 175 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 175  (0.0ms) 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::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 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" = 444 AND "spree_taxons"."taxonomy_id" = 247 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 445 AND "spree_taxons"."taxonomy_id" = 247 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" = 445 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-18 09:12:58.201000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 445, 'drawings/landscape/bristol', 0, 24, 247, '2012-09-18 09:12:58.201000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 445 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 449 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 449 THEN 445 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 445 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 449 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" = 175 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (175, 445)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (175, 449)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (175, 444) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 175) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 246 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 (175, 441) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 175) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 515 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 175) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:12:58.223000' WHERE "spree_products"."id" = 175  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 515 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:12:58.225000' WHERE "spree_products"."id" = 175 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 175  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 245 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 246 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (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" = 244 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 244 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 438 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 438) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 442 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 442) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 442) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 438 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 442 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 447 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 448 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 447) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 247 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 445 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 445 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 449 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 449) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 246 Spree::Taxon Load (0.0ms) 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.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 441 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 248 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 248 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 446 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (22.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (19.0ms) DELETE FROM "spree_zones" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:45.871000', 'Paintings', '2012-09-18 09:26:45.871000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 253 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-18 09:26:46.289000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 253, '2012-09-18 09:26:46.289000')  (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-18 09:26:46.319000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 253, '2012-09-18 09:26:46.319000')  (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-18 09:26:46.340000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 253, '2012-09-18 09:26:46.340000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (52.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:46.818000', 'Paintings', '2012-09-18 09:26:46.818000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 254 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-18 09:26:46.925000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 254, '2012-09-18 09:26:46.925000')  (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-18 09:26:46.952000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 254, '2012-09-18 09:26:46.952000')  (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-18 09:26:46.982000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 254, '2012-09-18 09:26:46.982000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (21.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:47.063000', 'Paintings', '2012-09-18 09:26:47.063000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 255 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-18 09:26:47.103000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 255, '2012-09-18 09:26:47.103000')  (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-18 09:26:47.123000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 255, '2012-09-18 09:26:47.123000')  (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-18 09:26:47.148000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 255, '2012-09-18 09:26:47.148000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.534000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:26:47.534000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 35 Row 1 succesfully SAVED : ID 35 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.612000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:26:47.612000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 36 Row 2 succesfully SAVED : ID 36 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.623000', 'f', 'Europe', 'EUR', '2012-09-18 09:26:47.623000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 37 Row 3 succesfully SAVED : ID 37 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.639000', 'f', 'North America', 'NA', '2012-09-18 09:26:47.639000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 38 Row 4 succesfully SAVED : ID 38 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.750000', 'f', 'Rest of World', 'ROW', '2012-09-18 09:26:47.750000', 0) Spree::ZoneMember Load (1.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.763000', 'f', 'United Kingdom', 'UK', '2012-09-18 09:26:47.763000', 0) Spree::ZoneMember Load (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.791000', 'f', 'Europe', 'EUR', '2012-09-18 09:26:47.791000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-18 09:26:47.815000', 'f', 'North America', 'NA', '2012-09-18 09:26:47.815000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 42  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (19.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:26:48.147000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:48.147000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 179 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.172000' WHERE "spree_products"."id" = 179 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 179, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.182000' WHERE "spree_products"."id" = 179  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 530 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.197000' WHERE "spree_products"."id" = 179  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 179  (1.0ms) 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::InventoryUnit Load (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 179) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:48.318000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:48.318000') 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" = 179 AND "spree_option_types"."id" = 114 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" = 179) 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-18 09:26:48.404000', 114, 1, 179, '2012-09-18 09:26:48.404000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 179) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:26:48.416000' WHERE "spree_products"."id" = 179  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 530 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.423000' WHERE "spree_products"."id" = 179 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 179 Row 1 succesfully SAVED : ID 179 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:48.455000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:48.455000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 180 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.490000' WHERE "spree_products"."id" = 180 SQL (0.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, 180, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.497000' WHERE "spree_products"."id" = 180  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 531 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.502000' WHERE "spree_products"."id" = 180  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 180 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 180  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 531 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 180) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 180 AND "spree_option_types"."id" = 114 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" = 180) ORDER BY position 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-18 09:26:48.568000', 114, 1, 180, '2012-09-18 09:26:48.568000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 180) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:26:48.581000' WHERE "spree_products"."id" = 180  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 531 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.591000' WHERE "spree_products"."id" = 180 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 180 Row 2 succesfully SAVED : ID 180 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:26:48.618000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:26:48.618000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 181 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.639000' WHERE "spree_products"."id" = 181 SQL (0.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, 181, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.644000' WHERE "spree_products"."id" = 181  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 532 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.651000' WHERE "spree_products"."id" = 181  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 181  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 532 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 181) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 181 AND "spree_option_types"."id" = 114 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" = 181) ORDER BY position 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-18 09:26:48.711000', 114, 1, 181, '2012-09-18 09:26:48.711000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:26:48.719000', 'print_type', 0, 'Print type', '2012-09-18 09:26:48.719000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 115 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" = 181) ORDER BY position 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-18 09:26:48.781000', 115, 2, 181, '2012-09-18 09:26:48.781000') 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" != 181) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:26:48.792000' WHERE "spree_products"."id" = 181  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 532 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:48.809000' WHERE "spree_products"."id" = 181 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 181 Row 3 succesfully SAVED : ID 181 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"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:26:48.891000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:26:48.892000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 179 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 179 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 181 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-18 09:26:49.113000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:49.113000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 182 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.126000' WHERE "spree_products"."id" = 182 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 182, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.132000' WHERE "spree_products"."id" = 182  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 533 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.138000' WHERE "spree_products"."id" = 182  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 182  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 533 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 182) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:49.178000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:49.178000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 116 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" = 182) ORDER BY position 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-18 09:26:49.258000', 116, 1, 182, '2012-09-18 09:26:49.258000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 182) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-18 09:26:49.281000' WHERE "spree_products"."id" = 182  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 533 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.291000' WHERE "spree_products"."id" = 182 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 182 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:49.328000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:49.328000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 183 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.334000' WHERE "spree_products"."id" = 183 SQL (0.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, 183, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.341000' WHERE "spree_products"."id" = 183  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 534 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.346000' WHERE "spree_products"."id" = 183  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 183 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 183  (1.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 183) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 183 AND "spree_option_types"."id" = 116 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" = 183) 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-18 09:26:49.723000', 116, 1, 183, '2012-09-18 09:26:49.723000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 183) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:26:49.733000' WHERE "spree_products"."id" = 183  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 534 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.744000' WHERE "spree_products"."id" = 183 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 183 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-18 09:26:49.764000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:26:49.764000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 184 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.784000' WHERE "spree_products"."id" = 184 SQL (0.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, 184, 'SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.787000' WHERE "spree_products"."id" = 184  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 535 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.812000' WHERE "spree_products"."id" = 184  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 184  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 184) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 184 AND "spree_option_types"."id" = 116 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" = 184) ORDER BY position 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-18 09:26:49.885000', 116, 1, 184, '2012-09-18 09:26:49.885000') 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-18 09:26:49.892000', 'print_type', 0, 'Print type', '2012-09-18 09:26:49.892000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 117 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" = 184) ORDER BY position 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-18 09:26:49.926000', 117, 2, 184, '2012-09-18 09:26:49.926000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 184) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-18 09:26:49.954000' WHERE "spree_products"."id" = 184  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 535 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:49.961000' WHERE "spree_products"."id" = 184 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 184  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-18 09:26:49.995000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-18 09:26:49.996000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 182 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 182 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 184 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-09-18 10:26:50.000000', 0, '2012-09-18 09:26:50.167000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:50.167000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 185 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.174000' WHERE "spree_products"."id" = 185 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 185, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.179000' WHERE "spree_products"."id" = 185  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 536 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.185000' WHERE "spree_products"."id" = 185  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 185  (0.0ms) 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::OptionType Load (0.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-18 09:26:50.209000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:50.209000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 118 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" = 185) ORDER BY position 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-18 09:26:50.229000', 118, 1, 185, '2012-09-18 09:26:50.229000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 185) LIMIT 1 Row 1 succesfully SAVED : ID 185 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:26:50.000000', 0, '2012-09-18 09:26:50.295000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:50.295000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 186 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.300000' WHERE "spree_products"."id" = 186 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 186, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.357000' WHERE "spree_products"."id" = 186  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 537 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.378000' WHERE "spree_products"."id" = 186  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 186 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 186  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 186 AND "spree_option_types"."id" = 118 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" = 186) ORDER BY position 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-18 09:26:50.402000', 118, 1, 186, '2012-09-18 09:26:50.402000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 186) LIMIT 1 Row 2 succesfully SAVED : ID 186 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-18 10:26:50.000000', 0, '2012-09-18 09:26:50.461000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:26:50.461000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 187 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.467000' WHERE "spree_products"."id" = 187 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 187, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.470000' WHERE "spree_products"."id" = 187  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 538 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.476000' WHERE "spree_products"."id" = 187  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 187 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 187  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 187 AND "spree_option_types"."id" = 118 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" = 187) ORDER BY position 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-18 09:26:50.499000', 118, 1, 187, '2012-09-18 09:26:50.499000') 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-18 09:26:50.504000', 'print_type', 0, 'Print type', '2012-09-18 09:26:50.504000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 119 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" = 187) ORDER BY position 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-18 09:26:50.512000', 119, 2, 187, '2012-09-18 09:26:50.512000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 187) LIMIT 1 Row 3 succesfully SAVED : ID 187 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 185 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:26:50.676000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:50.676000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 188 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.700000' WHERE "spree_products"."id" = 188 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 188, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.704000' WHERE "spree_products"."id" = 188  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 539 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.735000' WHERE "spree_products"."id" = 188  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 188  (0.0ms) 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::OptionType Load (0.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-18 09:26:50.751000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:50.751000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 120 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" = 188) ORDER BY position 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-18 09:26:50.767000', 120, 1, 188, '2012-09-18 09:26:50.767000') Spree::Product Exists (23.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 188) LIMIT 1 Row 1 succesfully SAVED : ID 188 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:26:50.807000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:50.807000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 189 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.813000' WHERE "spree_products"."id" = 189 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 189, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.816000' WHERE "spree_products"."id" = 189  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 540 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.825000' WHERE "spree_products"."id" = 189  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 189 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 189  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 189 AND "spree_option_types"."id" = 120 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" = 189) ORDER BY position 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-18 09:26:50.844000', 120, 1, 189, '2012-09-18 09:26:50.844000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 189) LIMIT 1 Row 2 succesfully SAVED : ID 189 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:26:50.882000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-18 09:26:50.882000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 190 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.889000' WHERE "spree_products"."id" = 190 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 190, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.893000' WHERE "spree_products"."id" = 190  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 541 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:50.897000' WHERE "spree_products"."id" = 190  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 190 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 190  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 190 AND "spree_option_types"."id" = 120 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" = 190) 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-18 09:26:50.915000', 120, 1, 190, '2012-09-18 09:26:50.915000') 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-18 09:26:50.919000', 'print_type', 0, 'Print type', '2012-09-18 09:26:50.919000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 121 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" = 190) 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-18 09:26:50.927000', 121, 2, 190, '2012-09-18 09:26:50.927000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 190) LIMIT 1 Row 3 succesfully SAVED : ID 190 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 188 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:51.094000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:26:51.094000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:26:51.131000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:51.131000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.156000' WHERE "spree_products"."id" = 191 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, 191, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.159000' WHERE "spree_products"."id" = 191  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 542 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.169000' WHERE "spree_products"."id" = 191  (3.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 191  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:51.229000', NULL, 137, '2012-09-18 09:26:51.229000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 191, "updated_at" = '2012-09-18 09:26:51.241000' WHERE "spree_product_properties"."id" = 156 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" != 191) 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-18 09:26:51.248000', 'Paintings', '2012-09-18 09:26:51.248000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 256 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-18 09:26:51.256000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 256, '2012-09-18 09:26:51.256000') 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" = 191 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (191, 466) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:51.272000', 'WaterColour', '2012-09-18 09:26:51.272000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 257 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-18 09:26:51.280000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 257, '2012-09-18 09:26:51.280000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (191, 467) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 191) 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" != 191) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:51.304000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:51.304000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 122 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" = 191) ORDER BY position 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-18 09:26:51.323000', 122, 1, 191, '2012-09-18 09:26:51.323000') 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" = 122 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 122) ORDER 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-18 09:26:51.366000', 'jpeg', 122, 1, NULL, '2012-09-18 09:26:51.366000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.374000' WHERE "spree_products"."id" = 191 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 191, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.380000' WHERE "spree_products"."id" = 191  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (543, 163) 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" = 122 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 122) ORDER 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-18 09:26:51.390000', 'PDF', 122, 2, NULL, '2012-09-18 09:26:51.390000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.397000' WHERE "spree_products"."id" = 191 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 191, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.400000' WHERE "spree_products"."id" = 191  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (544, 164) 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" = 122 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 122) ORDER 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-18 09:26:51.406000', 'PNG', 122, 3, NULL, '2012-09-18 09:26:51.406000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.423000' WHERE "spree_products"."id" = 191 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 191, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.431000' WHERE "spree_products"."id" = 191  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (545, 165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 191 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" != 191) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 543 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 544 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 545 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" != 191) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.467000' WHERE "spree_products"."id" = 191  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 543 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.469000' WHERE "spree_products"."id" = 191 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.472000' WHERE "spree_products"."id" = 191  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 544 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.473000' WHERE "spree_products"."id" = 191 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 191 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.476000' WHERE "spree_products"."id" = 191  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 545 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.478000' WHERE "spree_products"."id" = 191 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 191) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:26:51.486000' WHERE "spree_products"."id" = 191 Row 1 succesfully SAVED : ID 191 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:51.537000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:51.537000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.542000' WHERE "spree_products"."id" = 192 SQL (0.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, 192, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.549000' WHERE "spree_products"."id" = 192  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 546 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.553000' WHERE "spree_products"."id" = 192  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 192  (0.0ms) 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.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-18 09:26:51.565000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:51.565000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:51.568000', NULL, 138, '2012-09-18 09:26:51.568000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 192, "updated_at" = '2012-09-18 09:26:51.575000' WHERE "spree_product_properties"."id" = 157 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" != 192) 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" = 256 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" = 192 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (192, 466) 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-18 09:26:51.588000', 'Oils', '2012-09-18 09:26:51.588000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 258 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-18 09:26:51.596000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 258, '2012-09-18 09:26:51.596000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (192, 468) 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" = 256 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" = 466 AND "spree_taxons"."taxonomy_id" = 256 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" = 466 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-18 09:26:51.611000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 466, 'paintings/nature', 0, 8, 256, '2012-09-18 09:26:51.611000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 466 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 469 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 = 469 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" = 466 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 469 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 469 AND "spree_taxons"."taxonomy_id" = 256 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" = 469 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-18 09:26:51.632000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 469, 'paintings/nature/seascape', 0, 10, 256, '2012-09-18 09:26:51.632000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 469 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 470 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 = 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" = 469 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 470 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (192, 469)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (192, 470) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 192) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 192 AND "spree_option_types"."id" = 122 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" = 192) ORDER BY position 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-18 09:26:51.657000', 122, 1, 192, '2012-09-18 09:26:51.657000') 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" = 122 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.670000' WHERE "spree_products"."id" = 192 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 192, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.675000' WHERE "spree_products"."id" = 192  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (547, 163) 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" = 122 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.681000' WHERE "spree_products"."id" = 192 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 192, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.684000' WHERE "spree_products"."id" = 192  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (548, 164) 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" = 122 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.691000' WHERE "spree_products"."id" = 192 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 192, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.694000' WHERE "spree_products"."id" = 192  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (549, 165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 192 AND ("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" != 192) 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" != 192) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 547 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" = 548 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 549 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" != 192) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.727000' WHERE "spree_products"."id" = 192  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 547 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.731000' WHERE "spree_products"."id" = 192 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.733000' WHERE "spree_products"."id" = 192  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 548 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.735000' WHERE "spree_products"."id" = 192 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 192 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.737000' WHERE "spree_products"."id" = 192  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 549 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.739000' WHERE "spree_products"."id" = 192 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 192) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:26:51.750000' WHERE "spree_products"."id" = 192 Row 2 succesfully SAVED : ID 192 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:51.770000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:51.770000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.780000' WHERE "spree_products"."id" = 193 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, 193, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.783000' WHERE "spree_products"."id" = 193  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 550 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.786000' WHERE "spree_products"."id" = 193  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 193  (0.0ms) 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.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-18 09:26:51.816000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:26:51.816000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:51.825000', NULL, 139, '2012-09-18 09:26:51.825000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 193, "updated_at" = '2012-09-18 09:26:51.827000' WHERE "spree_product_properties"."id" = 158 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-18 09:26:51.831000', NULL, 138, '2012-09-18 09:26:51.831000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 193, "updated_at" = '2012-09-18 09:26:51.833000' WHERE "spree_product_properties"."id" = 159 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:51.844000', 'yet_another_property', 'Yet another property', '2012-09-18 09:26:51.844000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:51.849000', NULL, 140, '2012-09-18 09:26:51.849000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 193, "updated_at" = '2012-09-18 09:26:51.852000' WHERE "spree_product_properties"."id" = 160 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" != 193) 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-18 09:26:51.862000', 'Drawings', '2012-09-18 09:26:51.862000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 259 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-18 09:26:51.868000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 259, '2012-09-18 09:26:51.868000') 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" = 193 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (193, 471) 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" = 256 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 466 AND "spree_taxons"."taxonomy_id" = 256 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 466 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-18 09:26:51.884000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 466, 'paintings/landscape', 0, 14, 256, '2012-09-18 09:26:51.884000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 466 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 472 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 = 472 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 466 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 472 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (193, 472)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (193, 466) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 193) 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" != 193) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 193 AND "spree_option_types"."id" = 122 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" = 193) ORDER BY position 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-18 09:26:51.914000', 122, 1, 193, '2012-09-18 09:26:51.914000') 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" = 122 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.923000' WHERE "spree_products"."id" = 193 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 193, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.925000' WHERE "spree_products"."id" = 193  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (551, 163) 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" = 122 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.948000' WHERE "spree_products"."id" = 193 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 193, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.953000' WHERE "spree_products"."id" = 193  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (552, 164) 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" = 122 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.968000' WHERE "spree_products"."id" = 193 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, 193, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:51.972000' WHERE "spree_products"."id" = 193  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (553, 165) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 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-18 09:26:51.979000', 'print_type', 0, 'Print type', '2012-09-18 09:26:51.979000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 123 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" = 193) ORDER BY position 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-18 09:26:51.989000', 123, 2, 193, '2012-09-18 09:26:51.989000') 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" = 123 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 123) ORDER 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-18 09:26:51.993000', 'black_white', 123, 1, NULL, '2012-09-18 09:26:51.993000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.000000' WHERE "spree_products"."id" = 193 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 193, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.002000' WHERE "spree_products"."id" = 193  (20.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (554, 166) 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" = 123 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 123) ORDER 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-18 09:26:52.029000', 'colour', 123, 2, NULL, '2012-09-18 09:26:52.029000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.035000' WHERE "spree_products"."id" = 193 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 193, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.038000' WHERE "spree_products"."id" = 193  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (555, 167) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 AND ("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" != 193) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 193 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" = 193 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 551 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 554 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" = 555 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" != 193) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.071000' WHERE "spree_products"."id" = 193  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 551 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.073000' WHERE "spree_products"."id" = 193 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.075000' WHERE "spree_products"."id" = 193  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 552 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.077000' WHERE "spree_products"."id" = 193 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.079000' WHERE "spree_products"."id" = 193  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 553 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.082000' WHERE "spree_products"."id" = 193 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.084000' WHERE "spree_products"."id" = 193  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 554 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.102000' WHERE "spree_products"."id" = 193 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 193 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.105000' WHERE "spree_products"."id" = 193  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 555 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.107000' WHERE "spree_products"."id" = 193 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 193) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:26:52.116000' WHERE "spree_products"."id" = 193 Row 3 succesfully SAVED : ID 193 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 191 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 193 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 193 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (23.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:52.289000', 'test_pp_001', 'Test PP 001', '2012-09-18 09:26:52.289000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:26:52.349000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:52.349000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.355000' WHERE "spree_products"."id" = 194 SQL (0.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, 194, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.359000' WHERE "spree_products"."id" = 194  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 556 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.363000' WHERE "spree_products"."id" = 194  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 194  (1.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:52.373000', NULL, 141, '2012-09-18 09:26:52.373000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 194, "updated_at" = '2012-09-18 09:26:52.376000' WHERE "spree_product_properties"."id" = 161 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" != 194) 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" != 194) 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" != 194) 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-18 09:26:52.394000', 'Paintings', '2012-09-18 09:26:52.394000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 260 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-18 09:26:52.400000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 260, '2012-09-18 09:26:52.400000') 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" = 194 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (194, 473) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 194) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:52.422000', 'WaterColour', '2012-09-18 09:26:52.422000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 261 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-18 09:26:52.428000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 261, '2012-09-18 09:26:52.428000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (194, 474) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 194) 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" != 194) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:52.447000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:52.447000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 124 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" = 194) ORDER BY position 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-18 09:26:52.457000', 124, 1, 194, '2012-09-18 09:26:52.457000') 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" = 124 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 124) ORDER 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-18 09:26:52.463000', 'jpeg', 124, 1, NULL, '2012-09-18 09:26:52.463000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.499000' WHERE "spree_products"."id" = 194 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 194, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.503000' WHERE "spree_products"."id" = 194  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (557, 168) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("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" != 194) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 194 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 124 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 124) 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-18 09:26:52.520000', 'PDF', 124, 2, NULL, '2012-09-18 09:26:52.520000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.538000' WHERE "spree_products"."id" = 194 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 194, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.540000' WHERE "spree_products"."id" = 194  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (558, 169) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("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" != 194) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 194 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 124 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 124) ORDER 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-18 09:26:52.550000', 'PNG', 124, 3, NULL, '2012-09-18 09:26:52.550000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.557000' WHERE "spree_products"."id" = 194 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 194, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.559000' WHERE "spree_products"."id" = 194  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (559, 170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 AND ("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" != 194) 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" != 194) 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" != 194) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 194 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" = 194 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" = 194 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" = 557 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 559 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" != 194) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.610000' WHERE "spree_products"."id" = 194  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 557 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.611000' WHERE "spree_products"."id" = 194 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.614000' WHERE "spree_products"."id" = 194  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 558 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.617000' WHERE "spree_products"."id" = 194 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 194 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.619000' WHERE "spree_products"."id" = 194  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 559 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.621000' WHERE "spree_products"."id" = 194 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 194) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:26:52.627000' WHERE "spree_products"."id" = 194 Row 1 succesfully SAVED : ID 194 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:52.639000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:52.639000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.643000' WHERE "spree_products"."id" = 195 SQL (0.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, 195, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.646000' WHERE "spree_products"."id" = 195  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 560 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.649000' WHERE "spree_products"."id" = 195  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 195  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:52.664000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:52.664000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:52.672000', NULL, 142, '2012-09-18 09:26:52.672000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 195, "updated_at" = '2012-09-18 09:26:52.674000' WHERE "spree_product_properties"."id" = 162 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" != 195) 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" != 195) 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" != 195) 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" = 260 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" = 195 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (195, 473) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 195) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:52.697000', 'Oils', '2012-09-18 09:26:52.697000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 262 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-18 09:26:52.704000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 262, '2012-09-18 09:26:52.704000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (195, 475) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 195) 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" = 260 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" = 473 AND "spree_taxons"."taxonomy_id" = 260 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" = 473 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-18 09:26:52.727000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 473, 'paintings/nature', 0, 8, 260, '2012-09-18 09:26:52.727000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 473 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 476 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 476 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" = 473 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 476 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 476 AND "spree_taxons"."taxonomy_id" = 260 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" = 476 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-18 09:26:52.741000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 476, 'paintings/nature/seascape', 0, 10, 260, '2012-09-18 09:26:52.741000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 476 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 477 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 = 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" = 476 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 477 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (195, 476)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (195, 477) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 195) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 195 AND "spree_option_types"."id" = 124 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" = 195) 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-18 09:26:52.763000', 124, 1, 195, '2012-09-18 09:26:52.763000') 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" = 124 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.771000' WHERE "spree_products"."id" = 195 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 195, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.773000' WHERE "spree_products"."id" = 195  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (561, 168) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 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" != 195) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 195 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 124 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.793000' WHERE "spree_products"."id" = 195 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 195, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.795000' WHERE "spree_products"."id" = 195  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (562, 169) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("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" != 195) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 195 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 124 LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.833000' WHERE "spree_products"."id" = 195 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 195, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.835000' WHERE "spree_products"."id" = 195  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (563, 170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 195 AND ("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" != 195) 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" != 195) 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" != 195) LIMIT 1  (1.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 561 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 563 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" != 195) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.866000' WHERE "spree_products"."id" = 195  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 561 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.868000' WHERE "spree_products"."id" = 195 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.872000' WHERE "spree_products"."id" = 195  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 562 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.873000' WHERE "spree_products"."id" = 195 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 195 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.876000' WHERE "spree_products"."id" = 195  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 563 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.877000' WHERE "spree_products"."id" = 195 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" != 195) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:26:52.888000' WHERE "spree_products"."id" = 195 Row 2 succesfully SAVED : ID 195 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:52.902000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:52.902000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.909000' WHERE "spree_products"."id" = 196 SQL (0.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, 196, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.912000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 564 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:52.917000' WHERE "spree_products"."id" = 196  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 196  (0.0ms) 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.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-18 09:26:52.927000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:26:52.927000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:52.931000', NULL, 143, '2012-09-18 09:26:52.931000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 196, "updated_at" = '2012-09-18 09:26:52.936000' WHERE "spree_product_properties"."id" = 163 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" != 196) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:52.941000', NULL, 142, '2012-09-18 09:26:52.941000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 196, "updated_at" = '2012-09-18 09:26:52.944000' WHERE "spree_product_properties"."id" = 164 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" != 196) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:52.950000', 'yet_another_property', 'Yet another property', '2012-09-18 09:26:52.950000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:52.953000', NULL, 144, '2012-09-18 09:26:52.953000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 196, "updated_at" = '2012-09-18 09:26:52.958000' WHERE "spree_product_properties"."id" = 165 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" != 196) 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-18 09:26:52.964000', 'Drawings', '2012-09-18 09:26:52.964000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 263 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-18 09:26:52.969000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 263, '2012-09-18 09:26:52.969000') 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" = 196 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (196, 478) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 196) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 260 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" = 473 AND "spree_taxons"."taxonomy_id" = 260 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" = 473 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-18 09:26:52.983000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 473, 'paintings/landscape', 0, 14, 260, '2012-09-18 09:26:52.983000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 473 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 479 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 = 479 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 473 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 479 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (196, 479)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (196, 473) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 196) 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" != 196) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 196 AND "spree_option_types"."id" = 124 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" = 196) ORDER BY position 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-18 09:26:53.003000', 124, 1, 196, '2012-09-18 09:26:53.003000') 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" = 124 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.008000' WHERE "spree_products"."id" = 196 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, 196, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.011000' WHERE "spree_products"."id" = 196  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (565, 168) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("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" != 196) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 196 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 124 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.023000' WHERE "spree_products"."id" = 196 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 196, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.025000' WHERE "spree_products"."id" = 196  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (566, 169) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("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" != 196) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 196 AND "spree_option_types"."id" = 124 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 124 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.040000' WHERE "spree_products"."id" = 196 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 196, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.042000' WHERE "spree_products"."id" = 196  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (567, 170) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("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" != 196) 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-18 09:26:53.052000', 'print_type', 0, 'Print type', '2012-09-18 09:26:53.052000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 125 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" = 196) ORDER BY position 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-18 09:26:53.071000', 125, 2, 196, '2012-09-18 09:26:53.071000') 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" = 125 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 125) ORDER 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-18 09:26:53.093000', 'black_white', 125, 1, NULL, '2012-09-18 09:26:53.093000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.100000' WHERE "spree_products"."id" = 196 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 196, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.102000' WHERE "spree_products"."id" = 196  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (568, 171) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("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" != 196) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 196 AND "spree_option_types"."id" = 125 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 125 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 125) ORDER 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-18 09:26:53.115000', 'colour', 125, 2, NULL, '2012-09-18 09:26:53.115000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.120000' WHERE "spree_products"."id" = 196 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 196, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.123000' WHERE "spree_products"."id" = 196  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (569, 172) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 196 AND ("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" != 196) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 565 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 568 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 569 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" != 196) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.160000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 565 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.161000' WHERE "spree_products"."id" = 196 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.164000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 566 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.165000' WHERE "spree_products"."id" = 196 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.167000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 567 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.168000' WHERE "spree_products"."id" = 196 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.170000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 568 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.172000' WHERE "spree_products"."id" = 196 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 196 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.175000' WHERE "spree_products"."id" = 196  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 569 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.179000' WHERE "spree_products"."id" = 196 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 196) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:26:53.183000' WHERE "spree_products"."id" = 196 Row 3 succesfully SAVED : ID 196 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 194 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 196 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 196 SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (19.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (20.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:53.682000', 'Paintings', '2012-09-18 09:26:53.682000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 264 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-18 09:26:53.696000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 264, '2012-09-18 09:26:53.696000')  (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-18 09:26:53.711000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 264, '2012-09-18 09:26:53.711000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:26:53.745000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:53.745000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.771000' WHERE "spree_products"."id" = 197 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, 197, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.776000' WHERE "spree_products"."id" = 197  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 570 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.782000' WHERE "spree_products"."id" = 197  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 197  (1.0ms) 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.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-18 09:26:53.797000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:26:53.797000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:53.799000', NULL, 145, '2012-09-18 09:26:53.799000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 197, "updated_at" = '2012-09-18 09:26:53.803000' WHERE "spree_product_properties"."id" = 166 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 197) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 264 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 197 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 480) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:53.815000', 'WaterColour', '2012-09-18 09:26:53.815000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 265 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:53.854000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 265, '2012-09-18 09:26:53.854000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (197, 482) 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" != 197) 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" != 197) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:53.878000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:53.878000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 126 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" = 197) ORDER BY position 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-18 09:26:53.895000', 126, 1, 197, '2012-09-18 09:26:53.895000') 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" = 126 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 126) ORDER 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-18 09:26:53.925000', 'jpeg', 126, 1, NULL, '2012-09-18 09:26:53.925000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.933000' WHERE "spree_products"."id" = 197 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 197, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.936000' WHERE "spree_products"."id" = 197  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (571, 173) 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" = 126 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 126) ORDER 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-18 09:26:53.941000', 'PDF', 126, 2, NULL, '2012-09-18 09:26:53.941000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.946000' WHERE "spree_products"."id" = 197 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 197, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.949000' WHERE "spree_products"."id" = 197  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (572, 174) 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" = 126 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 126) 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-18 09:26:53.954000', 'PNG', 126, 3, NULL, '2012-09-18 09:26:53.954000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.967000' WHERE "spree_products"."id" = 197 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 197, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.970000' WHERE "spree_products"."id" = 197  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (573, 175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("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" != 197) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 573 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" != 197) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:53.997000' WHERE "spree_products"."id" = 197  (3.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 571 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.017000' WHERE "spree_products"."id" = 197 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.021000' WHERE "spree_products"."id" = 197  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 572 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.023000' WHERE "spree_products"."id" = 197 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 197 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.025000' WHERE "spree_products"."id" = 197  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 573 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.030000' WHERE "spree_products"."id" = 197 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 197) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:26:54.036000' WHERE "spree_products"."id" = 197 Row 1 succesfully SAVED : ID 197 Current value to assign : DEMO_002 Current value to 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-18 09:26:54.057000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:54.057000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.061000' WHERE "spree_products"."id" = 198 SQL (0.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, 198, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.063000' WHERE "spree_products"."id" = 198  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 574 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.066000' WHERE "spree_products"."id" = 198  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 198  (0.0ms) 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.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-18 09:26:54.073000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:54.073000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:54.081000', NULL, 146, '2012-09-18 09:26:54.081000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 198, "updated_at" = '2012-09-18 09:26:54.085000' WHERE "spree_product_properties"."id" = 167 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" != 198) 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" = 264 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" = 198 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (198, 480) 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-18 09:26:54.094000', 'Oils', '2012-09-18 09:26:54.094000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 266 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:54.102000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 266, '2012-09-18 09:26:54.102000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (198, 483) 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" = 264 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" = 480 AND "spree_taxons"."taxonomy_id" = 264 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" = 480 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:54.121000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 480, 'paintings/nature', 0, 10, 264, '2012-09-18 09:26:54.121000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 480 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 484 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 484 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 480 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 484 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 484 AND "spree_taxons"."taxonomy_id" = 264 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 484 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-18 09:26:54.151000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 484, 'paintings/nature/seascape', 0, 12, 264, '2012-09-18 09:26:54.151000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 484 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 485 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 485 THEN 484 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 484 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 485 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (198, 484)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (198, 485) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 198) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 198 AND "spree_option_types"."id" = 126 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" = 198) ORDER BY position 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-18 09:26:54.171000', 126, 1, 198, '2012-09-18 09:26:54.171000') 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" = 126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.178000' WHERE "spree_products"."id" = 198 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 198, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.180000' WHERE "spree_products"."id" = 198  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (575, 173) 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" = 126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.191000' WHERE "spree_products"."id" = 198 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 198, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.193000' WHERE "spree_products"."id" = 198  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (576, 174) 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" = 126 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.198000' WHERE "spree_products"."id" = 198 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 198, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.201000' WHERE "spree_products"."id" = 198  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (577, 175) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("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" != 198) 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" != 198) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 575 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 577 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" != 198) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.239000' WHERE "spree_products"."id" = 198  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 575 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.258000' WHERE "spree_products"."id" = 198 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.260000' WHERE "spree_products"."id" = 198  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 576 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.262000' WHERE "spree_products"."id" = 198 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 198 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.264000' WHERE "spree_products"."id" = 198  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 577 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.265000' WHERE "spree_products"."id" = 198 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 198) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:26:54.269000' WHERE "spree_products"."id" = 198 Row 2 succesfully SAVED : ID 198 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:54.290000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:54.290000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.299000' WHERE "spree_products"."id" = 199 SQL (0.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, 199, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.301000' WHERE "spree_products"."id" = 199  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 578 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.304000' WHERE "spree_products"."id" = 199  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 199  (0.0ms) 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.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-18 09:26:54.315000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:26:54.315000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:54.318000', NULL, 147, '2012-09-18 09:26:54.318000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 199, "updated_at" = '2012-09-18 09:26:54.322000' WHERE "spree_product_properties"."id" = 168 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-18 09:26:54.345000', NULL, 146, '2012-09-18 09:26:54.345000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 199, "updated_at" = '2012-09-18 09:26:54.347000' WHERE "spree_product_properties"."id" = 169 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:54.355000', 'yet_another_property', 'Yet another property', '2012-09-18 09:26:54.355000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:54.359000', NULL, 148, '2012-09-18 09:26:54.359000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 199, "updated_at" = '2012-09-18 09:26:54.362000' WHERE "spree_product_properties"."id" = 170 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" != 199) 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-18 09:26:54.375000', 'Drawings', '2012-09-18 09:26:54.375000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 267 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-18 09:26:54.380000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 267, '2012-09-18 09:26:54.380000') 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" = 199 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (199, 486) 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" = 264 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" = 480 AND "spree_taxons"."taxonomy_id" = 264 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" = 480 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:54.404000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 480, 'paintings/landscape', 0, 16, 264, '2012-09-18 09:26:54.404000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 480 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 487 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 487 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" = 480 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 487 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (199, 487)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (199, 480) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 199) 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" != 199) 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" = 199 AND "spree_option_types"."id" = 126 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" = 199) 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-18 09:26:54.431000', 126, 1, 199, '2012-09-18 09:26:54.431000') 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" = 126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.438000' WHERE "spree_products"."id" = 199 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 199, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.444000' WHERE "spree_products"."id" = 199  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (579, 173) 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" = 126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.450000' WHERE "spree_products"."id" = 199 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, 199, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.453000' WHERE "spree_products"."id" = 199  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (580, 174) 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" = 126 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.457000' WHERE "spree_products"."id" = 199 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 199, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.462000' WHERE "spree_products"."id" = 199  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (581, 175) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 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-18 09:26:54.468000', 'print_type', 0, 'Print type', '2012-09-18 09:26:54.468000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 127 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" = 199) 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-18 09:26:54.517000', 127, 2, 199, '2012-09-18 09:26:54.517000') 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" = 127 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 127) ORDER 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-18 09:26:54.522000', 'black_white', 127, 1, NULL, '2012-09-18 09:26:54.522000')  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.536000' WHERE "spree_products"."id" = 199 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 199, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.538000' WHERE "spree_products"."id" = 199  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (582, 176) 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" = 127 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 127) ORDER 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-18 09:26:54.542000', 'colour', 127, 2, NULL, '2012-09-18 09:26:54.542000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.546000' WHERE "spree_products"."id" = 199 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 199, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.548000' WHERE "spree_products"."id" = 199  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (583, 177) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("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" != 199) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 579 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" = 580 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" = 581 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" = 582 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 583 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" != 199) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.590000' WHERE "spree_products"."id" = 199  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 579 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.592000' WHERE "spree_products"."id" = 199 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.594000' WHERE "spree_products"."id" = 199  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 580 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.596000' WHERE "spree_products"."id" = 199 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.601000' WHERE "spree_products"."id" = 199  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 581 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.603000' WHERE "spree_products"."id" = 199 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.605000' WHERE "spree_products"."id" = 199  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 582 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.607000' WHERE "spree_products"."id" = 199 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 199 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.611000' WHERE "spree_products"."id" = 199  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 583 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.613000' WHERE "spree_products"."id" = 199 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" != 199) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:26:54.625000' WHERE "spree_products"."id" = 199 Row 3 succesfully SAVED : ID 199 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 197 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 198 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 199 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 197 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 571 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 572 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 126 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 573 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:54.819000', 'Paintings', '2012-09-18 09:26:54.819000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:54.827000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 268, '2012-09-18 09:26:54.827000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:54.836000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 268, '2012-09-18 09:26:54.836000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:26:54.866000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:54.866000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.870000' WHERE "spree_products"."id" = 200 SQL (0.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, 200, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.873000' WHERE "spree_products"."id" = 200  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 584 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:54.897000' WHERE "spree_products"."id" = 200  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 200  (0.0ms) 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.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-18 09:26:54.905000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:26:54.905000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:54.909000', NULL, 149, '2012-09-18 09:26:54.909000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 200, "updated_at" = '2012-09-18 09:26:54.911000' WHERE "spree_product_properties"."id" = 171 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" != 200) 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" != 200) 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" != 200) 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" = 268 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 200 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (200, 488) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 200) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:54.925000', 'WaterColour', '2012-09-18 09:26:54.925000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 269 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-18 09:26:54.956000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 269, '2012-09-18 09:26:54.956000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (200, 490) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 200) 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" != 200) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:54.997000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:54.997000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 128 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" = 200) ORDER BY position 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-18 09:26:55.009000', 128, 1, 200, '2012-09-18 09:26:55.009000') 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" = 128 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 128) ORDER 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-18 09:26:55.019000', 'jpeg', 128, 1, NULL, '2012-09-18 09:26:55.019000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.081000' WHERE "spree_products"."id" = 200 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 200, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.083000' WHERE "spree_products"."id" = 200  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (585, 178) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("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" != 200) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 200 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 128 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 128) 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-18 09:26:55.105000', 'PDF', 128, 2, NULL, '2012-09-18 09:26:55.105000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.111000' WHERE "spree_products"."id" = 200 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 200, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.113000' WHERE "spree_products"."id" = 200  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (586, 179) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("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" != 200) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 200 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 128 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 128) ORDER 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-18 09:26:55.124000', 'PNG', 128, 3, NULL, '2012-09-18 09:26:55.124000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.128000' WHERE "spree_products"."id" = 200 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 200, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.131000' WHERE "spree_products"."id" = 200  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (587, 180) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("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" != 200) 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" != 200) 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" != 200) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 587 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" != 200) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.167000' WHERE "spree_products"."id" = 200  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 585 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.169000' WHERE "spree_products"."id" = 200 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.171000' WHERE "spree_products"."id" = 200  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 586 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.173000' WHERE "spree_products"."id" = 200 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 200 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.175000' WHERE "spree_products"."id" = 200  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 587 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.176000' WHERE "spree_products"."id" = 200 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 200) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:26:55.181000' WHERE "spree_products"."id" = 200 Row 1 succesfully SAVED : ID 200 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:55.192000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:55.192000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.195000' WHERE "spree_products"."id" = 201 SQL (0.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, 201, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.198000' WHERE "spree_products"."id" = 201  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 588 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.201000' WHERE "spree_products"."id" = 201  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 201  (0.0ms) 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::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-18 09:26:55.210000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:55.210000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:55.214000', NULL, 150, '2012-09-18 09:26:55.214000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 201, "updated_at" = '2012-09-18 09:26:55.216000' WHERE "spree_product_properties"."id" = 172 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" != 201) 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" != 201) 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" != 201) 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" = 268 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" = 201 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (201, 488) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 201) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:55.234000', 'Oils', '2012-09-18 09:26:55.234000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 270 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-18 09:26:55.238000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 270, '2012-09-18 09:26:55.238000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (201, 491) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 201) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 268 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" = 488 AND "spree_taxons"."taxonomy_id" = 268 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" = 488 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-18 09:26:55.250000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 488, 'paintings/nature', 0, 10, 268, '2012-09-18 09:26:55.250000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 488 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 492 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 492 THEN 488 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 488 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 492 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 492 AND "spree_taxons"."taxonomy_id" = 268 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" = 492 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:55.278000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 492, 'paintings/nature/seascape', 0, 12, 268, '2012-09-18 09:26:55.278000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 492 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 493 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 492 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 493 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (201, 492)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (201, 493) 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" != 201) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 201 AND "spree_option_types"."id" = 128 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" = 201) 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-18 09:26:55.297000', 128, 1, 201, '2012-09-18 09:26:55.297000') 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" = 128 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.304000' WHERE "spree_products"."id" = 201 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 201, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.307000' WHERE "spree_products"."id" = 201  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (589, 178) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("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" != 201) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 201 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 128 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.318000' WHERE "spree_products"."id" = 201 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 201, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.321000' WHERE "spree_products"."id" = 201  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (590, 179) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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" != 201) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 201 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 128 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.332000' WHERE "spree_products"."id" = 201 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 201, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.334000' WHERE "spree_products"."id" = 201  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (591, 180) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("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" != 201) 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" != 201) 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" != 201) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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" = 201 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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" = 589 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 591 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" != 201) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.366000' WHERE "spree_products"."id" = 201  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 589 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.369000' WHERE "spree_products"."id" = 201 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.371000' WHERE "spree_products"."id" = 201  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 590 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.373000' WHERE "spree_products"."id" = 201 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 201 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.374000' WHERE "spree_products"."id" = 201  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 591 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.376000' WHERE "spree_products"."id" = 201 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 201) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 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-18 09:26:55.383000' WHERE "spree_products"."id" = 201 Row 2 succesfully SAVED : ID 201 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:55.393000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:55.393000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.397000' WHERE "spree_products"."id" = 202 SQL (0.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, 202, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.402000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 592 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.404000' WHERE "spree_products"."id" = 202  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 202  (0.0ms) 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::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-18 09:26:55.411000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:26:55.411000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:55.418000', NULL, 151, '2012-09-18 09:26:55.418000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 202, "updated_at" = '2012-09-18 09:26:55.420000' WHERE "spree_product_properties"."id" = 173 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" != 202) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:55.424000', NULL, 150, '2012-09-18 09:26:55.424000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 202, "updated_at" = '2012-09-18 09:26:55.426000' WHERE "spree_product_properties"."id" = 174 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" != 202) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:55.430000', 'yet_another_property', 'Yet another property', '2012-09-18 09:26:55.430000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:55.432000', NULL, 152, '2012-09-18 09:26:55.432000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 202, "updated_at" = '2012-09-18 09:26:55.437000' WHERE "spree_product_properties"."id" = 175 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" != 202) 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-18 09:26:55.442000', 'Drawings', '2012-09-18 09:26:55.442000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 271 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-18 09:26:55.446000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 271, '2012-09-18 09:26:55.446000') 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" = 202 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (202, 494) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 202) 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" = 268 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" = 488 AND "spree_taxons"."taxonomy_id" = 268 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" = 488 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-18 09:26:55.457000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 488, 'paintings/landscape', 0, 16, 268, '2012-09-18 09:26:55.457000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 488 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 495 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 495 THEN 488 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 488 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 495 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (202, 495)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (202, 488) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 202) 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" != 202) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 202 AND "spree_option_types"."id" = 128 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" = 202) ORDER BY position 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-18 09:26:55.481000', 128, 1, 202, '2012-09-18 09:26:55.481000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 128 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.487000' WHERE "spree_products"."id" = 202 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 202, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.489000' WHERE "spree_products"."id" = 202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (593, 178) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("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" != 202) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 202 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 128 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.506000' WHERE "spree_products"."id" = 202 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 202, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.509000' WHERE "spree_products"."id" = 202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (594, 179) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("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" != 202) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 202 AND "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 128 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.522000' WHERE "spree_products"."id" = 202 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 202, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.524000' WHERE "spree_products"."id" = 202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (595, 180) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("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" != 202) 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-18 09:26:55.533000', 'print_type', 0, 'Print type', '2012-09-18 09:26:55.533000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 129 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" = 202) ORDER BY position 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-18 09:26:55.554000', 129, 2, 202, '2012-09-18 09:26:55.554000') 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" = 129 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 129) 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-18 09:26:55.580000', 'black_white', 129, 1, NULL, '2012-09-18 09:26:55.580000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.587000' WHERE "spree_products"."id" = 202 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 202, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.590000' WHERE "spree_products"."id" = 202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (596, 181) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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" != 202) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 202 AND "spree_option_types"."id" = 129 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 129 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 129) 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-18 09:26:55.608000', 'colour', 129, 2, NULL, '2012-09-18 09:26:55.608000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.623000' WHERE "spree_products"."id" = 202 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 202, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.626000' WHERE "spree_products"."id" = 202  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (597, 182) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("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" != 202) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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" = 202 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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" = 593 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 596 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 597 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" != 202) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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" = 202 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.671000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 593 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.673000' WHERE "spree_products"."id" = 202 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.675000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 594 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.676000' WHERE "spree_products"."id" = 202 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.681000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 595 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.682000' WHERE "spree_products"."id" = 202 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.684000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 596 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.686000' WHERE "spree_products"."id" = 202 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 202 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.688000' WHERE "spree_products"."id" = 202  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 597 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.690000' WHERE "spree_products"."id" = 202 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 202) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 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-18 09:26:55.694000' WHERE "spree_products"."id" = 202 Row 3 succesfully SAVED : ID 202 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 (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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 200 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 201 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 202 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 200 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 585 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 586 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 128 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 587 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (21.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:55.899000', 'Paintings', '2012-09-18 09:26:55.899000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 272 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-18 09:26:55.906000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 272, '2012-09-18 09:26:55.906000')  (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-18 09:26:55.916000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 272, '2012-09-18 09:26:55.916000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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-18 09:26:55.962000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:55.962000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.966000' WHERE "spree_products"."id" = 203 SQL (0.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, 203, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.969000' WHERE "spree_products"."id" = 203  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 598 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:55.974000' WHERE "spree_products"."id" = 203  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 203  (0.0ms) 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::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-18 09:26:56.002000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:26:56.002000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:56.006000', NULL, 153, '2012-09-18 09:26:56.006000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 203, "updated_at" = '2012-09-18 09:26:56.009000' WHERE "spree_product_properties"."id" = 176 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 203) 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" = 272 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 203 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (203, 496) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 203) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:56.028000', 'WaterColour', '2012-09-18 09:26:56.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 273 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-18 09:26:56.034000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 273, '2012-09-18 09:26:56.034000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (203, 498) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 203) LIMIT 1 Spree::OptionType Load (0.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-18 09:26:56.046000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:56.046000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 130 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" = 203) ORDER BY position 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-18 09:26:56.056000', 130, 1, 203, '2012-09-18 09:26:56.056000') 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" = 130 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 130) ORDER 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-18 09:26:56.061000', 'jpeg', 130, 1, NULL, '2012-09-18 09:26:56.061000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.065000' WHERE "spree_products"."id" = 203 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 203, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.068000' WHERE "spree_products"."id" = 203  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (599, 183) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("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" != 203) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 203 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 130 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 130) 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-18 09:26:56.095000', 'PDF', 130, 2, NULL, '2012-09-18 09:26:56.095000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.101000' WHERE "spree_products"."id" = 203 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 203, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.103000' WHERE "spree_products"."id" = 203  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (600, 184) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("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" != 203) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 203 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 130 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 130) ORDER 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-18 09:26:56.120000', 'PNG', 130, 3, NULL, '2012-09-18 09:26:56.120000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.125000' WHERE "spree_products"."id" = 203 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 203, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.127000' WHERE "spree_products"."id" = 203  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (601, 185) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("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" != 203) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 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" = 203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 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" = 599 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 601 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" != 203) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.161000' WHERE "spree_products"."id" = 203  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 599 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.163000' WHERE "spree_products"."id" = 203 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.165000' WHERE "spree_products"."id" = 203  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 600 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.166000' WHERE "spree_products"."id" = 203 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 203 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.168000' WHERE "spree_products"."id" = 203  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 601 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.170000' WHERE "spree_products"."id" = 203 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 203) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 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-18 09:26:56.174000' WHERE "spree_products"."id" = 203 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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-18 09:26:56.182000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:56.182000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.186000' WHERE "spree_products"."id" = 204 SQL (0.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, 204, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.188000' WHERE "spree_products"."id" = 204  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 602 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.190000' WHERE "spree_products"."id" = 204  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 204  (0.0ms) 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::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-18 09:26:56.204000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:56.204000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:56.207000', NULL, 154, '2012-09-18 09:26:56.207000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 204, "updated_at" = '2012-09-18 09:26:56.210000' WHERE "spree_product_properties"."id" = 177 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 204) 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" = 272 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" = 204 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (204, 496) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 204) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:56.228000', 'Oils', '2012-09-18 09:26:56.228000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 274 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-18 09:26:56.232000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 274, '2012-09-18 09:26:56.232000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (204, 499) 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" != 204) 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" = 272 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" = 496 AND "spree_taxons"."taxonomy_id" = 272 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" = 496 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-18 09:26:56.243000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 496, 'paintings/nature', 0, 10, 272, '2012-09-18 09:26:56.243000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 496 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 500 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 500 THEN 496 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 496 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 500 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 500 AND "spree_taxons"."taxonomy_id" = 272 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" = 500 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:26:56.255000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 500, 'paintings/nature/seascape', 0, 12, 272, '2012-09-18 09:26:56.255000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 500 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 501 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 501 THEN 500 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 500 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 501 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (204, 500)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (204, 501) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 204) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 204 AND "spree_option_types"."id" = 130 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" = 204) ORDER BY position 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-18 09:26:56.274000', 130, 1, 204, '2012-09-18 09:26:56.274000') 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" = 130 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.279000' WHERE "spree_products"."id" = 204 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, 204, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.281000' WHERE "spree_products"."id" = 204  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (603, 183) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("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" != 204) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 204 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 130 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.292000' WHERE "spree_products"."id" = 204 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 204, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.294000' WHERE "spree_products"."id" = 204  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (604, 184) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("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" != 204) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 204 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 130 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.313000' WHERE "spree_products"."id" = 204 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 204, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.316000' WHERE "spree_products"."id" = 204  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (605, 185) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("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" != 204) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 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" = 204 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" = 204 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" = 603 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 605 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" != 204) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.349000' WHERE "spree_products"."id" = 204  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 603 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.352000' WHERE "spree_products"."id" = 204 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.354000' WHERE "spree_products"."id" = 204  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 604 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.355000' WHERE "spree_products"."id" = 204 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 204 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.357000' WHERE "spree_products"."id" = 204  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 605 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.359000' WHERE "spree_products"."id" = 204 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 204) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 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-18 09:26:56.365000' WHERE "spree_products"."id" = 204 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:56.375000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:56.375000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.379000' WHERE "spree_products"."id" = 205 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, 205, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.389000' WHERE "spree_products"."id" = 205  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 606 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.396000' WHERE "spree_products"."id" = 205  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 205  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:56.412000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:26:56.412000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:56.416000', NULL, 155, '2012-09-18 09:26:56.416000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 205, "updated_at" = '2012-09-18 09:26:56.421000' WHERE "spree_product_properties"."id" = 178 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" != 205) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:56.429000', NULL, 154, '2012-09-18 09:26:56.429000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 205, "updated_at" = '2012-09-18 09:26:56.431000' WHERE "spree_product_properties"."id" = 179 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" != 205) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:56.435000', 'yet_another_property', 'Yet another property', '2012-09-18 09:26:56.435000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:56.438000', NULL, 156, '2012-09-18 09:26:56.438000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 205, "updated_at" = '2012-09-18 09:26:56.455000' WHERE "spree_product_properties"."id" = 180 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 205) 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-18 09:26:56.460000', 'Drawings', '2012-09-18 09:26:56.460000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 275 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-18 09:26:56.468000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 275, '2012-09-18 09:26:56.468000') 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" = 205 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (205, 502) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 205) 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" = 272 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" = 496 AND "spree_taxons"."taxonomy_id" = 272 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" = 496 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-18 09:26:56.482000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 496, 'paintings/landscape', 0, 16, 272, '2012-09-18 09:26:56.482000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 496 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 503 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 503 THEN 496 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 496 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 503 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (205, 503)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (205, 496) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 205) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 205 AND "spree_option_types"."id" = 130 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" = 205) 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-18 09:26:56.535000', 130, 1, 205, '2012-09-18 09:26:56.535000') 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" = 130 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.544000' WHERE "spree_products"."id" = 205 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 205, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.546000' WHERE "spree_products"."id" = 205  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (607, 183) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("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" != 205) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 205 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 130 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.564000' WHERE "spree_products"."id" = 205 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 205, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.567000' WHERE "spree_products"."id" = 205  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (608, 184) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("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" != 205) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 205 AND "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 130 LIMIT 1  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.582000' WHERE "spree_products"."id" = 205 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 205, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.584000' WHERE "spree_products"."id" = 205  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (609, 185) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("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" != 205) 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-18 09:26:56.590000', 'print_type', 0, 'Print type', '2012-09-18 09:26:56.590000') 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" = 205 AND "spree_option_types"."id" = 131 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" = 205) ORDER BY position 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-18 09:26:56.604000', 131, 2, 205, '2012-09-18 09:26:56.604000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 131 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 131) ORDER 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-18 09:26:56.611000', 'black_white', 131, 1, NULL, '2012-09-18 09:26:56.611000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.654000' WHERE "spree_products"."id" = 205 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 205, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.656000' WHERE "spree_products"."id" = 205  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (610, 186) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("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" != 205) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 205 AND "spree_option_types"."id" = 131 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 131 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 131) ORDER 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-18 09:26:56.667000', 'colour', 131, 2, NULL, '2012-09-18 09:26:56.667000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.678000' WHERE "spree_products"."id" = 205 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 205, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.680000' WHERE "spree_products"."id" = 205  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (611, 187) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("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" != 205) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 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" = 205 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 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" = 607 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 610 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 611 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" != 205) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 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" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.704000' WHERE "spree_products"."id" = 205  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 607 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.706000' WHERE "spree_products"."id" = 205 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.708000' WHERE "spree_products"."id" = 205  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 608 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.710000' WHERE "spree_products"."id" = 205 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.712000' WHERE "spree_products"."id" = 205  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 609 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.714000' WHERE "spree_products"."id" = 205 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.715000' WHERE "spree_products"."id" = 205  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 610 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.717000' WHERE "spree_products"."id" = 205 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 205 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.718000' WHERE "spree_products"."id" = 205  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 611 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.720000' WHERE "spree_products"."id" = 205 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 205) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 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-18 09:26:56.723000' WHERE "spree_products"."id" = 205  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 204 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 205 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 203 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 203 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 599 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 600 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 130 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 601 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:26:56.802000', 'Paintings', '2012-09-18 09:26:56.802000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 276 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-18 09:26:56.807000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 276, '2012-09-18 09:26:56.807000')  (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-18 09:26:56.814000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 276, '2012-09-18 09:26:56.814000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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-18 09:26:56.837000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:56.837000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.840000' WHERE "spree_products"."id" = 206 SQL (0.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, 206, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.843000' WHERE "spree_products"."id" = 206  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 612 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.863000' WHERE "spree_products"."id" = 206  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 206  (0.0ms) 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::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-18 09:26:56.872000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:56.872000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 132 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" = 206) ORDER BY position 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-18 09:26:56.878000', 132, 1, 206, '2012-09-18 09:26:56.878000') 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-18 09:26:56.882000', 'print_type', 0, 'Print type', '2012-09-18 09:26:56.882000') 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" = 206 AND "spree_option_types"."id" = 133 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" = 206) ORDER BY position 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-18 09:26:56.891000', 133, 2, 206, '2012-09-18 09:26:56.891000') 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" = 132 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 132) ORDER 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-18 09:26:56.913000', 'jpeg', 132, 1, NULL, '2012-09-18 09:26:56.913000') 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" = 133 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 133) ORDER 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-18 09:26:56.918000', 'colour', 133, 1, NULL, '2012-09-18 09:26:56.918000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.943000' WHERE "spree_products"."id" = 206 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 206, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.946000' WHERE "spree_products"."id" = 206  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (613, 188)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (613, 189) 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" = 132 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 132) ORDER 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-18 09:26:56.953000', 'PDF', 132, 2, NULL, '2012-09-18 09:26:56.953000') 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" = 133 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.958000' WHERE "spree_products"."id" = 206 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 206, 'MV_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.961000' WHERE "spree_products"."id" = 206  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (614, 190)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (614, 189) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("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" != 206) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 206 AND "spree_option_types"."id" = 132 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 132 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 132) ORDER 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-18 09:26:56.980000', 'PNG', 132, 3, NULL, '2012-09-18 09:26:56.980000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.984000' WHERE "spree_products"."id" = 206 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 206, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:56.986000' WHERE "spree_products"."id" = 206  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (615, 191) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("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" != 206) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 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" = 206 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 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" = 613 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 615 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" != 206) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 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" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.004000' WHERE "spree_products"."id" = 206  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 613 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.005000' WHERE "spree_products"."id" = 206 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.007000' WHERE "spree_products"."id" = 206  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 614 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.009000' WHERE "spree_products"."id" = 206 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 206 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.011000' WHERE "spree_products"."id" = 206  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 615 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.013000' WHERE "spree_products"."id" = 206 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 206) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 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-18 09:26:57.021000' WHERE "spree_products"."id" = 206 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:26:57.032000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:57.032000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.035000' WHERE "spree_products"."id" = 207 SQL (0.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, 207, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.037000' WHERE "spree_products"."id" = 207  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 616 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.040000' WHERE "spree_products"."id" = 207  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 207  (0.0ms) 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.0ms) SELECT "spree_option_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" = 207 AND "spree_option_types"."id" = 132 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" = 207) ORDER BY position 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-18 09:26:57.051000', 132, 1, 207, '2012-09-18 09:26:57.051000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 207 AND "spree_option_types"."id" = 133 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" = 207) ORDER BY position 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-18 09:26:57.061000', 133, 2, 207, '2012-09-18 09:26:57.061000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 133 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 133) ORDER 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-18 09:26:57.070000', 'black_white', 133, 2, NULL, '2012-09-18 09:26:57.070000') 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" = 132 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.074000' WHERE "spree_products"."id" = 207 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 207, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.076000' WHERE "spree_products"."id" = 207  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (617, 192)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (617, 188) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("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" != 207) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 207 AND "spree_option_types"."id" = 132 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 207 AND "spree_option_types"."id" = 133 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 133 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 132 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.093000' WHERE "spree_products"."id" = 207 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 207, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.096000' WHERE "spree_products"."id" = 207  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (618, 192)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (618, 191) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("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" != 207) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 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" = 207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 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" = 617 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" = 618 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" != 207) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.112000' WHERE "spree_products"."id" = 207  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 617 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.114000' WHERE "spree_products"."id" = 207 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 207 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.116000' WHERE "spree_products"."id" = 207  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 618 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.117000' WHERE "spree_products"."id" = 207 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 207) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 207 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-18 09:26:57.121000' WHERE "spree_products"."id" = 207 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:26:57.128000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:26:57.128000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.131000' WHERE "spree_products"."id" = 208 SQL (0.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, 208, 'MV_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.135000' WHERE "spree_products"."id" = 208  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 619 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.138000' WHERE "spree_products"."id" = 208  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 208  (0.0ms) 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.0ms) SELECT "spree_option_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" = 208 AND "spree_option_types"."id" = 132 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" = 208) ORDER BY position 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-18 09:26:57.151000', 132, 1, 208, '2012-09-18 09:26:57.151000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 208 AND "spree_option_types"."id" = 133 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" = 208) ORDER BY position 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-18 09:26:57.156000', 133, 2, 208, '2012-09-18 09:26:57.156000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:26:57.158000', 'size', 0, 'Size', '2012-09-18 09:26:57.158000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 134 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" = 208) ORDER BY position 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-18 09:26:57.165000', 134, 3, 208, '2012-09-18 09:26:57.165000') 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" = 133 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 134 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 134) ORDER 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-18 09:26:57.169000', 'large', 134, 1, NULL, '2012-09-18 09:26:57.169000') 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" = 132 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.174000' WHERE "spree_products"."id" = 208 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 208, 'MV_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.176000' WHERE "spree_products"."id" = 208  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (620, 189)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (620, 193)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (620, 188) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 133 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 133) ORDER 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-18 09:26:57.199000', 'sepia', 133, 3, NULL, '2012-09-18 09:26:57.199000') Spree::OptionValue Load (3.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 134 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 132 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.208000' WHERE "spree_products"."id" = 208 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, 208, 'MV_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.210000' WHERE "spree_products"."id" = 208  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (621, 194)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (621, 193)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (621, 188) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 208 AND "spree_option_types"."id" = 132 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 132 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.224000' WHERE "spree_products"."id" = 208 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 208, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.225000' WHERE "spree_products"."id" = 208  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (622, 191) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("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" != 208) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 208 AND "spree_option_types"."id" = 132 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 132 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.239000' WHERE "spree_products"."id" = 208 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 208, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.241000' WHERE "spree_products"."id" = 208  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (623, 190) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 208 AND "spree_option_types"."id" = 133 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 133 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.252000' WHERE "spree_products"."id" = 208 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 208, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.253000' WHERE "spree_products"."id" = 208  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (624, 192) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 208 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("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" != 208) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 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" = 208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 208) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 208 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" = 208 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 206 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 206 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 613 Booted Spree using version 1.1.3 SQL (23.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:26:57.582000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:26:57.582000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.586000' WHERE "spree_products"."id" = 209 SQL (0.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, 209, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.589000' WHERE "spree_products"."id" = 209  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 625 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.595000' WHERE "spree_products"."id" = 209  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 209  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:26:57.619000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:26:57.619000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:57.621000', NULL, 157, '2012-09-18 09:26:57.621000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 209, "updated_at" = '2012-09-18 09:26:57.623000' WHERE "spree_product_properties"."id" = 181 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" != 209) 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-18 09:26:57.630000', 'Paintings', '2012-09-18 09:26:57.630000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 277 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-18 09:26:57.662000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 277, '2012-09-18 09:26:57.662000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 209 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (209, 506) 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-18 09:26:57.671000', 'WaterColour', '2012-09-18 09:26:57.671000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 278 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-18 09:26:57.675000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 278, '2012-09-18 09:26:57.675000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (209, 507) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 209) 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-18 09:26:57.685000', 'mime_type', 0, 'Mime type', '2012-09-18 09:26:57.685000') 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" = 209 AND "spree_option_types"."id" = 135 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" = 209) ORDER BY position 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-18 09:26:57.693000', 135, 1, 209, '2012-09-18 09:26:57.693000') 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" = 135 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 135) ORDER 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-18 09:26:57.698000', 'jpeg', 135, 1, NULL, '2012-09-18 09:26:57.698000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.702000' WHERE "spree_products"."id" = 209 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 209, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.704000' WHERE "spree_products"."id" = 209  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (626, 195) 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" = 135 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 135) ORDER 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-18 09:26:57.727000', 'PDF', 135, 2, NULL, '2012-09-18 09:26:57.727000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.731000' WHERE "spree_products"."id" = 209 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 209, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.734000' WHERE "spree_products"."id" = 209  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (627, 196) 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" = 135 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 135) ORDER 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-18 09:26:57.737000', 'PNG', 135, 3, NULL, '2012-09-18 09:26:57.737000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.741000' WHERE "spree_products"."id" = 209 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 209, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.743000' WHERE "spree_products"."id" = 209  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (628, 197) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 AND ("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" != 209) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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" = 209 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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" = 626 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 209) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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" = 209 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.769000' WHERE "spree_products"."id" = 209  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 626 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.770000' WHERE "spree_products"."id" = 209 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.772000' WHERE "spree_products"."id" = 209  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 627 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.774000' WHERE "spree_products"."id" = 209 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.775000' WHERE "spree_products"."id" = 209  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 628 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:57.777000' WHERE "spree_products"."id" = 209 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 209) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 209 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" = 625 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 625 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:26:57.852000', 240, 0, 'Spree::Image', 625, 'Spree::Variant') Product assigned an Image : nil 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" != 209) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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-18 09:26:58.395000' WHERE "spree_products"."id" = 209 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-18 09:26:58.409000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:26:58.409000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.438000' WHERE "spree_products"."id" = 210 SQL (0.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, 210, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.440000' WHERE "spree_products"."id" = 210  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 629 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.443000' WHERE "spree_products"."id" = 210  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 210  (0.0ms) 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::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-18 09:26:58.450000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:26:58.450000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:26:58.453000', NULL, 158, '2012-09-18 09:26:58.453000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 210, "updated_at" = '2012-09-18 09:26:58.455000' WHERE "spree_product_properties"."id" = 182 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" != 210) 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" = 277 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" = 210 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (210, 506) 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-18 09:26:58.464000', 'Landscape', '2012-09-18 09:26:58.464000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 279 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-18 09:26:58.470000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 279, '2012-09-18 09:26:58.470000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (210, 508) 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-18 09:26:58.477000', 'Oils', '2012-09-18 09:26:58.477000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 280 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-18 09:26:58.481000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 280, '2012-09-18 09:26:58.481000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (210, 509) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 210) 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" = 210 AND "spree_option_types"."id" = 135 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" = 210) ORDER BY position 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-18 09:26:58.491000', 135, 1, 210, '2012-09-18 09:26:58.491000') 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" = 135 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.496000' WHERE "spree_products"."id" = 210 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 210, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.498000' WHERE "spree_products"."id" = 210  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (630, 195) 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" = 135 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.502000' WHERE "spree_products"."id" = 210 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 210, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.505000' WHERE "spree_products"."id" = 210  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (631, 196) 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" = 135 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.511000' WHERE "spree_products"."id" = 210 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 210, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.513000' WHERE "spree_products"."id" = 210  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (632, 197) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 AND ("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" != 210) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 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" = 210 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 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" = 630 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 210) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.533000' WHERE "spree_products"."id" = 210  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 630 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.536000' WHERE "spree_products"."id" = 210 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.538000' WHERE "spree_products"."id" = 210  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 631 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.539000' WHERE "spree_products"."id" = 210 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.544000' WHERE "spree_products"."id" = 210  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 632 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:26:58.545000' WHERE "spree_products"."id" = 210 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 210) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 210 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" = 629 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 629 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:26:58.598000', 2424, 0, 'Spree::Image', 629, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 210) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 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-18 09:27:02.625000' WHERE "spree_products"."id" = 210 Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-18 09:27:02.636000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:02.636000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.639000' WHERE "spree_products"."id" = 211 SQL (0.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, 211, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.642000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 633 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.646000' WHERE "spree_products"."id" = 211  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 211  (0.0ms) 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::Property Load (2.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:02.655000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:27:02.655000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:02.657000', NULL, 159, '2012-09-18 09:27:02.657000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 211, "updated_at" = '2012-09-18 09:27:02.658000' WHERE "spree_product_properties"."id" = 183 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-18 09:27:02.661000', NULL, 158, '2012-09-18 09:27:02.661000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 211, "updated_at" = '2012-09-18 09:27:02.663000' WHERE "spree_product_properties"."id" = 184 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:02.666000', 'yet_another_property', 'Yet another property', '2012-09-18 09:27:02.666000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:02.668000', NULL, 160, '2012-09-18 09:27:02.668000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 211, "updated_at" = '2012-09-18 09:27:02.669000' WHERE "spree_product_properties"."id" = 185 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" != 211) 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-18 09:27:02.673000', 'Drawings', '2012-09-18 09:27:02.673000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 281 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-18 09:27:02.679000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 281, '2012-09-18 09:27:02.679000') 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" = 211 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (211, 510) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 211) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 211 AND "spree_option_types"."id" = 135 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" = 211) ORDER BY position 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-18 09:27:02.694000', 135, 1, 211, '2012-09-18 09:27:02.694000') 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" = 135 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.698000' WHERE "spree_products"."id" = 211 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 211, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.700000' WHERE "spree_products"."id" = 211  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (634, 195) 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" = 135 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.705000' WHERE "spree_products"."id" = 211 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 211, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.707000' WHERE "spree_products"."id" = 211  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (635, 196) 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" = 135 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.711000' WHERE "spree_products"."id" = 211 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 211, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.714000' WHERE "spree_products"."id" = 211  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (636, 197) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-18 09:27:02.719000', 'print_type', 0, 'Print type', '2012-09-18 09:27:02.719000') 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" = 211 AND "spree_option_types"."id" = 136 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" = 211) ORDER BY position 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-18 09:27:02.724000', 136, 2, 211, '2012-09-18 09:27:02.724000') 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" = 136 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 136) ORDER 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-18 09:27:02.734000', 'black_white', 136, 1, NULL, '2012-09-18 09:27:02.734000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.741000' WHERE "spree_products"."id" = 211 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 211, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.745000' WHERE "spree_products"."id" = 211  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (637, 198) 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" = 136 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 136) ORDER 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-18 09:27:02.749000', 'colour', 136, 2, NULL, '2012-09-18 09:27:02.749000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.755000' WHERE "spree_products"."id" = 211 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 211, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.757000' WHERE "spree_products"."id" = 211  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (638, 199) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("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" != 211) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 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" = 211 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 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" = 634 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 211) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.782000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 634 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.784000' WHERE "spree_products"."id" = 211 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.786000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 635 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.787000' WHERE "spree_products"."id" = 211 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.789000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 636 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.790000' WHERE "spree_products"."id" = 211 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.792000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 637 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.794000' WHERE "spree_products"."id" = 211 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.796000' WHERE "spree_products"."id" = 211  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 638 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:02.797000' WHERE "spree_products"."id" = 211 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 211) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 211 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" = 633 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 633 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:27:02.804000', 240, 0, 'Spree::Image', 633, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_003Demo third row in futuremore blah blah01/07/201250.3423.34test_pp_002|test_pp_003:Example free value|yet_another_propertyDrawingsmime_type:jpeg,PDF,PNG|print_type:black_white,colour12|4|7|12|18fixtures/images/DEMO_003_ror_mug.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 211) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 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-18 09:27:03.370000' WHERE "spree_products"."id" = 211 Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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 = 625) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 209)) Spree::Image Load (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 209 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 = 625) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 209)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 210 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 = 629) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 210)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 211 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 = 633) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 211))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (22.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:03.632000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:03.632000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.640000' WHERE "spree_products"."id" = 212 SQL (0.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, 212, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.642000' WHERE "spree_products"."id" = 212  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 639 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.647000' WHERE "spree_products"."id" = 212  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 212  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:03.658000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:27:03.658000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:03.665000', NULL, 161, '2012-09-18 09:27:03.665000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 212, "updated_at" = '2012-09-18 09:27:03.666000' WHERE "spree_product_properties"."id" = 186 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" != 212) 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-18 09:27:03.671000', 'Paintings', '2012-09-18 09:27:03.671000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 282 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-18 09:27:03.674000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 282, '2012-09-18 09:27:03.674000') 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" = 212 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (212, 511) 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-18 09:27:03.682000', 'WaterColour', '2012-09-18 09:27:03.682000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 283 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-18 09:27:03.686000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 283, '2012-09-18 09:27:03.686000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (212, 512) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 212) LIMIT 1 Spree::OptionType Load (0.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-18 09:27:03.694000', 'mime_type', 0, 'Mime type', '2012-09-18 09:27:03.694000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 137 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" = 212) ORDER BY position 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-18 09:27:03.702000', 137, 1, 212, '2012-09-18 09:27:03.702000') 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" = 137 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 137) ORDER 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-18 09:27:03.705000', 'jpeg', 137, 1, NULL, '2012-09-18 09:27:03.705000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.709000' WHERE "spree_products"."id" = 212 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 212, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.711000' WHERE "spree_products"."id" = 212  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (640, 200) 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" = 137 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 137) ORDER 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-18 09:27:03.715000', 'PDF', 137, 2, NULL, '2012-09-18 09:27:03.715000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.738000' WHERE "spree_products"."id" = 212 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 212, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.741000' WHERE "spree_products"."id" = 212  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (641, 201) 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" = 137 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 137) ORDER 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-18 09:27:03.744000', 'PNG', 137, 3, NULL, '2012-09-18 09:27:03.744000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.748000' WHERE "spree_products"."id" = 212 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 212, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.752000' WHERE "spree_products"."id" = 212  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (642, 202) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 AND ("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" != 212) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 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" = 212 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 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" = 640 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 212) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.778000' WHERE "spree_products"."id" = 212  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 640 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.780000' WHERE "spree_products"."id" = 212 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.782000' WHERE "spree_products"."id" = 212  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 641 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.783000' WHERE "spree_products"."id" = 212 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.785000' WHERE "spree_products"."id" = 212  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 642 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:03.787000' WHERE "spree_products"."id" = 212 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 212) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 212 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" = 639 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 639 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-18 09:27:03.795000', 240, 0, 'Spree::Image', 639, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 212) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 212 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-18 09:27:04.320000' WHERE "spree_products"."id" = 212 Row 1 succesfully SAVED : ID 212 Current value to assign : DEMO_002 Current value to 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-18 09:27:04.333000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:27:04.333000') Spree::Product Load (20.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.357000' WHERE "spree_products"."id" = 213 SQL (0.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, 213, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.359000' WHERE "spree_products"."id" = 213  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 643 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.364000' WHERE "spree_products"."id" = 213  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 213  (0.0ms) 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.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-18 09:27:04.373000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:27:04.373000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:04.376000', NULL, 162, '2012-09-18 09:27:04.376000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 213, "updated_at" = '2012-09-18 09:27:04.379000' WHERE "spree_product_properties"."id" = 187 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" != 213) 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" = 282 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 213 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (213, 511) 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-18 09:27:04.388000', 'Landscape', '2012-09-18 09:27:04.388000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 284 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-18 09:27:04.395000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 284, '2012-09-18 09:27:04.395000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (213, 513) 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-18 09:27:04.399000', 'Oils', '2012-09-18 09:27:04.399000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 285 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-18 09:27:04.403000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 285, '2012-09-18 09:27:04.403000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (213, 514) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 213) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 213 AND "spree_option_types"."id" = 137 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" = 213) ORDER BY position 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-18 09:27:04.413000', 137, 1, 213, '2012-09-18 09:27:04.413000') 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" = 137 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.425000' WHERE "spree_products"."id" = 213 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 213, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.431000' WHERE "spree_products"."id" = 213  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (644, 200) 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" = 137 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.436000' WHERE "spree_products"."id" = 213 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 213, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.439000' WHERE "spree_products"."id" = 213  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (645, 201) 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" = 137 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.443000' WHERE "spree_products"."id" = 213 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, 213, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.445000' WHERE "spree_products"."id" = 213  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (646, 202) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 AND ("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" != 213) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 213) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.466000' WHERE "spree_products"."id" = 213  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 644 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.468000' WHERE "spree_products"."id" = 213 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.470000' WHERE "spree_products"."id" = 213  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 645 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.471000' WHERE "spree_products"."id" = 213 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.473000' WHERE "spree_products"."id" = 213  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 646 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:04.475000' WHERE "spree_products"."id" = 213 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 213) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 213 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" = 643 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 643 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-18 09:27:04.528000', 2424, 0, 'Spree::Image', 643, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 213) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:27:08.423000' WHERE "spree_products"."id" = 213 Row 2 succesfully SAVED : ID 213 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:08.436000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:08.436000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.441000' WHERE "spree_products"."id" = 214 SQL (0.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, 214, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.446000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 647 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.449000' WHERE "spree_products"."id" = 214  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 214  (0.0ms) 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.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-18 09:27:08.456000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:27:08.456000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:08.459000', NULL, 163, '2012-09-18 09:27:08.459000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 214, "updated_at" = '2012-09-18 09:27:08.461000' WHERE "spree_product_properties"."id" = 188 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-18 09:27:08.465000', NULL, 162, '2012-09-18 09:27:08.465000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 214, "updated_at" = '2012-09-18 09:27:08.467000' WHERE "spree_product_properties"."id" = 189 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:08.469000', 'yet_another_property', 'Yet another property', '2012-09-18 09:27:08.469000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:08.472000', NULL, 164, '2012-09-18 09:27:08.472000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 214, "updated_at" = '2012-09-18 09:27:08.475000' WHERE "spree_product_properties"."id" = 190 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" != 214) 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-18 09:27:08.484000', 'Drawings', '2012-09-18 09:27:08.484000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 286 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-18 09:27:08.490000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 286, '2012-09-18 09:27:08.490000') 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" = 214 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (214, 515) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 214) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 214 AND "spree_option_types"."id" = 137 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" = 214) ORDER BY position 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-18 09:27:08.540000', 137, 1, 214, '2012-09-18 09:27:08.540000') 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" = 137 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.551000' WHERE "spree_products"."id" = 214 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 214, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.554000' WHERE "spree_products"."id" = 214  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (648, 200) 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" = 137 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.558000' WHERE "spree_products"."id" = 214 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 214, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.560000' WHERE "spree_products"."id" = 214  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (649, 201) 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" = 137 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.565000' WHERE "spree_products"."id" = 214 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 214, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.568000' WHERE "spree_products"."id" = 214  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (650, 202) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 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-18 09:27:08.572000', 'print_type', 0, 'Print type', '2012-09-18 09:27:08.572000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 138 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" = 214) ORDER BY position 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-18 09:27:08.587000', 138, 2, 214, '2012-09-18 09:27:08.587000') 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" = 138 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 138) 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-18 09:27:08.594000', 'black_white', 138, 1, NULL, '2012-09-18 09:27:08.594000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.600000' WHERE "spree_products"."id" = 214 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 214, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.602000' WHERE "spree_products"."id" = 214  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (651, 203) 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" = 138 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 138) ORDER 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-18 09:27:08.605000', 'colour', 138, 2, NULL, '2012-09-18 09:27:08.605000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.610000' WHERE "spree_products"."id" = 214 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 214, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.612000' WHERE "spree_products"."id" = 214  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (652, 204) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 AND ("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" != 214) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 214) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.656000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 648 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.658000' WHERE "spree_products"."id" = 214 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.660000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 649 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.662000' WHERE "spree_products"."id" = 214 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.664000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 650 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.666000' WHERE "spree_products"."id" = 214 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.669000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 651 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.671000' WHERE "spree_products"."id" = 214 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.673000' WHERE "spree_products"."id" = 214  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 652 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:08.675000' WHERE "spree_products"."id" = 214 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 214) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 214 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" = 647 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 647 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-18 09:27:08.689000', 240, 0, 'Spree::Image', 647, 'Spree::Variant') Product assigned an Image : nil 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" != 214) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:27:09.234000' WHERE "spree_products"."id" = 214 Row 3 succesfully SAVED : ID 214 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  (23.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" = 212 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 = 639) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 212)) 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" = 212 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 = 639) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 212)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 213 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 = 643) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 213)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 214 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 = 647) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 214))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (21.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:09.487000', 'Paintings', '2012-09-18 09:27:09.487000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 287 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-18 09:27:09.498000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 287, '2012-09-18 09:27:09.498000')  (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-18 09:27:09.506000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 287, '2012-09-18 09:27:09.506000')  (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-18 09:27:09.512000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 287, '2012-09-18 09:27:09.512000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:09.578000', 'Paintings', '2012-09-18 09:27:09.578000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 288 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-18 09:27:09.582000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 288, '2012-09-18 09:27:09.582000')  (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-18 09:27:09.589000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 288, '2012-09-18 09:27:09.589000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:09.595000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 288, '2012-09-18 09:27:09.595000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 288 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 288 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 288 LIMIT 1 Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:09.726000', 'Paintings', '2012-09-18 09:27:09.726000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 289 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-18 09:27:09.733000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 289, '2012-09-18 09:27:09.733000')  (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-18 09:27:09.740000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 289, '2012-09-18 09:27:09.740000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 522, "updated_at" = '2012-09-18 09:27:09.752000' WHERE "spree_taxons"."id" = 523 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 522 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 523 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 523 THEN 522 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 522 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 523 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 522 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:09.785000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:09.785000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.789000' WHERE "spree_products"."id" = 215 SQL (0.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, 215, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.811000' WHERE "spree_products"."id" = 215  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 653 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.818000' WHERE "spree_products"."id" = 215  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 215  (0.0ms) 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.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-18 09:27:09.828000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:27:09.828000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:09.833000', NULL, 165, '2012-09-18 09:27:09.833000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 215, "updated_at" = '2012-09-18 09:27:09.837000' WHERE "spree_product_properties"."id" = 191 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" != 215) 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" = 289 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" = 215 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (215, 522) 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-18 09:27:09.852000', 'WaterColour', '2012-09-18 09:27:09.852000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 290 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-18 09:27:09.856000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 290, '2012-09-18 09:27:09.856000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (215, 524) 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" != 215) 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" != 215) LIMIT 1 Spree::OptionType Load (0.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-18 09:27:09.868000', 'mime_type', 0, 'Mime type', '2012-09-18 09:27:09.868000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 139 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" = 215) ORDER BY position 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-18 09:27:09.877000', 139, 1, 215, '2012-09-18 09:27:09.877000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 139 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 139) ORDER 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-18 09:27:09.884000', 'jpeg', 139, 1, NULL, '2012-09-18 09:27:09.884000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.887000' WHERE "spree_products"."id" = 215 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 215, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.890000' WHERE "spree_products"."id" = 215  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (654, 205) 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" = 139 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 139) ORDER 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-18 09:27:09.913000', 'PDF', 139, 2, NULL, '2012-09-18 09:27:09.913000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.919000' WHERE "spree_products"."id" = 215 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 215, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.922000' WHERE "spree_products"."id" = 215  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (655, 206) 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" = 139 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 139) ORDER 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-18 09:27:09.927000', 'PNG', 139, 3, NULL, '2012-09-18 09:27:09.927000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.932000' WHERE "spree_products"."id" = 215 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 215, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.957000' WHERE "spree_products"."id" = 215  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (656, 207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 215 AND ("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" != 215) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 215) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.980000' WHERE "spree_products"."id" = 215  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 654 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.981000' WHERE "spree_products"."id" = 215 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.983000' WHERE "spree_products"."id" = 215  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 655 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.985000' WHERE "spree_products"."id" = 215 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.987000' WHERE "spree_products"."id" = 215  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 656 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:09.990000' WHERE "spree_products"."id" = 215 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 215) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:27:09.994000' WHERE "spree_products"."id" = 215 Row 1 succesfully SAVED : ID 215 Current value to assign : DEMO_002 Current value to 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-18 09:27:10.003000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:27:10.003000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.007000' WHERE "spree_products"."id" = 216 SQL (0.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, 216, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.009000' WHERE "spree_products"."id" = 216  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 657 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.012000' WHERE "spree_products"."id" = 216  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 216  (0.0ms) 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.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-18 09:27:10.023000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:27:10.023000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.026000', NULL, 166, '2012-09-18 09:27:10.026000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 216, "updated_at" = '2012-09-18 09:27:10.028000' WHERE "spree_product_properties"."id" = 192 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" != 216) 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" = 289 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" = 216 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (216, 522) 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-18 09:27:10.040000', 'Oils', '2012-09-18 09:27:10.040000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 291 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-18 09:27:10.044000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 291, '2012-09-18 09:27:10.044000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (216, 525) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 289 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" = 522 AND "spree_taxons"."taxonomy_id" = 289 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" = 522 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-18 09:27:10.053000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 522, 'paintings/nature', 0, 10, 289, '2012-09-18 09:27:10.053000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 522 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 526 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 526 THEN 522 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 522 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 526 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 526 AND "spree_taxons"."taxonomy_id" = 289 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" = 526 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-18 09:27:10.069000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 526, 'paintings/nature/seascape', 0, 12, 289, '2012-09-18 09:27:10.069000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 526 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 527 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 527 THEN 526 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 526 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 527 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (216, 526)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (216, 527) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 216) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 216 AND "spree_option_types"."id" = 139 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" = 216) ORDER BY position 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-18 09:27:10.086000', 139, 1, 216, '2012-09-18 09:27:10.086000') 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" = 139 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.092000' WHERE "spree_products"."id" = 216 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 216, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.093000' WHERE "spree_products"."id" = 216  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (658, 205) 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" = 139 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.098000' WHERE "spree_products"."id" = 216 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, 216, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.100000' WHERE "spree_products"."id" = 216  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (659, 206) 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" = 139 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.104000' WHERE "spree_products"."id" = 216 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 216, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.106000' WHERE "spree_products"."id" = 216  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (660, 207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 216 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" != 216) 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" != 216) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 216) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.151000' WHERE "spree_products"."id" = 216  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 658 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.152000' WHERE "spree_products"."id" = 216 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.156000' WHERE "spree_products"."id" = 216  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 659 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.158000' WHERE "spree_products"."id" = 216 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.160000' WHERE "spree_products"."id" = 216  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 660 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.161000' WHERE "spree_products"."id" = 216 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 216) LIMIT 1  (1.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:27:10.165000' WHERE "spree_products"."id" = 216 Row 2 succesfully SAVED : ID 216 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:10.176000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:10.176000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.179000' WHERE "spree_products"."id" = 217 SQL (0.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, 217, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.181000' WHERE "spree_products"."id" = 217  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 661 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.183000' WHERE "spree_products"."id" = 217  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 217  (0.0ms) 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.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-18 09:27:10.191000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:27:10.191000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.194000', NULL, 167, '2012-09-18 09:27:10.194000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 217, "updated_at" = '2012-09-18 09:27:10.195000' WHERE "spree_product_properties"."id" = 193 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-18 09:27:10.199000', NULL, 166, '2012-09-18 09:27:10.199000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 217, "updated_at" = '2012-09-18 09:27:10.201000' WHERE "spree_product_properties"."id" = 194 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:10.204000', 'yet_another_property', 'Yet another property', '2012-09-18 09:27:10.204000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.206000', NULL, 168, '2012-09-18 09:27:10.206000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 217, "updated_at" = '2012-09-18 09:27:10.208000' WHERE "spree_product_properties"."id" = 195 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" != 217) 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-18 09:27:10.212000', 'Drawings', '2012-09-18 09:27:10.212000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 292 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-18 09:27:10.217000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 292, '2012-09-18 09:27:10.217000') 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" = 217 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (217, 528) 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" = 289 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" = 522 AND "spree_taxons"."taxonomy_id" = 289 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (217, 523)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (217, 522) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 217) 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" != 217) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 217 AND "spree_option_types"."id" = 139 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" = 217) ORDER BY position 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-18 09:27:10.240000', 139, 1, 217, '2012-09-18 09:27:10.240000') 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" = 139 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.244000' WHERE "spree_products"."id" = 217 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 217, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.246000' WHERE "spree_products"."id" = 217  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (662, 205) 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" = 139 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.252000' WHERE "spree_products"."id" = 217 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 217, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.254000' WHERE "spree_products"."id" = 217  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (663, 206) 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" = 139 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.261000' WHERE "spree_products"."id" = 217 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 217, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.263000' WHERE "spree_products"."id" = 217  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (664, 207) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 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-18 09:27:10.268000', 'print_type', 0, 'Print type', '2012-09-18 09:27:10.268000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 217 AND "spree_option_types"."id" = 140 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" = 217) ORDER BY position 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-18 09:27:10.275000', 140, 2, 217, '2012-09-18 09:27:10.275000') 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" = 140 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 140) ORDER 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-18 09:27:10.279000', 'black_white', 140, 1, NULL, '2012-09-18 09:27:10.279000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.285000' WHERE "spree_products"."id" = 217 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 217, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.288000' WHERE "spree_products"."id" = 217  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (665, 208) 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" = 140 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 140) ORDER 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-18 09:27:10.311000', 'colour', 140, 2, NULL, '2012-09-18 09:27:10.311000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.316000' WHERE "spree_products"."id" = 217 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 217, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.320000' WHERE "spree_products"."id" = 217  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (666, 209) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 217 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" != 217) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 217) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.346000' WHERE "spree_products"."id" = 217  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 662 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.348000' WHERE "spree_products"."id" = 217 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.349000' WHERE "spree_products"."id" = 217  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 663 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.351000' WHERE "spree_products"."id" = 217 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.353000' WHERE "spree_products"."id" = 217  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 664 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.354000' WHERE "spree_products"."id" = 217 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.356000' WHERE "spree_products"."id" = 217  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 665 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.358000' WHERE "spree_products"."id" = 217 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 217 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.361000' WHERE "spree_products"."id" = 217  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 666 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.362000' WHERE "spree_products"."id" = 217 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 217) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:27:10.366000' WHERE "spree_products"."id" = 217 Row 3 succesfully SAVED : ID 217 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 215 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 215 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 216 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" = 216 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" = 289 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 522 LIMIT 1 Spree::Taxon Load (0.0ms) 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.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 526 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 526 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 527 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (21.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:10.507000', 'Paintings', '2012-09-18 09:27:10.507000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 293 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-18 09:27:10.513000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 293, '2012-09-18 09:27:10.513000')  (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-18 09:27:10.522000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 293, '2012-09-18 09:27:10.522000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 529, "updated_at" = '2012-09-18 09:27:10.527000' WHERE "spree_taxons"."id" = 530 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 529 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 530 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 530 THEN 529 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 529 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 530 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 529 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:10.555000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:10.555000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.558000' WHERE "spree_products"."id" = 218 SQL (0.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, 218, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.560000' WHERE "spree_products"."id" = 218  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 667 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.563000' WHERE "spree_products"."id" = 218  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 218  (0.0ms) 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.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-18 09:27:10.586000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:27:10.586000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.589000', NULL, 169, '2012-09-18 09:27:10.589000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 218, "updated_at" = '2012-09-18 09:27:10.591000' WHERE "spree_product_properties"."id" = 196 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" != 218) 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" != 218) 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" != 218) 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" = 293 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" = 218 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (218, 529) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 218) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:10.611000', 'WaterColour', '2012-09-18 09:27:10.611000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 294 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-18 09:27:10.617000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 294, '2012-09-18 09:27:10.617000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (218, 531) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 218) 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" != 218) LIMIT 1 Spree::OptionType Load (0.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-18 09:27:10.625000', 'mime_type', 0, 'Mime type', '2012-09-18 09:27:10.625000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 141 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" = 218) 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-18 09:27:10.632000', 141, 1, 218, '2012-09-18 09:27:10.632000') 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" = 141 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 141) ORDER 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-18 09:27:10.635000', 'jpeg', 141, 1, NULL, '2012-09-18 09:27:10.635000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.639000' WHERE "spree_products"."id" = 218 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 218, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.641000' WHERE "spree_products"."id" = 218  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (668, 210) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("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" != 218) LIMIT 1 Spree::OptionType Load (19.0ms) SELECT "spree_option_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" = 218 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 141 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 141) ORDER 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-18 09:27:10.671000', 'PDF', 141, 2, NULL, '2012-09-18 09:27:10.671000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.679000' WHERE "spree_products"."id" = 218 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 218, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.681000' WHERE "spree_products"."id" = 218  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (669, 211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("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" != 218) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 218 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 141 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 141) ORDER 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-18 09:27:10.704000', 'PNG', 141, 3, NULL, '2012-09-18 09:27:10.704000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.709000' WHERE "spree_products"."id" = 218 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 218, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.712000' WHERE "spree_products"."id" = 218  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (670, 212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 218 AND ("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" != 218) 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" != 218) 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" != 218) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 218) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.731000' WHERE "spree_products"."id" = 218  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 668 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.734000' WHERE "spree_products"."id" = 218 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.736000' WHERE "spree_products"."id" = 218  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 669 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.737000' WHERE "spree_products"."id" = 218 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.744000' WHERE "spree_products"."id" = 218  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 670 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.750000' WHERE "spree_products"."id" = 218 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 218) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:27:10.754000' WHERE "spree_products"."id" = 218 Row 1 succesfully SAVED : ID 218 Current value to assign : DEMO_002 Current value to 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-18 09:27:10.792000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:27:10.792000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.795000' WHERE "spree_products"."id" = 219 SQL (0.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, 219, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.796000' WHERE "spree_products"."id" = 219  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 671 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.800000' WHERE "spree_products"."id" = 219  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 219  (0.0ms) 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.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-18 09:27:10.809000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:27:10.809000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.811000', NULL, 170, '2012-09-18 09:27:10.811000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 219, "updated_at" = '2012-09-18 09:27:10.813000' WHERE "spree_product_properties"."id" = 197 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" != 219) 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" != 219) 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" != 219) 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" = 293 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" = 219 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 529) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 219) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:10.828000', 'Oils', '2012-09-18 09:27:10.828000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 295 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:10.831000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 295, '2012-09-18 09:27:10.831000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 532) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 219) 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" = 293 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" = 529 AND "spree_taxons"."taxonomy_id" = 293 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" = 529 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-18 09:27:10.848000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 529, 'paintings/nature', 0, 10, 293, '2012-09-18 09:27:10.848000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 529 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 533 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 533 THEN 529 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 529 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 533 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 533 AND "spree_taxons"."taxonomy_id" = 293 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" = 533 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-18 09:27:10.870000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 533, 'paintings/nature/seascape', 0, 12, 293, '2012-09-18 09:27:10.870000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 533 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 534 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 534 THEN 533 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 533 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 534 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 533)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (219, 534) 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" != 219) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 219 AND "spree_option_types"."id" = 141 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" = 219) ORDER BY position 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-18 09:27:10.889000', 141, 1, 219, '2012-09-18 09:27:10.889000') 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" = 141 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.894000' WHERE "spree_products"."id" = 219 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 219, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.895000' WHERE "spree_products"."id" = 219  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (672, 210) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("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" != 219) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 219 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 141 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.910000' WHERE "spree_products"."id" = 219 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, 219, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.912000' WHERE "spree_products"."id" = 219  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (673, 211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("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" != 219) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 219 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 141 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.924000' WHERE "spree_products"."id" = 219 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 219, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.926000' WHERE "spree_products"."id" = 219  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (674, 212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 219 AND ("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" != 219) 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" != 219) 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" != 219) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 219) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.946000' WHERE "spree_products"."id" = 219  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 672 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.948000' WHERE "spree_products"."id" = 219 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.951000' WHERE "spree_products"."id" = 219  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 673 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.953000' WHERE "spree_products"."id" = 219 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.955000' WHERE "spree_products"."id" = 219  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 674 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.956000' WHERE "spree_products"."id" = 219 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 219) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:27:10.960000' WHERE "spree_products"."id" = 219 Row 2 succesfully SAVED : ID 219 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:10.970000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:10.970000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.975000' WHERE "spree_products"."id" = 220 SQL (0.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, 220, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.978000' WHERE "spree_products"."id" = 220  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 675 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:10.980000' WHERE "spree_products"."id" = 220  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 220  (0.0ms) 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.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-18 09:27:10.988000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:27:10.988000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.990000', NULL, 171, '2012-09-18 09:27:10.990000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 220, "updated_at" = '2012-09-18 09:27:10.991000' WHERE "spree_product_properties"."id" = 198 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" != 220) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:10.998000', NULL, 170, '2012-09-18 09:27:10.998000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 220, "updated_at" = '2012-09-18 09:27:11.000000' WHERE "spree_product_properties"."id" = 199 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" != 220) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:11.005000', 'yet_another_property', 'Yet another property', '2012-09-18 09:27:11.005000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.009000', NULL, 172, '2012-09-18 09:27:11.009000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 220, "updated_at" = '2012-09-18 09:27:11.011000' WHERE "spree_product_properties"."id" = 200 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" != 220) 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-18 09:27:11.014000', 'Drawings', '2012-09-18 09:27:11.014000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 296 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-18 09:27:11.019000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 296, '2012-09-18 09:27:11.019000') 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" = 220 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 535) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 220) 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" = 293 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" = 529 AND "spree_taxons"."taxonomy_id" = 293 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 530)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (220, 529) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 220) 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" != 220) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 220 AND "spree_option_types"."id" = 141 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" = 220) ORDER BY position 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-18 09:27:11.044000', 141, 1, 220, '2012-09-18 09:27:11.044000') 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" = 141 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.049000' WHERE "spree_products"."id" = 220 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 220, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.052000' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (676, 210) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("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" != 220) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 220 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 141 LIMIT 1  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.071000' WHERE "spree_products"."id" = 220 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 220, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.074000' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (677, 211) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("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" != 220) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 220 AND "spree_option_types"."id" = 141 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 141 LIMIT 1  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.088000' WHERE "spree_products"."id" = 220 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 220, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.090000' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (678, 212) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("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" != 220) 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-18 09:27:11.098000', 'print_type', 0, 'Print type', '2012-09-18 09:27:11.098000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 220 AND "spree_option_types"."id" = 142 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" = 220) ORDER BY position 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-18 09:27:11.103000', 142, 2, 220, '2012-09-18 09:27:11.103000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 142 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 142) ORDER 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-18 09:27:11.109000', 'black_white', 142, 1, NULL, '2012-09-18 09:27:11.109000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.116000' WHERE "spree_products"."id" = 220 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 220, 'DEMO_003_4', NULL, NULL) SQL (19.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.118000' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (679, 213) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 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" != 220) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 220 AND "spree_option_types"."id" = 142 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 142 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 142) ORDER 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-18 09:27:11.148000', 'colour', 142, 2, NULL, '2012-09-18 09:27:11.148000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.153000' WHERE "spree_products"."id" = 220 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 220, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.156000' WHERE "spree_products"."id" = 220  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (680, 214) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 220 AND ("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" != 220) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 676 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 677 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 678 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 679 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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" = 'demo-third-row-in-future' AND "spree_products"."id" != 220) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.193000' WHERE "spree_products"."id" = 220  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 676 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.195000' WHERE "spree_products"."id" = 220 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.197000' WHERE "spree_products"."id" = 220  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 677 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.200000' WHERE "spree_products"."id" = 220 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.205000' WHERE "spree_products"."id" = 220  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 678 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.207000' WHERE "spree_products"."id" = 220 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.210000' WHERE "spree_products"."id" = 220  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 679 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.212000' WHERE "spree_products"."id" = 220 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 220 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.216000' WHERE "spree_products"."id" = 220  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 680 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.218000' WHERE "spree_products"."id" = 220 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 220) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:27:11.222000' WHERE "spree_products"."id" = 220 Row 3 succesfully SAVED : ID 220 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 218 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 218 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 219 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 219 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" = 293 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 529 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 293 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 533 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 533 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 534 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (18.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:11.395000', 'Paintings', '2012-09-18 09:27:11.395000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 297 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-18 09:27:11.400000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 297, '2012-09-18 09:27:11.400000')  (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-18 09:27:11.408000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 297, '2012-09-18 09:27:11.408000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 536, "updated_at" = '2012-09-18 09:27:11.416000' WHERE "spree_taxons"."id" = 537 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 536 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 537 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 537 THEN 536 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 536 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 537 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 536 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:11.448000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:11.448000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.452000' WHERE "spree_products"."id" = 221 SQL (0.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, 221, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.455000' WHERE "spree_products"."id" = 221  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 681 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.476000' WHERE "spree_products"."id" = 221  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 221  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:11.484000', 'test_pp_001', 'Test pp 001', '2012-09-18 09:27:11.484000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.486000', NULL, 173, '2012-09-18 09:27:11.486000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 221, "updated_at" = '2012-09-18 09:27:11.489000' WHERE "spree_product_properties"."id" = 201 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 221) 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" = 297 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" = 221 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (221, 536) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 221) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:11.509000', 'WaterColour', '2012-09-18 09:27:11.509000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 298 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:11.526000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 298, '2012-09-18 09:27:11.526000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (221, 538) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 221) LIMIT 1 Spree::OptionType Load (0.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-18 09:27:11.540000', 'mime_type', 0, 'Mime type', '2012-09-18 09:27:11.540000') 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" = 221 AND "spree_option_types"."id" = 143 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" = 221) ORDER BY position 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-18 09:27:11.547000', 143, 1, 221, '2012-09-18 09:27:11.547000') 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" = 143 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 143) ORDER 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-18 09:27:11.551000', 'jpeg', 143, 1, NULL, '2012-09-18 09:27:11.551000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.559000' WHERE "spree_products"."id" = 221 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, 221, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.561000' WHERE "spree_products"."id" = 221  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (682, 215) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("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" != 221) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 221 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 143 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 143) ORDER 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-18 09:27:11.589000', 'PDF', 143, 2, NULL, '2012-09-18 09:27:11.589000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.594000' WHERE "spree_products"."id" = 221 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 221, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.596000' WHERE "spree_products"."id" = 221  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (683, 216) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("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" != 221) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 221 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 143 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 143) ORDER 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-18 09:27:11.605000', 'PNG', 143, 3, NULL, '2012-09-18 09:27:11.605000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.609000' WHERE "spree_products"."id" = 221 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 221, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.612000' WHERE "spree_products"."id" = 221  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (684, 217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 221 AND ("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" != 221) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 682 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 683 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" = 684 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" != 221) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.653000' WHERE "spree_products"."id" = 221  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 682 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.655000' WHERE "spree_products"."id" = 221 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.656000' WHERE "spree_products"."id" = 221  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 683 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.658000' WHERE "spree_products"."id" = 221 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.660000' WHERE "spree_products"."id" = 221  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 684 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.661000' WHERE "spree_products"."id" = 221 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 221) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-18 09:27:11.664000' WHERE "spree_products"."id" = 221 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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-18 09:27:11.672000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-18 09:27:11.672000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.675000' WHERE "spree_products"."id" = 222 SQL (0.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, 222, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.677000' WHERE "spree_products"."id" = 222  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 685 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.679000' WHERE "spree_products"."id" = 222  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 222  (0.0ms) 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 (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-18 09:27:11.691000', 'test_pp_003', 'Test pp 003', '2012-09-18 09:27:11.691000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.692000', NULL, 174, '2012-09-18 09:27:11.692000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 222, "updated_at" = '2012-09-18 09:27:11.694000' WHERE "spree_product_properties"."id" = 202 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 222) 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" = 297 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" = 222 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 536) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 222) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:11.719000', 'Oils', '2012-09-18 09:27:11.719000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 299 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-18 09:27:11.722000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 299, '2012-09-18 09:27:11.722000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 539) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 222) 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" = 297 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" = 536 AND "spree_taxons"."taxonomy_id" = 297 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" = 536 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-18 09:27:11.736000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 536, 'paintings/nature', 0, 10, 297, '2012-09-18 09:27:11.736000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 536 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 540 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 540 THEN 536 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 536 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 540 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 540 AND "spree_taxons"."taxonomy_id" = 297 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" = 540 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-18 09:27:11.744000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 540, 'paintings/nature/seascape', 0, 12, 297, '2012-09-18 09:27:11.744000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 540 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 541 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 541 THEN 540 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 540 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 541 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 540)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (222, 541) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 222) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 222 AND "spree_option_types"."id" = 143 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" = 222) ORDER BY position 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-18 09:27:11.756000', 143, 1, 222, '2012-09-18 09:27:11.756000') 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" = 143 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.761000' WHERE "spree_products"."id" = 222 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 222, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.763000' WHERE "spree_products"."id" = 222  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (686, 215) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("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" != 222) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 222 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 143 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.775000' WHERE "spree_products"."id" = 222 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 222, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.777000' WHERE "spree_products"."id" = 222  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (687, 216) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("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" != 222) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 222 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 143 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.788000' WHERE "spree_products"."id" = 222 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 222, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.790000' WHERE "spree_products"."id" = 222  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (688, 217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 222 AND ("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" != 222) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 686 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" = 687 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 688 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" != 222) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.827000' WHERE "spree_products"."id" = 222  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 686 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.829000' WHERE "spree_products"."id" = 222 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.837000' WHERE "spree_products"."id" = 222  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 687 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.840000' WHERE "spree_products"."id" = 222 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.841000' WHERE "spree_products"."id" = 222  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 688 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.842000' WHERE "spree_products"."id" = 222 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 222) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-18 09:27:11.847000' WHERE "spree_products"."id" = 222 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:11.860000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:11.860000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.863000' WHERE "spree_products"."id" = 223 SQL (4.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, 223, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.869000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 689 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.871000' WHERE "spree_products"."id" = 223  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 223  (0.0ms) 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.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-18 09:27:11.880000', 'test_pp_002', 'Test pp 002', '2012-09-18 09:27:11.880000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.882000', NULL, 175, '2012-09-18 09:27:11.882000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 223, "updated_at" = '2012-09-18 09:27:11.883000' WHERE "spree_product_properties"."id" = 203 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.889000', NULL, 174, '2012-09-18 09:27:11.889000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 223, "updated_at" = '2012-09-18 09:27:11.891000' WHERE "spree_product_properties"."id" = 204 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" != 223) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-18 09:27:11.899000', 'yet_another_property', 'Yet another property', '2012-09-18 09:27:11.899000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-18 09:27:11.904000', NULL, 176, '2012-09-18 09:27:11.904000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 223, "updated_at" = '2012-09-18 09:27:11.910000' WHERE "spree_product_properties"."id" = 205 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" != 223) 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-18 09:27:11.915000', 'Drawings', '2012-09-18 09:27:11.915000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 300 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-18 09:27:11.918000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 300, '2012-09-18 09:27:11.918000') 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" = 223 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 542) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) 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" = 297 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" = 536 AND "spree_taxons"."taxonomy_id" = 297 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 537)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (223, 536) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 223 AND "spree_option_types"."id" = 143 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" = 223) ORDER BY position 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-18 09:27:11.937000', 143, 1, 223, '2012-09-18 09:27:11.937000') 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" = 143 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.942000' WHERE "spree_products"."id" = 223 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 223, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.944000' WHERE "spree_products"."id" = 223  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (690, 215) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("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" != 223) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 223 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 143 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.957000' WHERE "spree_products"."id" = 223 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, 223, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.959000' WHERE "spree_products"."id" = 223  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (691, 216) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("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" != 223) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 223 AND "spree_option_types"."id" = 143 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 143 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.970000' WHERE "spree_products"."id" = 223 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 223, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.971000' WHERE "spree_products"."id" = 223  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (692, 217) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("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" != 223) 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-18 09:27:11.977000', 'print_type', 0, 'Print type', '2012-09-18 09:27:11.977000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 144 ORDER BY spree_option_types.position LIMIT 1 Spree::ProductOptionType Load (2.0ms) SELECT "spree_product_option_types".* FROM "spree_product_option_types" WHERE ("spree_product_option_types"."product_id" = 223) ORDER BY position 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-18 09:27:11.984000', 144, 2, 223, '2012-09-18 09:27:11.984000') 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" = 144 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 144) ORDER 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-18 09:27:11.987000', 'black_white', 144, 1, NULL, '2012-09-18 09:27:11.987000')  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.992000' WHERE "spree_products"."id" = 223 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 223, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:11.994000' WHERE "spree_products"."id" = 223  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (693, 218) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (24.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 223 AND "spree_option_types"."id" = 144 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 144 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 144) 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-18 09:27:12.030000', 'colour', 144, 2, NULL, '2012-09-18 09:27:12.030000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.035000' WHERE "spree_products"."id" = 223 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 223, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.038000' WHERE "spree_products"."id" = 223  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (694, 219) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 223 AND ("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" != 223) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 690 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 691 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.065000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 690 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.068000' WHERE "spree_products"."id" = 223 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.069000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 691 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.071000' WHERE "spree_products"."id" = 223 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.073000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 692 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.074000' WHERE "spree_products"."id" = 223 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.083000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 693 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.086000' WHERE "spree_products"."id" = 223 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 223 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.087000' WHERE "spree_products"."id" = 223  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 694 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.089000' WHERE "spree_products"."id" = 223 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 223) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-18 09:27:12.093000' WHERE "spree_products"."id" = 223 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 221 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 221 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 222 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" = 222 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" = 297 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 536 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 297 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 540 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 540 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 541 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:12.194000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:12.194000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 224 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.199000' WHERE "spree_products"."id" = 224 SQL (20.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, 224, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.220000' WHERE "spree_products"."id" = 224  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 695 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.223000' WHERE "spree_products"."id" = 224  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 224 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 224  (0.0ms) 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::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.229000', 'Paintings', '2012-09-18 09:27:12.229000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 301 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-18 09:27:12.233000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 301, '2012-09-18 09:27:12.233000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 543 AND "spree_taxons"."taxonomy_id" = 301 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 543 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-18 09:27:12.240000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 543, 'paintings/landscape', 0, 4, 301, '2012-09-18 09:27:12.240000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 543 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 544 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 544 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" = 543 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 544 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" = 224 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 544)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 543) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 224) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.267000', 'WaterColour', '2012-09-18 09:27:12.267000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 302 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-18 09:27:12.277000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 302, '2012-09-18 09:27:12.277000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (224, 545) 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" != 224) 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" != 224) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 695 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" != 224) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-18 09:27:12.289000' WHERE "spree_products"."id" = 224  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 695 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.292000' WHERE "spree_products"."id" = 224 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 224 Row 1 succesfully SAVED : ID 224 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:27:12.301000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-18 09:27:12.301000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 225 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.320000' WHERE "spree_products"."id" = 225 SQL (0.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, 225, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.323000' WHERE "spree_products"."id" = 225  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 696 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.326000' WHERE "spree_products"."id" = 225  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 225 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 225  (0.0ms) 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::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" = 301 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" = 225 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 543) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 225) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.338000', 'Oils', '2012-09-18 09:27:12.338000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 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-18 09:27:12.341000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 303, '2012-09-18 09:27:12.341000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 546) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 225) 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" = 301 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" = 543 AND "spree_taxons"."taxonomy_id" = 301 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" = 543 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-18 09:27:12.350000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 543, 'paintings/nature', 0, 10, 301, '2012-09-18 09:27:12.350000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 543 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 547 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" = 543 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 547 AND "spree_taxons"."taxonomy_id" = 301 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:12.360000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 547, 'paintings/nature/landscape', 0, 12, 301, '2012-09-18 09:27:12.360000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 548 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 548 THEN 547 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 548 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 547)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (225, 548) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 225) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 696 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 225) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:27:12.371000' WHERE "spree_products"."id" = 225  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 696 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.373000' WHERE "spree_products"."id" = 225 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 225 Row 2 succesfully SAVED : ID 225 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:12.387000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:12.387000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 226 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.392000' WHERE "spree_products"."id" = 226 SQL (0.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, 226, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.394000' WHERE "spree_products"."id" = 226  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 697 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.396000' WHERE "spree_products"."id" = 226  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 226 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 226  (0.0ms) 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::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-18 09:27:12.403000', 'Drawings', '2012-09-18 09:27:12.403000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 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-18 09:27:12.407000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 304, '2012-09-18 09:27:12.407000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 549 AND "spree_taxons"."taxonomy_id" = 304 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" = 549 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-18 09:27:12.414000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 549, 'drawings/landscape', 0, 16, 304, '2012-09-18 09:27:12.414000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 549 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 550 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 550 THEN 549 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 549 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 550 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" = 226 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 550)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 549) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 226) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.426000', 'Landscape', '2012-09-18 09:27:12.426000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 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-18 09:27:12.429000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 305, '2012-09-18 09:27:12.429000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (226, 551) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 226) 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" != 226) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 697 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" != 226) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-18 09:27:12.438000' WHERE "spree_products"."id" = 226  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 697 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.441000' WHERE "spree_products"."id" = 226 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 226 Row 3 succesfully SAVED : ID 226 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:12.449000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-18 09:27:12.449000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 227 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.452000' WHERE "spree_products"."id" = 227 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 227, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.454000' WHERE "spree_products"."id" = 227  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 698 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.456000' WHERE "spree_products"."id" = 227  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 227 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 227  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 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" = 549 AND "spree_taxons"."taxonomy_id" = 304 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" = 227 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 550)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 549) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 227) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 227) 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" = 301 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" = 543 AND "spree_taxons"."taxonomy_id" = 301 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 547 AND "spree_taxons"."taxonomy_id" = 301 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" = 547 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-18 09:27:12.473000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 547, 'paintings/nature/seascape', 0, 20, 301, '2012-09-18 09:27:12.473000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 552 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 552 THEN 547 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 552 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 552 AND "spree_taxons"."taxonomy_id" = 301 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" = 552 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-18 09:27:12.485000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 552, 'paintings/nature/seascape/cliffs', 0, 22, 301, '2012-09-18 09:27:12.485000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 552 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 553 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 553 THEN 552 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 552 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 553 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 547)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 552)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 553)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (227, 543) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 227) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 698 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 227) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:27:12.497000' WHERE "spree_products"."id" = 227  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 698 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.499000' WHERE "spree_products"."id" = 227 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 227 Row 4 succesfully SAVED : ID 227 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:12.512000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-18 09:27:12.512000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 228 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.517000' WHERE "spree_products"."id" = 228 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 (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 228, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.519000' WHERE "spree_products"."id" = 228  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 699 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.526000' WHERE "spree_products"."id" = 228  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 228 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 228  (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 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" = 549 AND "spree_taxons"."taxonomy_id" = 304 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 550 AND "spree_taxons"."taxonomy_id" = 304 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" = 550 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-18 09:27:12.540000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 550, 'drawings/landscape/bristol', 0, 24, 304, '2012-09-18 09:27:12.540000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 550 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 554 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 554 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" = 550 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 554 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" = 228 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (228, 550)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (228, 554)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (228, 549) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 228) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 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 (228, 546) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 228) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 228) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 699 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 228) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:27:12.561000' WHERE "spree_products"."id" = 228  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 699 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.564000' WHERE "spree_products"."id" = 228 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 228 Row 5 succesfully SAVED : ID 228 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 301 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 302 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 301 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 301 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (17.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 543 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 543) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 547 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 547) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 547) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 543 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 547 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 552 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 553 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 552) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 304 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 550 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 550 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 554 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 554) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 303 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 546 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 305 Spree::Taxon Load (0.0ms) 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.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 551 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (19.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-18 09:27:12.741000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-18 09:27:12.741000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 229 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.746000' WHERE "spree_products"."id" = 229 SQL (0.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, 229, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.749000' WHERE "spree_products"."id" = 229  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 700 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.772000' WHERE "spree_products"."id" = 229  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 229 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 229  (0.0ms) 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 (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.778000', 'Paintings', '2012-09-18 09:27:12.778000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 306 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-18 09:27:12.782000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 306, '2012-09-18 09:27:12.782000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 555 AND "spree_taxons"."taxonomy_id" = 306 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" = 555 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-18 09:27:12.790000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 555, 'paintings/landscape', 0, 4, 306, '2012-09-18 09:27:12.790000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 555 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 556 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 556 THEN 555 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 555 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 556 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" = 229 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 556)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 555) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 229) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.803000', 'WaterColour', '2012-09-18 09:27:12.803000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 307 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-18 09:27:12.807000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 307, '2012-09-18 09:27:12.807000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (229, 557) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 229) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 700 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 229) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-18 09:27:12.822000' WHERE "spree_products"."id" = 229  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 700 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.824000' WHERE "spree_products"."id" = 229 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 229 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-18 09:27:12.831000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-18 09:27:12.831000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 230 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.834000' WHERE "spree_products"."id" = 230 SQL (0.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, 230, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.837000' WHERE "spree_products"."id" = 230  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.842000' WHERE "spree_products"."id" = 230  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 230 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 230  (0.0ms) 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.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" = 306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 230 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (230, 555) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 230) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.853000', 'Oils', '2012-09-18 09:27:12.853000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 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-18 09:27:12.857000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 308, '2012-09-18 09:27:12.857000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (230, 558) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 230) 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" = 306 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" = 555 AND "spree_taxons"."taxonomy_id" = 306 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" = 555 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-18 09:27:12.866000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 555, 'paintings/nature', 0, 10, 306, '2012-09-18 09:27:12.866000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 555 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 559 THEN 555 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 555 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 559 AND "spree_taxons"."taxonomy_id" = 306 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" = 559 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-18 09:27:12.877000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 559, 'paintings/nature/landscape', 0, 12, 306, '2012-09-18 09:27:12.877000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 560 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 560 THEN 559 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 560 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (230, 559)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (230, 560) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 230) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 701 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 230) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-18 09:27:12.890000' WHERE "spree_products"."id" = 230  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 701 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.896000' WHERE "spree_products"."id" = 230 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 230 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:12.904000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-18 09:27:12.904000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 231 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.908000' WHERE "spree_products"."id" = 231 SQL (0.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, 231, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.910000' WHERE "spree_products"."id" = 231  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 702 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.913000' WHERE "spree_products"."id" = 231  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 231 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 231  (0.0ms) 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.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-18 09:27:12.919000', 'Drawings', '2012-09-18 09:27:12.919000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 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-18 09:27:12.923000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 309, '2012-09-18 09:27:12.923000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 561 AND "spree_taxons"."taxonomy_id" = 309 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" = 561 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-18 09:27:12.931000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 561, 'drawings/landscape', 0, 16, 309, '2012-09-18 09:27:12.931000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 561 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 562 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 561 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 562 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 231 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 562)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 561) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 231) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-18 09:27:12.941000', 'Landscape', '2012-09-18 09:27:12.941000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 310 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-18 09:27:12.944000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 310, '2012-09-18 09:27:12.944000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (231, 563) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 231) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 702 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 231) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-18 09:27:12.956000' WHERE "spree_products"."id" = 231  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 702 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.958000' WHERE "spree_products"."id" = 231 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 231 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:12.967000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-18 09:27:12.967000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 232 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.971000' WHERE "spree_products"."id" = 232 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 232, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.974000' WHERE "spree_products"."id" = 232  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 703 SQL (3.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:12.976000' WHERE "spree_products"."id" = 232  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 232 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 232  (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 561 AND "spree_taxons"."taxonomy_id" = 309 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" = 232 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 562)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 561) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 232) 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" = 306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 555 AND "spree_taxons"."taxonomy_id" = 306 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 559 AND "spree_taxons"."taxonomy_id" = 306 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" = 559 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:13.005000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 559, 'paintings/nature/seascape', 0, 20, 306, '2012-09-18 09:27:13.005000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 564 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 564 THEN 559 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 564 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 564 AND "spree_taxons"."taxonomy_id" = 306 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 564 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-18 09:27:13.014000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 564, 'paintings/nature/seascape/cliffs', 0, 22, 306, '2012-09-18 09:27:13.014000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 564 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 565 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 564 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 565 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 559)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 564)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 565)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (232, 555) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 232) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 703 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 232) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:27:13.059000' WHERE "spree_products"."id" = 232  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 703 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:13.062000' WHERE "spree_products"."id" = 232 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 232 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-18 09:27:13.073000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-18 09:27:13.073000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 233 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:13.078000' WHERE "spree_products"."id" = 233 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 233, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:13.079000' WHERE "spree_products"."id" = 233  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 704 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:13.082000' WHERE "spree_products"."id" = 233  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 233 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 233  (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 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" = 561 AND "spree_taxons"."taxonomy_id" = 309 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 562 AND "spree_taxons"."taxonomy_id" = 309 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" = 562 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-18 09:27:13.092000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 562, 'drawings/landscape/bristol', 0, 24, 309, '2012-09-18 09:27:13.092000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 562 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 566 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 566 THEN 562 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 562 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 566 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" = 233 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 562)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 566)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 561) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 233) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (233, 558) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 233) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 704 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 233) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-18 09:27:13.117000' WHERE "spree_products"."id" = 233  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 704 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-18 09:27:13.119000' WHERE "spree_products"."id" = 233 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 233  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 307 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 310 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 306 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 306 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 555 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 555) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 559 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 559) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 559) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 555 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 559 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 564 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 565 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 564) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 309 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 562 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 562 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 566 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 566) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 308 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 558 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 310 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 310 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 563 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (20.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (20.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 12:59:58.030000', 'Paintings', '2012-09-25 12:59:58.030000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 311 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 12:59:58.463000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 311, '2012-09-25 12:59:58.463000')  (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 12:59:58.499000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 311, '2012-09-25 12:59:58.499000')  (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 12:59:58.520000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 311, '2012-09-25 12:59:58.520000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 12:59:59.169000', 'Paintings', '2012-09-25 12:59:59.169000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 312 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 12:59:59.373000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 312, '2012-09-25 12:59:59.373000')  (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 12:59:59.406000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 312, '2012-09-25 12:59:59.406000')  (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 12:59:59.440000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 312, '2012-09-25 12:59:59.440000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (4.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 12:59:59.546000', 'Paintings', '2012-09-25 12:59:59.546000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 313 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 12:59:59.585000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 313, '2012-09-25 12:59:59.585000')  (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 12:59:59.606000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 313, '2012-09-25 12:59:59.606000')  (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 12:59:59.626000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 313, '2012-09-25 12:59:59.626000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (16.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.148000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:00:00.148000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 43 Row org.apache.poi.hssf.usermodel.HSSFRow@17b9c87 succesfully SAVED : ID 43 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.209000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:00:00.209000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 44 Row org.apache.poi.hssf.usermodel.HSSFRow@115c702 succesfully SAVED : ID 44 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.220000', 'f', 'Europe', 'EUR', '2012-09-25 13:00:00.220000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 45 Row org.apache.poi.hssf.usermodel.HSSFRow@1b4580 succesfully SAVED : ID 45 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.237000', 'f', 'North America', 'NA', '2012-09-25 13:00:00.237000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 46 Row org.apache.poi.hssf.usermodel.HSSFRow@f90f00 succesfully SAVED : ID 46 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (28.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.373000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:00:00.373000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.418000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:00:00.418000', 0) Spree::ZoneMember Load (0.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.430000', 'f', 'Europe', 'EUR', '2012-09-25 13:00:00.430000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:00:00.454000', 'f', 'North America', 'NA', '2012-09-25 13:00:00.454000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 50  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (25.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:00.863000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:00.863000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 234 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:00.894000' WHERE "spree_products"."id" = 234 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 234, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:00.905000' WHERE "spree_products"."id" = 234  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 705 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:00.919000' WHERE "spree_products"."id" = 234  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 234 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 234  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 705 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 234) LIMIT 1 Spree::OptionType Load (0.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 13:00:01.046000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:01.046000') 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" = 234 AND "spree_option_types"."id" = 145 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" = 234) 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 13:00:01.137000', 145, 1, 234, '2012-09-25 13:00:01.137000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 234) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:00:01.150000' WHERE "spree_products"."id" = 234  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 705 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.159000' WHERE "spree_products"."id" = 234 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 234 Row org.apache.poi.hssf.usermodel.HSSFRow@1ba9b32 succesfully SAVED : ID 234 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (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 13:00:01.195000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:01.195000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 235 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.226000' WHERE "spree_products"."id" = 235 SQL (0.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, 235, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.234000' WHERE "spree_products"."id" = 235  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 706 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.240000' WHERE "spree_products"."id" = 235  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 235 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 235  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 706 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 235) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 235 AND "spree_option_types"."id" = 145 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" = 235) ORDER BY position 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 13:00:01.322000', 145, 1, 235, '2012-09-25 13:00:01.322000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 235) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:00:01.338000' WHERE "spree_products"."id" = 235  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 706 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.347000' WHERE "spree_products"."id" = 235 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 235 Row org.apache.poi.hssf.usermodel.HSSFRow@3aca36 succesfully SAVED : ID 235 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:00:01.412000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:00:01.412000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 236 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.434000' WHERE "spree_products"."id" = 236 SQL (0.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, 236, 'SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.438000' WHERE "spree_products"."id" = 236  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 707 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.445000' WHERE "spree_products"."id" = 236  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 236 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 236  (0.0ms) 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::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 707 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 236) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 236 AND "spree_option_types"."id" = 145 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" = 236) ORDER BY position 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 13:00:01.484000', 145, 1, 236, '2012-09-25 13:00:01.484000') 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 13:00:01.492000', 'print_type', 0, 'Print type', '2012-09-25 13:00:01.492000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 236 AND "spree_option_types"."id" = 146 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" = 236) ORDER BY position 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 13:00:01.553000', 146, 2, 236, '2012-09-25 13:00:01.553000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 236) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:00:01.561000' WHERE "spree_products"."id" = 236  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 707 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.585000' WHERE "spree_products"."id" = 236 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 236 Row org.apache.poi.hssf.usermodel.HSSFRow@2c47d7 succesfully SAVED : ID 236 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:00:01.689000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:00:01.690000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 234 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (2.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 234 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 236 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (5.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (16.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:01.924000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:01.924000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 237 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.936000' WHERE "spree_products"."id" = 237 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, 345.78, 237, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.942000' WHERE "spree_products"."id" = 237  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 708 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:01.946000' WHERE "spree_products"."id" = 237  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 237 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 237  (0.0ms) 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::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 237) LIMIT 1 Spree::OptionType Load (0.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 13:00:02.008000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:02.008000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 237 AND "spree_option_types"."id" = 147 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" = 237) ORDER BY position 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 13:00:02.067000', 147, 1, 237, '2012-09-25 13:00:02.067000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 237) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:00:02.091000' WHERE "spree_products"."id" = 237  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 708 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.102000' WHERE "spree_products"."id" = 237 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 237 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:02.143000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:02.143000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 238 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.150000' WHERE "spree_products"."id" = 238 SQL (0.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, 238, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.158000' WHERE "spree_products"."id" = 238  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 709 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.162000' WHERE "spree_products"."id" = 238  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 238 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 238  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 709 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 238) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 238 AND "spree_option_types"."id" = 147 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" = 238) ORDER BY position 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 13:00:02.605000', 147, 1, 238, '2012-09-25 13:00:02.605000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 238) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:00:02.613000' WHERE "spree_products"."id" = 238  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 709 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.623000' WHERE "spree_products"."id" = 238 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 238 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:00:02.645000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:00:02.645000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 239 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.666000' WHERE "spree_products"."id" = 239 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, 239, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.670000' WHERE "spree_products"."id" = 239  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 710 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.694000' WHERE "spree_products"."id" = 239  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 239  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 710 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 239) 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" = 239 AND "spree_option_types"."id" = 147 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" = 239) ORDER BY position 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 13:00:02.767000', 147, 1, 239, '2012-09-25 13:00:02.767000') 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 13:00:02.776000', 'print_type', 0, 'Print type', '2012-09-25 13:00:02.776000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 148 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" = 239) ORDER BY position 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 13:00:02.836000', 148, 2, 239, '2012-09-25 13:00:02.836000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 239) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:00:02.844000' WHERE "spree_products"."id" = 239  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 710 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:02.851000' WHERE "spree_products"."id" = 239 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 239  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:00:02.871000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:00:02.872000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 237 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 237 ORDER BY spree_option_types.position  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 239 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:00:03.000000', 0, '2012-09-25 13:00:03.083000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:03.083000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 240 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.093000' WHERE "spree_products"."id" = 240 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 240, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.102000' WHERE "spree_products"."id" = 240  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 711 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.109000' WHERE "spree_products"."id" = 240  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 240  (1.0ms) 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::OptionType Load (0.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 13:00:03.132000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:03.132000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 149 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" = 240) ORDER BY position 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 13:00:03.151000', 149, 1, 240, '2012-09-25 13:00:03.151000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 240) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@12965ca succesfully SAVED : ID 240 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:00:03.000000', 0, '2012-09-25 13:00:03.234000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:03.234000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 241 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.241000' WHERE "spree_products"."id" = 241 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 241, 'SPEC_SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.308000' WHERE "spree_products"."id" = 241  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 712 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.318000' WHERE "spree_products"."id" = 241  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 241 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 241  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 241 AND "spree_option_types"."id" = 149 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" = 241) ORDER BY position 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 13:00:03.361000', 149, 1, 241, '2012-09-25 13:00:03.361000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 241) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@13d12bf succesfully SAVED : ID 241 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:00:03.000000', 0, '2012-09-25 13:00:03.418000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:00:03.418000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 242 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.423000' WHERE "spree_products"."id" = 242 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 242, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.427000' WHERE "spree_products"."id" = 242  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 713 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.432000' WHERE "spree_products"."id" = 242  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 242 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 242  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_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" = 242 AND "spree_option_types"."id" = 149 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" = 242) ORDER BY position 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 13:00:03.460000', 149, 1, 242, '2012-09-25 13:00:03.460000') 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 13:00:03.465000', 'print_type', 0, 'Print type', '2012-09-25 13:00:03.465000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 150 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" = 242) ORDER BY position 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 13:00:03.476000', 150, 2, 242, '2012-09-25 13:00:03.476000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 242) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1a12492 succesfully SAVED : ID 242 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 240 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:00:03.652000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:03.652000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 243 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.683000' WHERE "spree_products"."id" = 243 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 243, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.687000' WHERE "spree_products"."id" = 243  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 714 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.717000' WHERE "spree_products"."id" = 243  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 243  (0.0ms) 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::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 13:00:03.734000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:03.734000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 151 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" = 243) ORDER BY position 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 13:00:03.750000', 151, 1, 243, '2012-09-25 13:00:03.750000') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 243) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1da6308 succesfully SAVED : ID 243 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:00:03.795000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:03.795000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 244 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.801000' WHERE "spree_products"."id" = 244 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 244, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.806000' WHERE "spree_products"."id" = 244  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 715 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.817000' WHERE "spree_products"."id" = 244  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 244 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 244  (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 244 AND "spree_option_types"."id" = 151 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" = 244) 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 13:00:03.834000', 151, 1, 244, '2012-09-25 13:00:03.834000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 244) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@19054cc succesfully SAVED : ID 244 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (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 13:00:03.877000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:00:03.877000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 245 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.884000' WHERE "spree_products"."id" = 245 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 245, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.888000' WHERE "spree_products"."id" = 245  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 716 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:03.894000' WHERE "spree_products"."id" = 245  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 245 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 245  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_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" = 245 AND "spree_option_types"."id" = 151 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" = 245) 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 13:00:03.912000', 151, 1, 245, '2012-09-25 13:00:03.912000') 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 13:00:03.917000', 'print_type', 0, 'Print type', '2012-09-25 13:00:03.917000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 152 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" = 245) ORDER BY position 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 13:00:06.892000', 152, 2, 245, '2012-09-25 13:00:06.892000') 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" != 245) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@767a6f succesfully SAVED : ID 245 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 243 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (56.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:07.511000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:00:07.511000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:00:07.573000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:07.573000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.582000' WHERE "spree_products"."id" = 246 SQL (0.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, 246, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.586000' WHERE "spree_products"."id" = 246  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 717 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.601000' WHERE "spree_products"."id" = 246  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 246  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:07.659000', NULL, 177, '2012-09-25 13:00:07.659000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 246, "updated_at" = '2012-09-25 13:00:07.668000' WHERE "spree_product_properties"."id" = 206 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" != 246) 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 13:00:07.675000', 'Paintings', '2012-09-25 13:00:07.675000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 314 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 13:00:07.684000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 314, '2012-09-25 13:00:07.684000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 246 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (246, 576) 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 13:00:07.698000', 'WaterColour', '2012-09-25 13:00:07.698000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 315 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 13:00:07.708000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 315, '2012-09-25 13:00:07.708000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (246, 577) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 246) 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" != 246) LIMIT 1 Spree::OptionType Load (0.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 13:00:07.733000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:07.733000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 153 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" = 246) ORDER BY position 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 13:00:07.753000', 153, 1, 246, '2012-09-25 13:00:07.753000') 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" = 153 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 153) ORDER 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 13:00:07.804000', 'jpeg', 153, 1, NULL, '2012-09-25 13:00:07.804000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.813000' WHERE "spree_products"."id" = 246 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 246, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.818000' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (718, 220) 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" = 153 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 153) ORDER 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 13:00:07.829000', 'PDF', 153, 2, NULL, '2012-09-25 13:00:07.829000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.836000' WHERE "spree_products"."id" = 246 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 246, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.839000' WHERE "spree_products"."id" = 246  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (719, 221) 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" = 153 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 153) ORDER 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 13:00:07.843000', 'PNG', 153, 3, NULL, '2012-09-25 13:00:07.843000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.859000' WHERE "spree_products"."id" = 246 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 246, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.868000' WHERE "spree_products"."id" = 246  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (720, 222) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 246 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" != 246) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 718 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 719 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 720 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" != 246) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.906000' WHERE "spree_products"."id" = 246  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 718 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.909000' WHERE "spree_products"."id" = 246 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.912000' WHERE "spree_products"."id" = 246  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 719 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.913000' WHERE "spree_products"."id" = 246 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 246 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.916000' WHERE "spree_products"."id" = 246  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 720 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.918000' WHERE "spree_products"."id" = 246 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 246) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:07.926000' WHERE "spree_products"."id" = 246 Row org.apache.poi.hssf.usermodel.HSSFRow@819d8c succesfully SAVED : ID 246 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:07.976000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:07.976000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.984000' WHERE "spree_products"."id" = 247 SQL (0.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, 247, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.989000' WHERE "spree_products"."id" = 247  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 721 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:07.992000' WHERE "spree_products"."id" = 247  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 247  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:08.007000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:08.007000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:08.012000', NULL, 178, '2012-09-25 13:00:08.012000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 247, "updated_at" = '2012-09-25 13:00:08.016000' WHERE "spree_product_properties"."id" = 207 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" != 247) 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" = 314 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" = 247 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 576) 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 13:00:08.029000', 'Oils', '2012-09-25 13:00:08.029000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 316 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 13:00:08.036000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 316, '2012-09-25 13:00:08.036000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 578) 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" = 314 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" = 576 AND "spree_taxons"."taxonomy_id" = 314 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" = 576 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 13:00:08.048000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 576, 'paintings/nature', 0, 8, 314, '2012-09-25 13:00:08.048000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 576 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 579 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 579 THEN 576 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 576 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 579 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 579 AND "spree_taxons"."taxonomy_id" = 314 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" = 579 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:08.065000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 579, 'paintings/nature/seascape', 0, 10, 314, '2012-09-25 13:00:08.065000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 579 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 580 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 580 THEN 579 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 579 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 580 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 579)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (247, 580) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 247) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 247 AND "spree_option_types"."id" = 153 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" = 247) 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 13:00:08.094000', 153, 1, 247, '2012-09-25 13:00:08.094000') 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" = 153 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.109000' WHERE "spree_products"."id" = 247 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 247, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.115000' WHERE "spree_products"."id" = 247  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (722, 220) 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" = 153 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.120000' WHERE "spree_products"."id" = 247 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 247, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.124000' WHERE "spree_products"."id" = 247  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (723, 221) 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" = 153 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.131000' WHERE "spree_products"."id" = 247 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, 247, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.134000' WHERE "spree_products"."id" = 247  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (724, 222) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 247 AND ("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" != 247) 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" != 247) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 722 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" = 723 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 724 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" != 247) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.165000' WHERE "spree_products"."id" = 247  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 722 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.169000' WHERE "spree_products"."id" = 247 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.171000' WHERE "spree_products"."id" = 247  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 723 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.173000' WHERE "spree_products"."id" = 247 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 247 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.175000' WHERE "spree_products"."id" = 247  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 724 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.177000' WHERE "spree_products"."id" = 247 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 247) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:00:08.190000' WHERE "spree_products"."id" = 247 Row org.apache.poi.hssf.usermodel.HSSFRow@96051d succesfully SAVED : ID 247 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:08.213000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:08.213000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.223000' WHERE "spree_products"."id" = 248 SQL (0.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, 248, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.226000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 725 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.229000' WHERE "spree_products"."id" = 248  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 248  (0.0ms) 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.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 13:00:08.236000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:08.236000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:08.294000', NULL, 179, '2012-09-25 13:00:08.294000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 248, "updated_at" = '2012-09-25 13:00:08.296000' WHERE "spree_product_properties"."id" = 208 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:08.300000', NULL, 178, '2012-09-25 13:00:08.300000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 248, "updated_at" = '2012-09-25 13:00:08.302000' WHERE "spree_product_properties"."id" = 209 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 13:00:08.313000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:08.313000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:08.318000', NULL, 180, '2012-09-25 13:00:08.318000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 248, "updated_at" = '2012-09-25 13:00:08.321000' WHERE "spree_product_properties"."id" = 210 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" != 248) 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 13:00:08.328000', 'Drawings', '2012-09-25 13:00:08.328000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 317 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 13:00:08.333000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 317, '2012-09-25 13:00:08.333000') 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" = 248 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (248, 581) 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" = 314 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" = 576 AND "spree_taxons"."taxonomy_id" = 314 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" = 576 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 13:00:08.352000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 576, 'paintings/landscape', 0, 14, 314, '2012-09-25 13:00:08.352000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 576 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 582 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 582 THEN 576 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 576 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 582 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (248, 582)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (248, 576) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 248) 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" != 248) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 248 AND "spree_option_types"."id" = 153 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" = 248) ORDER BY position 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 13:00:08.381000', 153, 1, 248, '2012-09-25 13:00:08.381000') 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" = 153 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.390000' WHERE "spree_products"."id" = 248 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, 248, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.393000' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (726, 220) 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" = 153 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.416000' WHERE "spree_products"."id" = 248 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 248, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.421000' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (727, 221) 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" = 153 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.434000' WHERE "spree_products"."id" = 248 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 248, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.436000' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (728, 222) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 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 13:00:08.441000', 'print_type', 0, 'Print type', '2012-09-25 13:00:08.441000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 154 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" = 248) ORDER BY position 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 13:00:08.451000', 154, 2, 248, '2012-09-25 13:00:08.451000') 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" = 154 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 154) ORDER 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 13:00:08.455000', 'black_white', 154, 1, NULL, '2012-09-25 13:00:08.455000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (30.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.462000' WHERE "spree_products"."id" = 248 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, 248, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.499000' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (729, 223) 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" = 154 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 154) ORDER 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 13:00:08.505000', 'colour', 154, 2, NULL, '2012-09-25 13:00:08.505000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.512000' WHERE "spree_products"."id" = 248 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 248, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.515000' WHERE "spree_products"."id" = 248  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (730, 224) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 248 AND ("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" != 248) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 728 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 729 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 730 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" != 248) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.549000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 726 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.551000' WHERE "spree_products"."id" = 248 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.554000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 727 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.555000' WHERE "spree_products"."id" = 248 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.558000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 728 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.559000' WHERE "spree_products"."id" = 248 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.562000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 729 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.581000' WHERE "spree_products"."id" = 248 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 248 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.584000' WHERE "spree_products"."id" = 248  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 730 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.585000' WHERE "spree_products"."id" = 248 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 248) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:00:08.595000' WHERE "spree_products"."id" = 248 Row org.apache.poi.hssf.usermodel.HSSFRow@11e342e 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 :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 246 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 248 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 248 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:08.785000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:00:08.785000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:08.859000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:08.859000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.865000' WHERE "spree_products"."id" = 249 SQL (0.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, 249, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.873000' WHERE "spree_products"."id" = 249  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 731 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:08.877000' WHERE "spree_products"."id" = 249  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 249  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:08.887000', NULL, 181, '2012-09-25 13:00:08.887000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 249, "updated_at" = '2012-09-25 13:00:08.890000' WHERE "spree_product_properties"."id" = 211 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" != 249) 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" != 249) 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" != 249) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:08.906000', 'Paintings', '2012-09-25 13:00:08.906000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 318 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 13:00:08.913000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 318, '2012-09-25 13:00:08.913000') 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" = 249 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (249, 583) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 249) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:08.937000', 'WaterColour', '2012-09-25 13:00:08.937000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 319 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 13:00:08.951000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 319, '2012-09-25 13:00:08.951000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (249, 584) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 249) 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" != 249) LIMIT 1 Spree::OptionType Load (0.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 13:00:08.970000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:08.970000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 155 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" = 249) 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 13:00:08.981000', 155, 1, 249, '2012-09-25 13:00:08.981000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 155 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 155) ORDER 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 13:00:08.986000', 'jpeg', 155, 1, NULL, '2012-09-25 13:00:08.986000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.027000' WHERE "spree_products"."id" = 249 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 249, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.032000' WHERE "spree_products"."id" = 249  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (732, 225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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" != 249) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 249 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 155 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 155) ORDER 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 13:00:09.050000', 'PDF', 155, 2, NULL, '2012-09-25 13:00:09.050000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.066000' WHERE "spree_products"."id" = 249 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 249, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.068000' WHERE "spree_products"."id" = 249  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (733, 226) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 AND ("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" != 249) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 249 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 155 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 155) ORDER 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 13:00:09.079000', 'PNG', 155, 3, NULL, '2012-09-25 13:00:09.079000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.086000' WHERE "spree_products"."id" = 249 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 249, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.088000' WHERE "spree_products"."id" = 249  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (734, 227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 AND ("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" != 249) 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" != 249) 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" != 249) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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" = 249 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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" = 732 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 733 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 734 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" != 249) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.133000' WHERE "spree_products"."id" = 249  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 732 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.138000' WHERE "spree_products"."id" = 249 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.140000' WHERE "spree_products"."id" = 249  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 733 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.168000' WHERE "spree_products"."id" = 249 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 249 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.170000' WHERE "spree_products"."id" = 249  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 734 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.172000' WHERE "spree_products"."id" = 249 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" != 249) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 249 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 13:00:09.177000' WHERE "spree_products"."id" = 249 Row org.apache.poi.hssf.usermodel.HSSFRow@66174f succesfully SAVED : ID 249 Current value to assign : DEMO_002 Current value to 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 13:00:09.191000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:09.191000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.195000' WHERE "spree_products"."id" = 250 SQL (0.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, 250, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.198000' WHERE "spree_products"."id" = 250  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 735 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.202000' WHERE "spree_products"."id" = 250  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 250  (1.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:09.218000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:09.218000') Created New Property # SQL (2.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:09.222000', NULL, 182, '2012-09-25 13:00:09.222000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 250, "updated_at" = '2012-09-25 13:00:09.225000' WHERE "spree_product_properties"."id" = 212 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" != 250) 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" != 250) 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" != 250) 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" = 318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 250 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (250, 583) 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" != 250) LIMIT 1 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 13:00:09.251000', 'Oils', '2012-09-25 13:00:09.251000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 320 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 13:00:09.258000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 320, '2012-09-25 13:00:09.258000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (250, 585) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 250) 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" = 318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 583 AND "spree_taxons"."taxonomy_id" = 318 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" = 583 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 13:00:09.277000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 583, 'paintings/nature', 0, 8, 318, '2012-09-25 13:00:09.277000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 583 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 586 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 = 586 THEN 583 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 583 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 586 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 586 AND "spree_taxons"."taxonomy_id" = 318 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" = 586 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 13:00:09.292000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 586, 'paintings/nature/seascape', 0, 10, 318, '2012-09-25 13:00:09.292000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 586 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 587 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 = 587 THEN 586 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 586 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 587 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (250, 586)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (250, 587) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 250) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 250 AND "spree_option_types"."id" = 155 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" = 250) ORDER BY position 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 13:00:09.313000', 155, 1, 250, '2012-09-25 13:00:09.313000') Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 155 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.324000' WHERE "spree_products"."id" = 250 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 250, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.327000' WHERE "spree_products"."id" = 250  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (736, 225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("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" != 250) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 250 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 155 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.349000' WHERE "spree_products"."id" = 250 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 250, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.351000' WHERE "spree_products"."id" = 250  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (737, 226) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("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" != 250) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 250 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 155 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.383000' WHERE "spree_products"."id" = 250 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, 250, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.387000' WHERE "spree_products"."id" = 250  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (738, 227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("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" != 250) 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" != 250) 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" != 250) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 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" = 250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 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" = 736 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 737 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 738 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" != 250) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.420000' WHERE "spree_products"."id" = 250  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 736 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.422000' WHERE "spree_products"."id" = 250 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.429000' WHERE "spree_products"."id" = 250  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 737 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.431000' WHERE "spree_products"."id" = 250 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 250 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.434000' WHERE "spree_products"."id" = 250  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 738 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.436000' WHERE "spree_products"."id" = 250 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 250) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 250 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 13:00:09.441000' WHERE "spree_products"."id" = 250 Row org.apache.poi.hssf.usermodel.HSSFRow@1c4a37b succesfully SAVED : ID 250 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:09.458000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:09.458000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.465000' WHERE "spree_products"."id" = 251 SQL (0.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, 251, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.468000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 739 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.473000' WHERE "spree_products"."id" = 251  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 251  (1.0ms) 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::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 13:00:09.483000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:09.483000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:09.487000', NULL, 183, '2012-09-25 13:00:09.487000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 251, "updated_at" = '2012-09-25 13:00:09.489000' WHERE "spree_product_properties"."id" = 213 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" != 251) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:09.494000', NULL, 182, '2012-09-25 13:00:09.494000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 251, "updated_at" = '2012-09-25 13:00:09.498000' WHERE "spree_product_properties"."id" = 214 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" != 251) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:09.503000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:09.503000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:09.505000', NULL, 184, '2012-09-25 13:00:09.505000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 251, "updated_at" = '2012-09-25 13:00:09.511000' WHERE "spree_product_properties"."id" = 215 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" != 251) 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 13:00:09.516000', 'Drawings', '2012-09-25 13:00:09.516000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 321 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 13:00:09.521000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 321, '2012-09-25 13:00:09.521000') 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" = 251 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (251, 588) 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" != 251) 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" = 318 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 583 AND "spree_taxons"."taxonomy_id" = 318 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" = 583 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:09.541000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 583, 'paintings/landscape', 0, 14, 318, '2012-09-25 13:00:09.541000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 583 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 589 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 = 589 THEN 583 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 583 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 589 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (251, 589)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (251, 583) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 251) 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" != 251) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 251 AND "spree_option_types"."id" = 155 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" = 251) ORDER BY position 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 13:00:09.565000', 155, 1, 251, '2012-09-25 13:00:09.565000') 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" = 155 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.571000' WHERE "spree_products"."id" = 251 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 251, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.574000' WHERE "spree_products"."id" = 251  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (740, 225) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("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" != 251) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 251 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 155 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.587000' WHERE "spree_products"."id" = 251 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 251, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.590000' WHERE "spree_products"."id" = 251  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (741, 226) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("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" != 251) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 251 AND "spree_option_types"."id" = 155 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 155 LIMIT 1  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.605000' WHERE "spree_products"."id" = 251 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 251, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.608000' WHERE "spree_products"."id" = 251  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (742, 227) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("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" != 251) 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 13:00:09.618000', 'print_type', 0, 'Print type', '2012-09-25 13:00:09.618000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 156 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" = 251) ORDER BY position 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 13:00:09.638000', 156, 2, 251, '2012-09-25 13:00:09.638000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 156 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 156) ORDER 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 13:00:09.665000', 'black_white', 156, 1, NULL, '2012-09-25 13:00:09.665000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.670000' WHERE "spree_products"."id" = 251 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, 251, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.673000' WHERE "spree_products"."id" = 251  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (743, 228) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("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" != 251) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 251 AND "spree_option_types"."id" = 156 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 156 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 156) ORDER 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 13:00:09.685000', 'colour', 156, 2, NULL, '2012-09-25 13:00:09.685000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.691000' WHERE "spree_products"."id" = 251 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, 251, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.693000' WHERE "spree_products"."id" = 251  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (744, 229) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("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" != 251) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 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" = 251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 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" = 740 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 742 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 743 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 744 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" != 251) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.734000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 740 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.737000' WHERE "spree_products"."id" = 251 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.739000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 741 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.740000' WHERE "spree_products"."id" = 251 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.743000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 742 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.744000' WHERE "spree_products"."id" = 251 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.747000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 743 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.748000' WHERE "spree_products"."id" = 251 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 251 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.751000' WHERE "spree_products"."id" = 251  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 744 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:09.753000' WHERE "spree_products"."id" = 251 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 251) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 251 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 13:00:09.759000' WHERE "spree_products"."id" = 251 Row org.apache.poi.hssf.usermodel.HSSFRow@1bb7285 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 :  (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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 249 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 251 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 251 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (18.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (17.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (17.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:10.355000', 'Paintings', '2012-09-25 13:00:10.355000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 322 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 13:00:10.371000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 322, '2012-09-25 13:00:10.371000')  (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 13:00:10.389000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 322, '2012-09-25 13:00:10.389000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:10.423000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:10.423000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.445000' WHERE "spree_products"."id" = 252 SQL (0.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, 252, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.449000' WHERE "spree_products"."id" = 252  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 745 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.455000' WHERE "spree_products"."id" = 252  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 252  (1.0ms) 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::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 13:00:10.472000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:10.472000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:10.476000', NULL, 185, '2012-09-25 13:00:10.476000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 252, "updated_at" = '2012-09-25 13:00:10.481000' WHERE "spree_product_properties"."id" = 216 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" != 252) 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" = 322 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 252 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (252, 590) 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 13:00:10.500000', 'WaterColour', '2012-09-25 13:00:10.500000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 323 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 13:00:10.542000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 323, '2012-09-25 13:00:10.542000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (252, 592) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 252) 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" != 252) LIMIT 1 Spree::OptionType Load (0.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 13:00:10.562000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:10.562000') 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" = 252 AND "spree_option_types"."id" = 157 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" = 252) 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 13:00:10.578000', 157, 1, 252, '2012-09-25 13:00:10.578000') 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" = 157 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 157) ORDER 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 13:00:10.607000', 'jpeg', 157, 1, NULL, '2012-09-25 13:00:10.607000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.614000' WHERE "spree_products"."id" = 252 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 252, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.616000' WHERE "spree_products"."id" = 252  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (746, 230) 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" = 157 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 157) ORDER 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 13:00:10.621000', 'PDF', 157, 2, NULL, '2012-09-25 13:00:10.621000') Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.626000' WHERE "spree_products"."id" = 252 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 252, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.631000' WHERE "spree_products"."id" = 252  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (747, 231) 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" = 157 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 157) ORDER 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 13:00:10.636000', 'PNG', 157, 3, NULL, '2012-09-25 13:00:10.636000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.650000' WHERE "spree_products"."id" = 252 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 252, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.655000' WHERE "spree_products"."id" = 252  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (748, 232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("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" != 252) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 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" = 252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 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" = 746 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 747 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 748 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" != 252) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.680000' WHERE "spree_products"."id" = 252  (4.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 746 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.713000' WHERE "spree_products"."id" = 252 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.720000' WHERE "spree_products"."id" = 252  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 747 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.722000' WHERE "spree_products"."id" = 252 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 252 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.724000' WHERE "spree_products"."id" = 252  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 748 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.729000' WHERE "spree_products"."id" = 252 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 252) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 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 13:00:10.734000' WHERE "spree_products"."id" = 252 Row org.apache.poi.hssf.usermodel.HSSFRow@94066d succesfully SAVED : ID 252 Current value to assign : DEMO_002 Current value to 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 13:00:10.751000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:10.751000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.757000' WHERE "spree_products"."id" = 253 SQL (0.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, 253, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.764000' WHERE "spree_products"."id" = 253  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 749 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.767000' WHERE "spree_products"."id" = 253  (33.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 253  (1.0ms) 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::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 13:00:10.809000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:10.809000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:10.820000', NULL, 186, '2012-09-25 13:00:10.820000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 253, "updated_at" = '2012-09-25 13:00:10.823000' WHERE "spree_product_properties"."id" = 217 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" != 253) 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" = 322 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" = 253 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (253, 590) 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 13:00:10.831000', 'Oils', '2012-09-25 13:00:10.831000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 324 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (4.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 13:00:10.841000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 324, '2012-09-25 13:00:10.841000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (253, 593) 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" = 322 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" = 590 AND "spree_taxons"."taxonomy_id" = 322 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" = 590 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 13:00:10.859000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 590, 'paintings/nature', 0, 10, 322, '2012-09-25 13:00:10.859000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 590 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 594 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 590 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 594 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 594 AND "spree_taxons"."taxonomy_id" = 322 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" = 594 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 13:00:10.890000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 594, 'paintings/nature/seascape', 0, 12, 322, '2012-09-25 13:00:10.890000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 594 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 595 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 594 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 595 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (253, 594)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (253, 595) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 253) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 253 AND "spree_option_types"."id" = 157 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" = 253) ORDER BY position 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 13:00:10.912000', 157, 1, 253, '2012-09-25 13:00:10.912000') 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" = 157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.918000' WHERE "spree_products"."id" = 253 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 253, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.921000' WHERE "spree_products"."id" = 253  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (750, 230) 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" = 157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.932000' WHERE "spree_products"."id" = 253 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 253, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.934000' WHERE "spree_products"."id" = 253  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (751, 231) 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" = 157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.939000' WHERE "spree_products"."id" = 253 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 253, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.942000' WHERE "spree_products"."id" = 253  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (752, 232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 Spree::Variant Load (4.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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" != 253) 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" != 253) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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" = 253 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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" = 750 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 751 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 752 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" != 253) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.982000' WHERE "spree_products"."id" = 253  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 750 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.984000' WHERE "spree_products"."id" = 253 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.985000' WHERE "spree_products"."id" = 253  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 751 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.987000' WHERE "spree_products"."id" = 253 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 253 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.989000' WHERE "spree_products"."id" = 253  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 752 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:10.991000' WHERE "spree_products"."id" = 253 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 253) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 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 13:00:10.996000' WHERE "spree_products"."id" = 253 Row org.apache.poi.hssf.usermodel.HSSFRow@d6758f succesfully SAVED : ID 253 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:11.024000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:11.024000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.036000' WHERE "spree_products"."id" = 254 SQL (0.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, 254, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.039000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 753 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.042000' WHERE "spree_products"."id" = 254  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 254  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:11.065000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:11.065000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:11.068000', NULL, 187, '2012-09-25 13:00:11.068000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 254, "updated_at" = '2012-09-25 13:00:11.071000' WHERE "spree_product_properties"."id" = 218 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 13:00:11.093000', NULL, 186, '2012-09-25 13:00:11.093000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 254, "updated_at" = '2012-09-25 13:00:11.095000' WHERE "spree_product_properties"."id" = 219 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 13:00:11.105000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:11.105000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:11.107000', NULL, 188, '2012-09-25 13:00:11.107000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 254, "updated_at" = '2012-09-25 13:00:11.109000' WHERE "spree_product_properties"."id" = 220 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" != 254) 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 13:00:11.114000', 'Drawings', '2012-09-25 13:00:11.114000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 325 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 13:00:11.119000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 325, '2012-09-25 13:00:11.119000') 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" = 254 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (254, 596) 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" = 322 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" = 590 AND "spree_taxons"."taxonomy_id" = 322 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 590 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 13:00:11.141000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 590, 'paintings/landscape', 0, 16, 322, '2012-09-25 13:00:11.141000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 590 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 597 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 597 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" = 590 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 597 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (254, 597)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (254, 590) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 254) 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" != 254) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 254 AND "spree_option_types"."id" = 157 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" = 254) 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 13:00:11.167000', 157, 1, 254, '2012-09-25 13:00:11.167000') 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" = 157 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.174000' WHERE "spree_products"."id" = 254 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 254, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.180000' WHERE "spree_products"."id" = 254  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (754, 230) 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" = 157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.187000' WHERE "spree_products"."id" = 254 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 254, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.189000' WHERE "spree_products"."id" = 254  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (755, 231) 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" = 157 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.194000' WHERE "spree_products"."id" = 254 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 254, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.196000' WHERE "spree_products"."id" = 254  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (756, 232) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 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 13:00:11.202000', 'print_type', 0, 'Print type', '2012-09-25 13:00:11.202000') 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" = 254 AND "spree_option_types"."id" = 158 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" = 254) ORDER BY position 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 13:00:11.267000', 158, 2, 254, '2012-09-25 13:00:11.267000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 158 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 158) 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 13:00:11.272000', 'black_white', 158, 1, NULL, '2012-09-25 13:00:11.272000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.291000' WHERE "spree_products"."id" = 254 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 254, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.294000' WHERE "spree_products"."id" = 254  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (757, 233) 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" = 158 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 158) ORDER 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 13:00:11.298000', 'colour', 158, 2, NULL, '2012-09-25 13:00:11.298000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.304000' WHERE "spree_products"."id" = 254 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, 254, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.306000' WHERE "spree_products"."id" = 254  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (758, 234) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("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" != 254) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 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" = 254 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 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" = 754 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" = 755 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" = 756 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 757 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 254) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 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" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.353000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 754 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.355000' WHERE "spree_products"."id" = 254 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.358000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 755 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.360000' WHERE "spree_products"."id" = 254 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.363000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 756 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.364000' WHERE "spree_products"."id" = 254 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.366000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 757 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.368000' WHERE "spree_products"."id" = 254 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 254 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.372000' WHERE "spree_products"."id" = 254  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 758 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.374000' WHERE "spree_products"."id" = 254 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 254) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 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 13:00:11.385000' WHERE "spree_products"."id" = 254 Row org.apache.poi.hssf.usermodel.HSSFRow@1c47258 succesfully SAVED : ID 254 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 253 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 254 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 252 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 252 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (27.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 746 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 747 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 157 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 748 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (25.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:11.580000', 'Paintings', '2012-09-25 13:00:11.580000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 326 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 13:00:11.589000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 326, '2012-09-25 13:00:11.589000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:11.599000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 326, '2012-09-25 13:00:11.599000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:11.639000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:11.639000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.645000' WHERE "spree_products"."id" = 255 SQL (0.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, 255, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.671000' WHERE "spree_products"."id" = 255  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 759 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.678000' WHERE "spree_products"."id" = 255  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 255  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:11.687000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:11.687000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:11.690000', NULL, 189, '2012-09-25 13:00:11.690000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 255, "updated_at" = '2012-09-25 13:00:11.692000' WHERE "spree_product_properties"."id" = 221 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 255) 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" != 255) 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" != 255) 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" = 326 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" = 255 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (255, 598) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 255) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:11.708000', 'WaterColour', '2012-09-25 13:00:11.708000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 327 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 13:00:11.732000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 327, '2012-09-25 13:00:11.732000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (255, 600) 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" != 255) 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" != 255) LIMIT 1 Spree::OptionType Load (0.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 13:00:11.772000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:11.772000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 159 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" = 255) ORDER BY position 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 13:00:11.787000', 159, 1, 255, '2012-09-25 13:00:11.787000') 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" = 159 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 159) ORDER 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 13:00:11.797000', 'jpeg', 159, 1, NULL, '2012-09-25 13:00:11.797000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.826000' WHERE "spree_products"."id" = 255 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, 255, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.829000' WHERE "spree_products"."id" = 255  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (760, 235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("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" != 255) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 255 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 159 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 159) ORDER 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 13:00:11.867000', 'PDF', 159, 2, NULL, '2012-09-25 13:00:11.867000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.873000' WHERE "spree_products"."id" = 255 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 255, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.874000' WHERE "spree_products"."id" = 255  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (761, 236) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 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" != 255) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 255 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 159 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 159) ORDER 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 13:00:11.894000', 'PNG', 159, 3, NULL, '2012-09-25 13:00:11.894000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.898000' WHERE "spree_products"."id" = 255 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 255, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.907000' WHERE "spree_products"."id" = 255  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (762, 237) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("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" != 255) 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" != 255) 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" != 255) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 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" = 255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 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" = 760 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 761 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 762 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" != 255) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.950000' WHERE "spree_products"."id" = 255  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 760 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.952000' WHERE "spree_products"."id" = 255 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.954000' WHERE "spree_products"."id" = 255  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 761 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.956000' WHERE "spree_products"."id" = 255 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 255 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.959000' WHERE "spree_products"."id" = 255  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 762 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.961000' WHERE "spree_products"."id" = 255 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 255) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 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 13:00:11.965000' WHERE "spree_products"."id" = 255 Row org.apache.poi.hssf.usermodel.HSSFRow@171eaca succesfully SAVED : ID 255 Current value to assign : DEMO_002 Current value to 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 (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 13:00:11.977000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:11.977000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.982000' WHERE "spree_products"."id" = 256 SQL (0.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, 256, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.984000' WHERE "spree_products"."id" = 256  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 763 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:11.989000' WHERE "spree_products"."id" = 256  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 256  (0.0ms) 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::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 13:00:11.996000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:11.996000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:11.998000', NULL, 190, '2012-09-25 13:00:11.998000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 256, "updated_at" = '2012-09-25 13:00:12.000000' WHERE "spree_product_properties"."id" = 222 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" != 256) 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" != 256) 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" != 256) 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" = 326 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 256 Product assigned to Taxons : ["Paintings"]  (5.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (256, 598) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 256) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:12.025000', 'Oils', '2012-09-25 13:00:12.025000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 328 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 13:00:12.030000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 328, '2012-09-25 13:00:12.030000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (256, 601) 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" != 256) 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" = 326 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" = 598 AND "spree_taxons"."taxonomy_id" = 326 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" = 598 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 13:00:12.044000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 598, 'paintings/nature', 0, 10, 326, '2012-09-25 13:00:12.044000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 598 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 602 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 602 THEN 598 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 598 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 602 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 602 AND "spree_taxons"."taxonomy_id" = 326 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" = 602 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:12.078000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 602, 'paintings/nature/seascape', 0, 12, 326, '2012-09-25 13:00:12.078000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 602 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 603 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 603 THEN 602 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 602 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 603 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (256, 602)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (256, 603) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 256) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 256 AND "spree_option_types"."id" = 159 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" = 256) ORDER BY position 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 13:00:12.097000', 159, 1, 256, '2012-09-25 13:00:12.097000') 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" = 159 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.103000' WHERE "spree_products"."id" = 256 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 256, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.105000' WHERE "spree_products"."id" = 256  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (764, 235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("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" != 256) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 256 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 159 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.118000' WHERE "spree_products"."id" = 256 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, 256, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.120000' WHERE "spree_products"."id" = 256  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (765, 236) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 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" != 256) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 256 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 159 LIMIT 1  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.134000' WHERE "spree_products"."id" = 256 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 256, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.137000' WHERE "spree_products"."id" = 256  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (766, 237) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("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" != 256) 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" != 256) 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" != 256) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 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" = 256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 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" = 764 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 765 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 766 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" != 256) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.160000' WHERE "spree_products"."id" = 256  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 764 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.163000' WHERE "spree_products"."id" = 256 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.165000' WHERE "spree_products"."id" = 256  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 765 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.166000' WHERE "spree_products"."id" = 256 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 256 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.170000' WHERE "spree_products"."id" = 256  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 766 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.171000' WHERE "spree_products"."id" = 256 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 256) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 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 13:00:12.176000' WHERE "spree_products"."id" = 256 Row org.apache.poi.hssf.usermodel.HSSFRow@1869dcd succesfully SAVED : ID 256 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:12.187000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:12.187000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.191000' WHERE "spree_products"."id" = 257 SQL (0.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, 257, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.193000' WHERE "spree_products"."id" = 257  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 767 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.195000' WHERE "spree_products"."id" = 257  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 257  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:12.202000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:12.202000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:12.211000', NULL, 191, '2012-09-25 13:00:12.211000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 257, "updated_at" = '2012-09-25 13:00:12.213000' WHERE "spree_product_properties"."id" = 223 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" != 257) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:12.219000', NULL, 190, '2012-09-25 13:00:12.219000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 257, "updated_at" = '2012-09-25 13:00:12.223000' WHERE "spree_product_properties"."id" = 224 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" != 257) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:12.234000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:12.234000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:12.237000', NULL, 192, '2012-09-25 13:00:12.237000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 257, "updated_at" = '2012-09-25 13:00:12.241000' WHERE "spree_product_properties"."id" = 225 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 257) 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 13:00:12.247000', 'Drawings', '2012-09-25 13:00:12.247000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 329 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 13:00:12.252000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 329, '2012-09-25 13:00:12.252000') 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" = 257 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (257, 604) 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" != 257) 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" = 326 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" = 598 AND "spree_taxons"."taxonomy_id" = 326 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 598 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 13:00:12.263000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 598, 'paintings/landscape', 0, 16, 326, '2012-09-25 13:00:12.263000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 598 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 605 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 605 THEN 598 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 598 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 605 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (257, 605)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (257, 598) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 257) 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" != 257) 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" = 257 AND "spree_option_types"."id" = 159 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" = 257) ORDER BY position 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 13:00:12.287000', 159, 1, 257, '2012-09-25 13:00:12.287000') 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" = 159 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.295000' WHERE "spree_products"."id" = 257 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 257, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.298000' WHERE "spree_products"."id" = 257  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (768, 235) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("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" != 257) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 257 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 159 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.315000' WHERE "spree_products"."id" = 257 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 257, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.316000' WHERE "spree_products"."id" = 257  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (769, 236) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("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" != 257) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 257 AND "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 159 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.330000' WHERE "spree_products"."id" = 257 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 257, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.332000' WHERE "spree_products"."id" = 257  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (770, 237) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("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" != 257) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:00:12.343000', 'print_type', 0, 'Print type', '2012-09-25 13:00:12.343000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 160 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" = 257) ORDER BY position 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 13:00:12.395000', 160, 2, 257, '2012-09-25 13:00:12.395000') 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" = 160 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 160) 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 13:00:12.401000', 'black_white', 160, 1, NULL, '2012-09-25 13:00:12.401000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.411000' WHERE "spree_products"."id" = 257 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, 257, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.414000' WHERE "spree_products"."id" = 257  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (771, 238) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 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" != 257) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 257 AND "spree_option_types"."id" = 160 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 160 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 160) ORDER 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 13:00:12.471000', 'colour', 160, 2, NULL, '2012-09-25 13:00:12.471000')  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.485000' WHERE "spree_products"."id" = 257 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 257, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.486000' WHERE "spree_products"."id" = 257  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (772, 239) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("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" != 257) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 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" = 257 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" = 257 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" = 768 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 770 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 771 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 772 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" != 257) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 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" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.536000' WHERE "spree_products"."id" = 257  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 768 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.539000' WHERE "spree_products"."id" = 257 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.541000' WHERE "spree_products"."id" = 257  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 769 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.543000' WHERE "spree_products"."id" = 257 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.548000' WHERE "spree_products"."id" = 257  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 770 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.550000' WHERE "spree_products"."id" = 257 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.553000' WHERE "spree_products"."id" = 257  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 771 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.555000' WHERE "spree_products"."id" = 257 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 257 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.557000' WHERE "spree_products"."id" = 257  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 772 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.559000' WHERE "spree_products"."id" = 257 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" != 257) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 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 13:00:12.565000' WHERE "spree_products"."id" = 257 Row org.apache.poi.hssf.usermodel.HSSFRow@2c5083 succesfully SAVED : ID 257 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 256 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 257 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 255 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 255 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 760 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 761 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 159 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 762 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (18.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:12.827000', 'Paintings', '2012-09-25 13:00:12.827000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 330 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 13:00:12.834000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 330, '2012-09-25 13:00:12.834000')  (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 13:00:12.841000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 330, '2012-09-25 13:00:12.841000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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 13:00:12.891000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:12.891000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.896000' WHERE "spree_products"."id" = 258 SQL (0.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, 258, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.899000' WHERE "spree_products"."id" = 258  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 773 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.901000' WHERE "spree_products"."id" = 258  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 258  (1.0ms) 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::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 13:00:12.926000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:12.926000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:12.932000', NULL, 193, '2012-09-25 13:00:12.932000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 258, "updated_at" = '2012-09-25 13:00:12.934000' WHERE "spree_product_properties"."id" = 226 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 258) 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" = 330 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" = 258 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (258, 606) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 258) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:12.957000', 'WaterColour', '2012-09-25 13:00:12.957000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 331 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 13:00:12.963000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 331, '2012-09-25 13:00:12.963000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (258, 608) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 258) LIMIT 1 Spree::OptionType Load (0.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 13:00:12.976000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:12.976000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 161 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" = 258) ORDER BY position 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 13:00:12.984000', 161, 1, 258, '2012-09-25 13:00:12.984000') 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" = 161 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 161) ORDER 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 13:00:12.990000', 'jpeg', 161, 1, NULL, '2012-09-25 13:00:12.990000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.994000' WHERE "spree_products"."id" = 258 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, 258, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:12.996000' WHERE "spree_products"."id" = 258  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (774, 240) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("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" != 258) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 258 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 161 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 161) ORDER 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 13:00:13.024000', 'PDF', 161, 2, NULL, '2012-09-25 13:00:13.024000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.034000' WHERE "spree_products"."id" = 258 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 258, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.036000' WHERE "spree_products"."id" = 258  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (775, 241) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("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" != 258) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 258 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 161 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 161) ORDER 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 13:00:13.051000', 'PNG', 161, 3, NULL, '2012-09-25 13:00:13.051000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.056000' WHERE "spree_products"."id" = 258 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 258, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.058000' WHERE "spree_products"."id" = 258  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (776, 242) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("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" != 258) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 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" = 258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 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" = 774 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" = 775 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 776 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" != 258) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.094000' WHERE "spree_products"."id" = 258  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 774 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.096000' WHERE "spree_products"."id" = 258 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.098000' WHERE "spree_products"."id" = 258  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 775 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.099000' WHERE "spree_products"."id" = 258 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 258 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.102000' WHERE "spree_products"."id" = 258  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 776 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.104000' WHERE "spree_products"."id" = 258 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 258) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 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 13:00:13.108000' WHERE "spree_products"."id" = 258 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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 13:00:13.117000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:13.117000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.122000' WHERE "spree_products"."id" = 259 SQL (0.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, 259, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.124000' WHERE "spree_products"."id" = 259  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 777 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.126000' WHERE "spree_products"."id" = 259  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 259  (0.0ms) 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::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 13:00:13.141000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:13.141000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:13.145000', NULL, 194, '2012-09-25 13:00:13.145000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 259, "updated_at" = '2012-09-25 13:00:13.149000' WHERE "spree_product_properties"."id" = 227 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) 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" = 330 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" = 259 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (259, 606) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:13.168000', 'Oils', '2012-09-25 13:00:13.168000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 332 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 13:00:13.171000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 332, '2012-09-25 13:00:13.171000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (259, 609) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) 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" = 330 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" = 606 AND "spree_taxons"."taxonomy_id" = 330 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" = 606 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 13:00:13.181000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 606, 'paintings/nature', 0, 10, 330, '2012-09-25 13:00:13.181000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 606 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 610 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 610 THEN 606 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 606 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 610 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 610 AND "spree_taxons"."taxonomy_id" = 330 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" = 610 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 13:00:13.194000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 610, 'paintings/nature/seascape', 0, 12, 330, '2012-09-25 13:00:13.194000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 610 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 611 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 611 THEN 610 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 610 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 611 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (259, 610)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (259, 611) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 259 AND "spree_option_types"."id" = 161 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" = 259) ORDER BY position 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 13:00:13.217000', 161, 1, 259, '2012-09-25 13:00:13.217000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 161 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.227000' WHERE "spree_products"."id" = 259 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 259, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.229000' WHERE "spree_products"."id" = 259  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (778, 240) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("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" != 259) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 259 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 161 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.242000' WHERE "spree_products"."id" = 259 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, 259, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.245000' WHERE "spree_products"."id" = 259  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (779, 241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("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" != 259) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 259 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 161 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.259000' WHERE "spree_products"."id" = 259 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, 259, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.261000' WHERE "spree_products"."id" = 259  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (780, 242) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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" != 259) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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" = 259 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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" = 778 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.339000' WHERE "spree_products"."id" = 259  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 778 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.341000' WHERE "spree_products"."id" = 259 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.343000' WHERE "spree_products"."id" = 259  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 779 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.345000' WHERE "spree_products"."id" = 259 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 259 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.348000' WHERE "spree_products"."id" = 259  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 780 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.349000' WHERE "spree_products"."id" = 259 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 259) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 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 13:00:13.357000' WHERE "spree_products"."id" = 259 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:13.366000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:13.366000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.369000' WHERE "spree_products"."id" = 260 SQL (0.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, 260, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.372000' WHERE "spree_products"."id" = 260  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 781 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.377000' WHERE "spree_products"."id" = 260  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 260  (0.0ms) 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::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 13:00:13.384000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:13.384000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:13.387000', NULL, 195, '2012-09-25 13:00:13.387000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 260, "updated_at" = '2012-09-25 13:00:13.389000' WHERE "spree_product_properties"."id" = 228 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" != 260) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:13.395000', NULL, 194, '2012-09-25 13:00:13.395000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 260, "updated_at" = '2012-09-25 13:00:13.397000' WHERE "spree_product_properties"."id" = 229 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 260) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:13.402000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:13.402000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:13.404000', NULL, 196, '2012-09-25 13:00:13.404000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 260, "updated_at" = '2012-09-25 13:00:13.420000' WHERE "spree_product_properties"."id" = 230 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" != 260) 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 13:00:13.427000', 'Drawings', '2012-09-25 13:00:13.427000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 333 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 13:00:13.432000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 333, '2012-09-25 13:00:13.432000') 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" = 260 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (260, 612) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 260) 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" = 330 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" = 606 AND "spree_taxons"."taxonomy_id" = 330 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" = 606 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 13:00:13.444000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 606, 'paintings/landscape', 0, 16, 330, '2012-09-25 13:00:13.444000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 606 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 613 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 613 THEN 606 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 606 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 613 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (260, 613)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (260, 606) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 260) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 260 AND "spree_option_types"."id" = 161 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" = 260) ORDER BY position 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 13:00:13.466000', 161, 1, 260, '2012-09-25 13:00:13.466000') 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" = 161 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.473000' WHERE "spree_products"."id" = 260 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 260, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.477000' WHERE "spree_products"."id" = 260  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (782, 240) Spree::Product Load (4.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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" != 260) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 260 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 161 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.523000' WHERE "spree_products"."id" = 260 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 260, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.525000' WHERE "spree_products"."id" = 260  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (783, 241) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("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" != 260) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 260 AND "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 161 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.550000' WHERE "spree_products"."id" = 260 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 260, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.553000' WHERE "spree_products"."id" = 260  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (784, 242) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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" != 260) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:00:13.560000', 'print_type', 0, 'Print type', '2012-09-25 13:00:13.560000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 162 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" = 260) ORDER BY position 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 13:00:13.572000', 162, 2, 260, '2012-09-25 13:00:13.572000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 162 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 162) ORDER 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 13:00:13.576000', 'black_white', 162, 1, NULL, '2012-09-25 13:00:13.576000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (22.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.581000' WHERE "spree_products"."id" = 260 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 260, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.606000' WHERE "spree_products"."id" = 260  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (785, 243) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("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" != 260) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 260 AND "spree_option_types"."id" = 162 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 162 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 162) ORDER 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 13:00:13.616000', 'colour', 162, 2, NULL, '2012-09-25 13:00:13.616000')  (2.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.627000' WHERE "spree_products"."id" = 260 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 260, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.630000' WHERE "spree_products"."id" = 260  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (786, 244) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("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" != 260) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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" = 260 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" = 260 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" = 782 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 784 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 785 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 786 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" != 260) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.659000' WHERE "spree_products"."id" = 260  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 782 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.661000' WHERE "spree_products"."id" = 260 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.663000' WHERE "spree_products"."id" = 260  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 783 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.665000' WHERE "spree_products"."id" = 260 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.666000' WHERE "spree_products"."id" = 260  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 784 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.668000' WHERE "spree_products"."id" = 260 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.670000' WHERE "spree_products"."id" = 260  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 785 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.671000' WHERE "spree_products"."id" = 260 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 260 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.673000' WHERE "spree_products"."id" = 260  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 786 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.675000' WHERE "spree_products"."id" = 260 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 260) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 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 13:00:13.679000' WHERE "spree_products"."id" = 260  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 259 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 260 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 258 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 258 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 774 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 775 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 161 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 776 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (28.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:13.778000', 'Paintings', '2012-09-25 13:00:13.778000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 334 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 13:00:13.783000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 334, '2012-09-25 13:00:13.783000')  (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 13:00:13.791000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 334, '2012-09-25 13:00:13.791000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:13.815000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:13.815000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.820000' WHERE "spree_products"."id" = 261 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, 261, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.823000' WHERE "spree_products"."id" = 261  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 787 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.853000' WHERE "spree_products"."id" = 261  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 261  (0.0ms) 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::OptionType Load (0.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 13:00:13.861000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:13.861000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 163 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" = 261) ORDER BY position 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 13:00:13.870000', 163, 1, 261, '2012-09-25 13:00:13.870000') 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 13:00:13.874000', 'print_type', 0, 'Print type', '2012-09-25 13:00:13.874000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 261 AND "spree_option_types"."id" = 164 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" = 261) ORDER BY position 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 13:00:13.908000', 164, 2, 261, '2012-09-25 13:00:13.908000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 163 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 163) ORDER 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 13:00:13.939000', 'jpeg', 163, 1, NULL, '2012-09-25 13:00:13.939000') 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" = 164 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 164) ORDER 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 13:00:13.947000', 'colour', 164, 1, NULL, '2012-09-25 13:00:13.947000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.951000' WHERE "spree_products"."id" = 261 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 261, 'MV_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.953000' WHERE "spree_products"."id" = 261  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (788, 245)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (788, 246) 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" = 163 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 163) ORDER 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 13:00:13.960000', 'PDF', 163, 2, NULL, '2012-09-25 13:00:13.960000') 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" = 164 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.966000' WHERE "spree_products"."id" = 261 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 261, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.968000' WHERE "spree_products"."id" = 261  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (789, 247)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (789, 246) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("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" != 261) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 261 AND "spree_option_types"."id" = 163 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 163 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 163) ORDER 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 13:00:13.985000', 'PNG', 163, 3, NULL, '2012-09-25 13:00:13.985000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.990000' WHERE "spree_products"."id" = 261 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 261, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:13.993000' WHERE "spree_products"."id" = 261  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (790, 248) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("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" != 261) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 788 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 789 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 790 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" != 261) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.011000' WHERE "spree_products"."id" = 261  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 788 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.013000' WHERE "spree_products"."id" = 261 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.016000' WHERE "spree_products"."id" = 261  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 789 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.017000' WHERE "spree_products"."id" = 261 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 261 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.019000' WHERE "spree_products"."id" = 261  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 790 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.021000' WHERE "spree_products"."id" = 261 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 261) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:14.043000' WHERE "spree_products"."id" = 261 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (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 ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:14.053000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:14.053000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.057000' WHERE "spree_products"."id" = 262 SQL (0.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, 262, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.058000' WHERE "spree_products"."id" = 262  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 791 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.061000' WHERE "spree_products"."id" = 262  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 262  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 262 AND "spree_option_types"."id" = 163 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" = 262) ORDER BY position 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 13:00:14.070000', 163, 1, 262, '2012-09-25 13:00:14.070000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 262 AND "spree_option_types"."id" = 164 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" = 262) ORDER BY position 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 13:00:14.082000', 164, 2, 262, '2012-09-25 13:00:14.082000') 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" = 164 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 164) ORDER 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 13:00:14.090000', 'black_white', 164, 2, NULL, '2012-09-25 13:00:14.090000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 163 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.094000' WHERE "spree_products"."id" = 262 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 262, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.096000' WHERE "spree_products"."id" = 262  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (792, 249)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (792, 245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("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" != 262) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 262 AND "spree_option_types"."id" = 163 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 262 AND "spree_option_types"."id" = 164 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 164 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 163 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.116000' WHERE "spree_products"."id" = 262 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 262, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.118000' WHERE "spree_products"."id" = 262  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (793, 249)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (793, 248) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 262 AND ("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" != 262) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 793 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" != 262) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.141000' WHERE "spree_products"."id" = 262  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 792 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.143000' WHERE "spree_products"."id" = 262 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 262 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.146000' WHERE "spree_products"."id" = 262  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 793 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.148000' WHERE "spree_products"."id" = 262 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 262) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-25 13:00:14.152000' WHERE "spree_products"."id" = 262 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:14.162000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:14.162000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.166000' WHERE "spree_products"."id" = 263 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, 263, 'MV_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.170000' WHERE "spree_products"."id" = 263  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 794 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.173000' WHERE "spree_products"."id" = 263  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 263  (0.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 263 AND "spree_option_types"."id" = 163 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" = 263) ORDER BY position 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 13:00:14.188000', 163, 1, 263, '2012-09-25 13:00:14.188000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 263 AND "spree_option_types"."id" = 164 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" = 263) ORDER BY position 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 13:00:14.194000', 164, 2, 263, '2012-09-25 13:00:14.194000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:00:14.198000', 'size', 0, 'Size', '2012-09-25 13:00:14.198000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 263 AND "spree_option_types"."id" = 165 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" = 263) 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 13:00:14.203000', 165, 3, 263, '2012-09-25 13:00:14.203000') 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" = 164 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 165 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 165) ORDER 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 13:00:14.207000', 'large', 165, 1, NULL, '2012-09-25 13:00:14.207000') 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" = 163 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.213000' WHERE "spree_products"."id" = 263 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 263, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.215000' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (795, 246)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (795, 250)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (795, 245) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 164 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 164) ORDER 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 13:00:14.250000', 'sepia', 164, 3, NULL, '2012-09-25 13:00:14.250000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 165 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 163 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.257000' WHERE "spree_products"."id" = 263 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 263, 'MV_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.259000' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (796, 251)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (796, 250)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (796, 245) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 263 AND "spree_option_types"."id" = 163 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 163 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.271000' WHERE "spree_products"."id" = 263 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 263, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.274000' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (797, 248) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("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" != 263) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 263 AND "spree_option_types"."id" = 163 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 163 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.290000' WHERE "spree_products"."id" = 263 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 263, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.293000' WHERE "spree_products"."id" = 263  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (798, 247) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 263 AND "spree_option_types"."id" = 164 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 164 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.303000' WHERE "spree_products"."id" = 263 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 263, 'MV_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.305000' WHERE "spree_products"."id" = 263  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (799, 249) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 263 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("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" != 263) LIMIT 1  (0.0ms) 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.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 263 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 263) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 261 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 261 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 788 Booted Spree using version 1.1.3 SQL (30.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:00:14.697000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:14.697000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.701000' WHERE "spree_products"."id" = 264 SQL (2.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 399.99, 264, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.705000' WHERE "spree_products"."id" = 264  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 800 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.718000' WHERE "spree_products"."id" = 264  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 264  (0.0ms) 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.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 13:00:14.740000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:14.740000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:14.742000', NULL, 197, '2012-09-25 13:00:14.742000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 264, "updated_at" = '2012-09-25 13:00:14.744000' WHERE "spree_product_properties"."id" = 231 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" != 264) 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 13:00:14.751000', 'Paintings', '2012-09-25 13:00:14.751000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 335 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 13:00:14.784000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 335, '2012-09-25 13:00:14.784000') 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" = 264 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (264, 616) 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 13:00:14.795000', 'WaterColour', '2012-09-25 13:00:14.795000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 336 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 13:00:14.799000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 336, '2012-09-25 13:00:14.799000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (264, 617) 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" != 264) LIMIT 1 Spree::OptionType Load (0.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 13:00:14.811000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:14.811000') 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" = 264 AND "spree_option_types"."id" = 166 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" = 264) ORDER BY position 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 13:00:14.819000', 166, 1, 264, '2012-09-25 13:00:14.819000') 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" = 166 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 166) 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 13:00:14.824000', 'jpeg', 166, 1, NULL, '2012-09-25 13:00:14.824000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.828000' WHERE "spree_products"."id" = 264 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 264, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.830000' WHERE "spree_products"."id" = 264  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (801, 252) 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" = 166 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 166) ORDER 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 13:00:14.861000', 'PDF', 166, 2, NULL, '2012-09-25 13:00:14.861000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.865000' WHERE "spree_products"."id" = 264 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, 264, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.868000' WHERE "spree_products"."id" = 264  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (802, 253) 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" = 166 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 166) 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 13:00:14.874000', 'PNG', 166, 3, NULL, '2012-09-25 13:00:14.874000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.880000' WHERE "spree_products"."id" = 264 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, 264, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.883000' WHERE "spree_products"."id" = 264  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (803, 254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 AND ("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" != 264) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 802 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 803 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" != 264) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.906000' WHERE "spree_products"."id" = 264  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 801 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.908000' WHERE "spree_products"."id" = 264 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.910000' WHERE "spree_products"."id" = 264  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 802 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.912000' WHERE "spree_products"."id" = 264 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.955000' WHERE "spree_products"."id" = 264  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 803 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:14.958000' WHERE "spree_products"."id" = 264 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 264 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" = 800 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 800 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:00:15.058000', 240, 0, 'Spree::Image', 800, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 264) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:16.101000' WHERE "spree_products"."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 : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:00:16.114000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:16.114000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.153000' WHERE "spree_products"."id" = 265 SQL (0.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, 265, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.155000' WHERE "spree_products"."id" = 265  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 804 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.158000' WHERE "spree_products"."id" = 265  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 265  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:16.166000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:16.166000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:16.169000', NULL, 198, '2012-09-25 13:00:16.169000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 265, "updated_at" = '2012-09-25 13:00:16.171000' WHERE "spree_product_properties"."id" = 232 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" != 265) 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" = 335 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" = 265 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (265, 616) 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 13:00:16.181000', 'Landscape', '2012-09-25 13:00:16.181000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 337 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 13:00:16.186000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 337, '2012-09-25 13:00:16.186000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (265, 618) 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 13:00:16.197000', 'Oils', '2012-09-25 13:00:16.197000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 338 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 13:00:16.203000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 338, '2012-09-25 13:00:16.203000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (265, 619) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_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" = 265 AND "spree_option_types"."id" = 166 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" = 265) ORDER BY position 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 13:00:16.214000', 166, 1, 265, '2012-09-25 13:00:16.214000') 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" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.219000' WHERE "spree_products"."id" = 265 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 265, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.221000' WHERE "spree_products"."id" = 265  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (805, 252) 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" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.228000' WHERE "spree_products"."id" = 265 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 265, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.230000' WHERE "spree_products"."id" = 265  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (806, 253) 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" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.234000' WHERE "spree_products"."id" = 265 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 265, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.236000' WHERE "spree_products"."id" = 265  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (807, 254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 AND ("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" != 265) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 807 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" != 265) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.262000' WHERE "spree_products"."id" = 265  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 805 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.264000' WHERE "spree_products"."id" = 265 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.267000' WHERE "spree_products"."id" = 265  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 806 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.268000' WHERE "spree_products"."id" = 265 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.270000' WHERE "spree_products"."id" = 265  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 807 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:16.272000' WHERE "spree_products"."id" = 265 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 265 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" = 804 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 804 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:00:16.334000', 2424, 0, 'Spree::Image', 804, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 265) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:00:26.622000' WHERE "spree_products"."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 : 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 (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-25 13:00:26.632000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:26.632000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.635000' WHERE "spree_products"."id" = 266 SQL (0.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, 266, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.638000' WHERE "spree_products"."id" = 266  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 808 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.641000' WHERE "spree_products"."id" = 266  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 266  (0.0ms) 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.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 13:00:26.648000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:26.648000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:26.650000', NULL, 199, '2012-09-25 13:00:26.650000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-09-25 13:00:26.652000' WHERE "spree_product_properties"."id" = 233 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 13:00:26.655000', NULL, 198, '2012-09-25 13:00:26.655000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-09-25 13:00:26.656000' WHERE "spree_product_properties"."id" = 234 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 13:00:26.658000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:26.658000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:26.661000', NULL, 200, '2012-09-25 13:00:26.661000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 266, "updated_at" = '2012-09-25 13:00:26.663000' WHERE "spree_product_properties"."id" = 235 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" != 266) 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 13:00:26.667000', 'Drawings', '2012-09-25 13:00:26.667000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 339 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 13:00:26.672000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 339, '2012-09-25 13:00:26.672000') 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" = 266 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (266, 620) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_option_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" = 266 AND "spree_option_types"."id" = 166 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" = 266) ORDER BY position 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 13:00:26.686000', 166, 1, 266, '2012-09-25 13:00:26.686000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.690000' WHERE "spree_products"."id" = 266 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 266, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.692000' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (809, 252) 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" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.696000' WHERE "spree_products"."id" = 266 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 266, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.698000' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (810, 253) 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" = 166 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.703000' WHERE "spree_products"."id" = 266 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 266, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.705000' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (811, 254) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 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 13:00:26.710000', 'print_type', 0, 'Print type', '2012-09-25 13:00:26.710000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 167 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" = 266) ORDER BY position 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 13:00:26.715000', 167, 2, 266, '2012-09-25 13:00:26.715000') 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" = 167 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 167) ORDER 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 13:00:26.719000', 'black_white', 167, 1, NULL, '2012-09-25 13:00:26.719000')  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.724000' WHERE "spree_products"."id" = 266 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 266, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.727000' WHERE "spree_products"."id" = 266  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (812, 255) 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" = 167 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 167) ORDER 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 13:00:26.730000', 'colour', 167, 2, NULL, '2012-09-25 13:00:26.730000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.734000' WHERE "spree_products"."id" = 266 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 266, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.737000' WHERE "spree_products"."id" = 266  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (813, 256) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 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" != 266) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 809 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 812 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 813 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" != 266) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.767000' WHERE "spree_products"."id" = 266  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 809 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.769000' WHERE "spree_products"."id" = 266 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.771000' WHERE "spree_products"."id" = 266  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 810 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.773000' WHERE "spree_products"."id" = 266 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.775000' WHERE "spree_products"."id" = 266  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 811 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.777000' WHERE "spree_products"."id" = 266 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.779000' WHERE "spree_products"."id" = 266  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 812 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.780000' WHERE "spree_products"."id" = 266 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.783000' WHERE "spree_products"."id" = 266  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 813 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:26.784000' WHERE "spree_products"."id" = 266 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" != 266) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 266 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" = 808 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 808 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:00:26.793000', 240, 0, 'Spree::Image', 808, 'Spree::Variant') Product assigned an Image : nil 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" != 266) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:00:27.592000' WHERE "spree_products"."id" = 266 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 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 = 800) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 264)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 800 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 264 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 = 800) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 264)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 265 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 = 804) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 265)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 266 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 = 808) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 266))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (28.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (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  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:27.883000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:27.883000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (29.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:27.888000' WHERE "spree_products"."id" = 267 SQL (0.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, 267, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:27.919000' WHERE "spree_products"."id" = 267  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 814 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:27.921000' WHERE "spree_products"."id" = 267  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 267  (1.0ms) 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.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 13:00:27.929000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:27.929000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:27.937000', NULL, 201, '2012-09-25 13:00:27.937000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 267, "updated_at" = '2012-09-25 13:00:27.939000' WHERE "spree_product_properties"."id" = 236 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" != 267) 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 13:00:27.945000', 'Paintings', '2012-09-25 13:00:27.945000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 340 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 13:00:27.949000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 340, '2012-09-25 13:00:27.949000') 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" = 267 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (267, 621) 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 13:00:27.957000', 'WaterColour', '2012-09-25 13:00:27.957000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 341 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 13:00:27.961000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 341, '2012-09-25 13:00:27.961000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (267, 622) Spree::Product Exists (0.0ms) 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.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 13:00:27.968000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:27.968000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 168 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" = 267) ORDER BY position 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 13:00:27.974000', 168, 1, 267, '2012-09-25 13:00:27.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" = 168 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 168) ORDER 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 13:00:27.978000', 'jpeg', 168, 1, NULL, '2012-09-25 13:00:27.978000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:27.982000' WHERE "spree_products"."id" = 267 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 267, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:27.984000' WHERE "spree_products"."id" = 267  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (815, 257) 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" = 168 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 168) 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 13:00:27.988000', 'PDF', 168, 2, NULL, '2012-09-25 13:00:27.988000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.018000' WHERE "spree_products"."id" = 267 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 267, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.020000' WHERE "spree_products"."id" = 267  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (816, 258) 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" = 168 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 168) ORDER 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 13:00:28.025000', 'PNG', 168, 3, NULL, '2012-09-25 13:00:28.025000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.029000' WHERE "spree_products"."id" = 267 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 267, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.031000' WHERE "spree_products"."id" = 267  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (817, 259) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 AND ("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" != 267) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 816 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 267) LIMIT 1  (1.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.052000' WHERE "spree_products"."id" = 267  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 815 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.053000' WHERE "spree_products"."id" = 267 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.056000' WHERE "spree_products"."id" = 267  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 816 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.057000' WHERE "spree_products"."id" = 267 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.059000' WHERE "spree_products"."id" = 267  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 817 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.061000' WHERE "spree_products"."id" = 267 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 267) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 267 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" = 814 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 814 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:00:28.069000', 240, 0, 'Spree::Image', 814, 'Spree::Variant') Product assigned an Image : nil 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" != 267) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:28.763000' WHERE "spree_products"."id" = 267 Row org.apache.poi.hssf.usermodel.HSSFRow@ae49a5 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.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 13:00:28.775000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:28.775000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.779000' WHERE "spree_products"."id" = 268 SQL (0.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, 268, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.809000' WHERE "spree_products"."id" = 268  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 818 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.811000' WHERE "spree_products"."id" = 268  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 268  (0.0ms) 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.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 13:00:28.817000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:28.817000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:28.820000', NULL, 202, '2012-09-25 13:00:28.820000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 268, "updated_at" = '2012-09-25 13:00:28.822000' WHERE "spree_product_properties"."id" = 237 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" != 268) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 340 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" = 268 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (268, 621) 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 13:00:28.831000', 'Landscape', '2012-09-25 13:00:28.831000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 342 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 13:00:28.835000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 342, '2012-09-25 13:00:28.835000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (268, 623) 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 13:00:28.842000', 'Oils', '2012-09-25 13:00:28.842000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 343 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 13:00:28.846000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 343, '2012-09-25 13:00:28.846000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (268, 624) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_option_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" = 268 AND "spree_option_types"."id" = 168 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" = 268) ORDER BY position 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 13:00:28.856000', 168, 1, 268, '2012-09-25 13:00:28.856000') 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" = 168 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.861000' WHERE "spree_products"."id" = 268 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 268, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.863000' WHERE "spree_products"."id" = 268  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (819, 257) 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" = 168 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.868000' WHERE "spree_products"."id" = 268 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 268, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.869000' WHERE "spree_products"."id" = 268  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (820, 258) 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" = 168 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.874000' WHERE "spree_products"."id" = 268 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 268, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.876000' WHERE "spree_products"."id" = 268  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (821, 259) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 AND ("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" != 268) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 819 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" = 820 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 268) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.896000' WHERE "spree_products"."id" = 268  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 819 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.898000' WHERE "spree_products"."id" = 268 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.900000' WHERE "spree_products"."id" = 268  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 820 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.901000' WHERE "spree_products"."id" = 268 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.903000' WHERE "spree_products"."id" = 268  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 821 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:28.907000' WHERE "spree_products"."id" = 268 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" != 268) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 268 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" = 818 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 818 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:00:28.972000', 2424, 0, 'Spree::Image', 818, 'Spree::Variant') Product assigned an Image : nil 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" != 268) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:00:38.464000' WHERE "spree_products"."id" = 268 Row org.apache.poi.hssf.usermodel.HSSFRow@adb1f8 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.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 (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:38.488000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:38.488000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.494000' WHERE "spree_products"."id" = 269 SQL (0.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, 269, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.497000' WHERE "spree_products"."id" = 269  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 822 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.500000' WHERE "spree_products"."id" = 269  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 269  (0.0ms) 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.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 13:00:38.506000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:38.506000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:38.509000', NULL, 203, '2012-09-25 13:00:38.509000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-09-25 13:00:38.511000' WHERE "spree_product_properties"."id" = 238 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 13:00:38.513000', NULL, 202, '2012-09-25 13:00:38.513000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-09-25 13:00:38.514000' WHERE "spree_product_properties"."id" = 239 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:38.517000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:38.517000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:38.519000', NULL, 204, '2012-09-25 13:00:38.519000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 269, "updated_at" = '2012-09-25 13:00:38.520000' WHERE "spree_product_properties"."id" = 240 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 269) 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 13:00:38.524000', 'Drawings', '2012-09-25 13:00:38.524000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 344 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (3.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 13:00:38.533000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 344, '2012-09-25 13:00:38.533000') 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" = 269 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (269, 625) 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" != 269) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 269 AND "spree_option_types"."id" = 168 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" = 269) ORDER BY position 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 13:00:38.571000', 168, 1, 269, '2012-09-25 13:00:38.571000') 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" = 168 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.587000' WHERE "spree_products"."id" = 269 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 269, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.591000' WHERE "spree_products"."id" = 269  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (823, 257) 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" = 168 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.595000' WHERE "spree_products"."id" = 269 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, 269, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.597000' WHERE "spree_products"."id" = 269  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (824, 258) 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" = 168 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.603000' WHERE "spree_products"."id" = 269 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 269, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.605000' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (825, 259) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 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 13:00:38.609000', 'print_type', 0, 'Print type', '2012-09-25 13:00:38.609000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 169 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" = 269) ORDER BY position 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 13:00:38.617000', 169, 2, 269, '2012-09-25 13:00:38.617000') 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" = 169 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 169) ORDER 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 13:00:38.621000', 'black_white', 169, 1, NULL, '2012-09-25 13:00:38.621000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.627000' WHERE "spree_products"."id" = 269 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 269, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.630000' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (826, 260) 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" = 169 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 169) ORDER 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 13:00:38.633000', 'colour', 169, 2, NULL, '2012-09-25 13:00:38.633000')  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.637000' WHERE "spree_products"."id" = 269 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 269, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.639000' WHERE "spree_products"."id" = 269  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (827, 261) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 AND ("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" != 269) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 823 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 824 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 825 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 826 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 827 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" != 269) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.663000' WHERE "spree_products"."id" = 269  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 823 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.665000' WHERE "spree_products"."id" = 269 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.667000' WHERE "spree_products"."id" = 269  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 824 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.668000' WHERE "spree_products"."id" = 269 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.670000' WHERE "spree_products"."id" = 269  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 825 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.672000' WHERE "spree_products"."id" = 269 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.674000' WHERE "spree_products"."id" = 269  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 826 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.675000' WHERE "spree_products"."id" = 269 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.678000' WHERE "spree_products"."id" = 269  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 827 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:38.679000' WHERE "spree_products"."id" = 269 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" != 269) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 269 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" = 822 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 822 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:00:38.692000', 240, 0, 'Spree::Image', 822, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 269) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:00:39.455000' WHERE "spree_products"."id" = 269 Row org.apache.poi.hssf.usermodel.HSSFRow@a506 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 :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 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 = 814) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 267)) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 267 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 = 814) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 267)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 268 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 = 818) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 268)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 269 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 = 822) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 269))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:39.796000', 'Paintings', '2012-09-25 13:00:39.796000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 345 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:39.804000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 345, '2012-09-25 13:00:39.804000')  (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 13:00:39.810000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 345, '2012-09-25 13:00:39.810000')  (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 13:00:39.817000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 345, '2012-09-25 13:00:39.817000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (28.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:39.876000', 'Paintings', '2012-09-25 13:00:39.876000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 346 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 13:00:39.881000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 346, '2012-09-25 13:00:39.881000')  (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 13:00:39.888000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 346, '2012-09-25 13:00:39.888000')  (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 13:00:39.896000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 346, '2012-09-25 13:00:39.896000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 346 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 346 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 346 LIMIT 1 Booted Spree using version 1.1.3 SQL (36.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:41.490000', 'Paintings', '2012-09-25 13:00:41.490000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 347 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 13:00:41.496000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 347, '2012-09-25 13:00:41.496000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:41.506000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 347, '2012-09-25 13:00:41.506000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 632, "updated_at" = '2012-09-25 13:00:41.519000' WHERE "spree_taxons"."id" = 633 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 632 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 633 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 633 THEN 632 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 632 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 633 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 632 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:41.555000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:41.555000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.559000' WHERE "spree_products"."id" = 270 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, 270, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.592000' WHERE "spree_products"."id" = 270  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 828 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.597000' WHERE "spree_products"."id" = 270  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 270  (0.0ms) 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.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 13:00:41.605000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:41.605000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:41.609000', NULL, 205, '2012-09-25 13:00:41.609000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 270, "updated_at" = '2012-09-25 13:00:41.611000' WHERE "spree_product_properties"."id" = 241 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" != 270) 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" = 347 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" = 270 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (270, 632) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:41.646000', 'WaterColour', '2012-09-25 13:00:41.646000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 348 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 13:00:41.649000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 348, '2012-09-25 13:00:41.649000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (270, 634) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) 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" != 270) LIMIT 1 Spree::OptionType Load (0.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 13:00:41.659000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:41.659000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 170 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" = 270) 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 13:00:41.668000', 170, 1, 270, '2012-09-25 13:00:41.668000') 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" = 170 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 170) ORDER 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 13:00:41.673000', 'jpeg', 170, 1, NULL, '2012-09-25 13:00:41.673000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.677000' WHERE "spree_products"."id" = 270 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, 270, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.679000' WHERE "spree_products"."id" = 270  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (829, 262) Spree::OptionValue Load (28.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 170 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 170) ORDER 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 13:00:41.712000', 'PDF', 170, 2, NULL, '2012-09-25 13:00:41.712000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.716000' WHERE "spree_products"."id" = 270 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 270, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.718000' WHERE "spree_products"."id" = 270  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (830, 263) 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" = 170 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 170) ORDER 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 13:00:41.722000', 'PNG', 170, 3, NULL, '2012-09-25 13:00:41.722000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.726000' WHERE "spree_products"."id" = 270 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 270, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.728000' WHERE "spree_products"."id" = 270  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (831, 264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 270 AND ("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" != 270) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 829 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (2.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 830 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 831 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" != 270) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.751000' WHERE "spree_products"."id" = 270  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 829 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.753000' WHERE "spree_products"."id" = 270 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.755000' WHERE "spree_products"."id" = 270  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 830 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.757000' WHERE "spree_products"."id" = 270 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.759000' WHERE "spree_products"."id" = 270  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 831 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.762000' WHERE "spree_products"."id" = 270 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 270) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:41.772000' WHERE "spree_products"."id" = 270 Row org.apache.poi.hssf.usermodel.HSSFRow@1d7e4bb 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.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 13:00:41.781000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:41.781000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.785000' WHERE "spree_products"."id" = 271 SQL (0.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, 271, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.787000' WHERE "spree_products"."id" = 271  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 832 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.792000' WHERE "spree_products"."id" = 271  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 271  (0.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:41.801000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:41.801000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:41.803000', NULL, 206, '2012-09-25 13:00:41.803000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 271, "updated_at" = '2012-09-25 13:00:41.805000' WHERE "spree_product_properties"."id" = 242 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" != 271) 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" = 347 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" = 271 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (271, 632) 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 13:00:41.818000', 'Oils', '2012-09-25 13:00:41.818000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 349 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 13:00:41.822000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 349, '2012-09-25 13:00:41.822000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (271, 635) 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" = 347 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 632 AND "spree_taxons"."taxonomy_id" = 347 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" = 632 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:41.831000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 632, 'paintings/nature', 0, 10, 347, '2012-09-25 13:00:41.831000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 632 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 636 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 636 THEN 632 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 632 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 636 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 636 AND "spree_taxons"."taxonomy_id" = 347 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" = 636 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:41.845000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 636, 'paintings/nature/seascape', 0, 12, 347, '2012-09-25 13:00:41.845000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 636 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 637 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 637 THEN 636 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 636 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 637 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (271, 636)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (271, 637) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_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" = 271 AND "spree_option_types"."id" = 170 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" = 271) ORDER BY position 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 13:00:41.860000', 170, 1, 271, '2012-09-25 13:00:41.860000') 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.865000' WHERE "spree_products"."id" = 271 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 271, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.866000' WHERE "spree_products"."id" = 271  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (833, 262) 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.871000' WHERE "spree_products"."id" = 271 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 271, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.874000' WHERE "spree_products"."id" = 271  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (834, 263) 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.911000' WHERE "spree_products"."id" = 271 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 271, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.914000' WHERE "spree_products"."id" = 271  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (835, 264) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 271 AND ("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" != 271) 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" != 271) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 833 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 835 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" != 271) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.944000' WHERE "spree_products"."id" = 271  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 833 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.946000' WHERE "spree_products"."id" = 271 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.948000' WHERE "spree_products"."id" = 271  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 834 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.949000' WHERE "spree_products"."id" = 271 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.951000' WHERE "spree_products"."id" = 271  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 835 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.952000' WHERE "spree_products"."id" = 271 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" != 271) LIMIT 1  (1.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:00:41.956000' WHERE "spree_products"."id" = 271 Row org.apache.poi.hssf.usermodel.HSSFRow@1ee1374 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (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 13:00:41.965000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:41.965000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.970000' WHERE "spree_products"."id" = 272 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, 272, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.974000' WHERE "spree_products"."id" = 272  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 836 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:41.978000' WHERE "spree_products"."id" = 272  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 272  (1.0ms) 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 (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 13:00:41.986000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:41.986000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:41.988000', NULL, 207, '2012-09-25 13:00:41.988000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-09-25 13:00:41.990000' WHERE "spree_product_properties"."id" = 243 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 13:00:41.993000', NULL, 206, '2012-09-25 13:00:41.993000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-09-25 13:00:41.996000' WHERE "spree_product_properties"."id" = 244 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 13:00:41.999000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:41.999000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.002000', NULL, 208, '2012-09-25 13:00:42.002000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 272, "updated_at" = '2012-09-25 13:00:42.003000' WHERE "spree_product_properties"."id" = 245 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" != 272) 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 13:00:42.008000', 'Drawings', '2012-09-25 13:00:42.008000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 350 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 13:00:42.011000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 350, '2012-09-25 13:00:42.011000') 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" = 272 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (272, 638) 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" = 347 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" = 632 AND "spree_taxons"."taxonomy_id" = 347 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (272, 633)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (272, 632) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) 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" != 272) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 272 AND "spree_option_types"."id" = 170 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" = 272) ORDER BY position 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 13:00:42.031000', 170, 1, 272, '2012-09-25 13:00:42.031000') 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.037000' WHERE "spree_products"."id" = 272 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 272, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.039000' WHERE "spree_products"."id" = 272  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (837, 262) 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.045000' WHERE "spree_products"."id" = 272 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, 272, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.047000' WHERE "spree_products"."id" = 272  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (838, 263) 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" = 170 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.051000' WHERE "spree_products"."id" = 272 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, 272, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.053000' WHERE "spree_products"."id" = 272  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (839, 264) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 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 13:00:42.057000', 'print_type', 0, 'Print type', '2012-09-25 13:00:42.057000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 171 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" = 272) 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 13:00:42.064000', 171, 2, 272, '2012-09-25 13:00:42.064000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 171 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 171) ORDER 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 13:00:42.067000', 'black_white', 171, 1, NULL, '2012-09-25 13:00:42.067000')  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.073000' WHERE "spree_products"."id" = 272 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 272, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.076000' WHERE "spree_products"."id" = 272  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (840, 265) 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" = 171 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 171) ORDER 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 13:00:42.106000', 'colour', 171, 2, NULL, '2012-09-25 13:00:42.106000')  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.110000' WHERE "spree_products"."id" = 272 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 272, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.112000' WHERE "spree_products"."id" = 272  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (841, 266) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 272 AND ("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" != 272) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 837 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 841 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" != 272) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.136000' WHERE "spree_products"."id" = 272  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 837 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.138000' WHERE "spree_products"."id" = 272 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.140000' WHERE "spree_products"."id" = 272  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 838 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.143000' WHERE "spree_products"."id" = 272 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.145000' WHERE "spree_products"."id" = 272  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 839 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.146000' WHERE "spree_products"."id" = 272 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.148000' WHERE "spree_products"."id" = 272  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 840 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.150000' WHERE "spree_products"."id" = 272 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 272 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.152000' WHERE "spree_products"."id" = 272  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 841 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.153000' WHERE "spree_products"."id" = 272 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 272) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:00:42.156000' WHERE "spree_products"."id" = 272 Row org.apache.poi.hssf.usermodel.HSSFRow@138843e 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 :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 270 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" = 270 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 271 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 271 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" = 347 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 632 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 347 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 636 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 636 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 637 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (31.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:42.322000', 'Paintings', '2012-09-25 13:00:42.322000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 351 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 13:00:42.327000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 351, '2012-09-25 13:00:42.327000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:42.337000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 351, '2012-09-25 13:00:42.337000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 639, "updated_at" = '2012-09-25 13:00:42.348000' WHERE "spree_taxons"."id" = 640 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 639 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 640 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 640 THEN 639 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 639 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 640 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 639 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:42.381000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:42.381000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.385000' WHERE "spree_products"."id" = 273 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, 273, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.417000' WHERE "spree_products"."id" = 273  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 842 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.420000' WHERE "spree_products"."id" = 273  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 273  (1.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:42.428000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:42.428000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.430000', NULL, 209, '2012-09-25 13:00:42.430000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 273, "updated_at" = '2012-09-25 13:00:42.432000' WHERE "spree_product_properties"."id" = 246 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 273) 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" != 273) 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" != 273) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 351 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" = 273 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (273, 639) Spree::Product Exists (0.0ms) 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.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 13:00:42.454000', 'WaterColour', '2012-09-25 13:00:42.454000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 352 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 13:00:42.460000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 352, '2012-09-25 13:00:42.460000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (273, 641) 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" != 273) 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" != 273) LIMIT 1 Spree::OptionType Load (0.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 13:00:42.468000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:42.468000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 172 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" = 273) ORDER BY position 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 13:00:42.474000', 172, 1, 273, '2012-09-25 13:00:42.474000') 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" = 172 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 172) ORDER 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 13:00:42.477000', 'jpeg', 172, 1, NULL, '2012-09-25 13:00:42.477000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.481000' WHERE "spree_products"."id" = 273 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, 273, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.483000' WHERE "spree_products"."id" = 273  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (843, 267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 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" != 273) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 273 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 172 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 172) 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 13:00:42.524000', 'PDF', 172, 2, NULL, '2012-09-25 13:00:42.524000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.528000' WHERE "spree_products"."id" = 273 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 273, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.530000' WHERE "spree_products"."id" = 273  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (844, 268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("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" != 273) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 273 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 172 LIMIT 1 Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 172) 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 13:00:42.573000', 'PNG', 172, 3, NULL, '2012-09-25 13:00:42.573000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.581000' WHERE "spree_products"."id" = 273 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 273, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.583000' WHERE "spree_products"."id" = 273  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (845, 269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 273 AND ("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" != 273) 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" != 273) 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" != 273) LIMIT 1  (0.0ms) 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.0ms) 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 (1.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 843 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 845 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" != 273) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.606000' WHERE "spree_products"."id" = 273  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 843 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.608000' WHERE "spree_products"."id" = 273 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.610000' WHERE "spree_products"."id" = 273  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 844 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.611000' WHERE "spree_products"."id" = 273 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.613000' WHERE "spree_products"."id" = 273  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 845 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.615000' WHERE "spree_products"."id" = 273 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" != 273) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:00:42.619000' WHERE "spree_products"."id" = 273 Row org.apache.poi.hssf.usermodel.HSSFRow@5ce2a8 succesfully SAVED : 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.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:42.637000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:42.637000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.643000' WHERE "spree_products"."id" = 274 SQL (0.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, 274, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.647000' WHERE "spree_products"."id" = 274  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 846 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.650000' WHERE "spree_products"."id" = 274  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 274  (1.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:42.659000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:42.659000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.661000', NULL, 210, '2012-09-25 13:00:42.661000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 274, "updated_at" = '2012-09-25 13:00:42.663000' WHERE "spree_product_properties"."id" = 247 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" != 274) 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" != 274) 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" != 274) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 351 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" = 274 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (274, 639) Spree::Product Exists (0.0ms) 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.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 13:00:42.675000', 'Oils', '2012-09-25 13:00:42.675000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 353 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 13:00:42.679000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 353, '2012-09-25 13:00:42.679000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (274, 642) Spree::Product Exists (0.0ms) 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.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" = 351 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" = 639 AND "spree_taxons"."taxonomy_id" = 351 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" = 639 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:42.688000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 639, 'paintings/nature', 0, 10, 351, '2012-09-25 13:00:42.688000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 639 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 643 THEN 639 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 639 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 643 AND "spree_taxons"."taxonomy_id" = 351 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 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 13:00:42.699000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 643, 'paintings/nature/seascape', 0, 12, 351, '2012-09-25 13:00:42.699000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 644 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 644 THEN 643 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 644 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (274, 643)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (274, 644) 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" != 274) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 274 AND "spree_option_types"."id" = 172 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" = 274) ORDER BY position 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 13:00:42.713000', 172, 1, 274, '2012-09-25 13:00:42.713000') 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" = 172 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.742000' WHERE "spree_products"."id" = 274 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, 274, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.745000' WHERE "spree_products"."id" = 274  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (847, 267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 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" != 274) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 274 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 172 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.761000' WHERE "spree_products"."id" = 274 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 274, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.763000' WHERE "spree_products"."id" = 274  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (848, 268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 AND ("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" != 274) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 274 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 172 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.774000' WHERE "spree_products"."id" = 274 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 274, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.776000' WHERE "spree_products"."id" = 274  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (849, 269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 274 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" != 274) 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" != 274) 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" != 274) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 847 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 849 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" != 274) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.795000' WHERE "spree_products"."id" = 274  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 847 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.797000' WHERE "spree_products"."id" = 274 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.798000' WHERE "spree_products"."id" = 274  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 848 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.800000' WHERE "spree_products"."id" = 274 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.802000' WHERE "spree_products"."id" = 274  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 849 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.803000' WHERE "spree_products"."id" = 274 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" != 274) LIMIT 1  (0.0ms) 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)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:00:42.807000' WHERE "spree_products"."id" = 274 Row org.apache.poi.hssf.usermodel.HSSFRow@1f5b989 succesfully SAVED : 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:42.815000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:42.815000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.818000' WHERE "spree_products"."id" = 275 SQL (0.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, 275, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.820000' WHERE "spree_products"."id" = 275  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 850 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.823000' WHERE "spree_products"."id" = 275  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 275  (0.0ms) 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.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 13:00:42.834000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:42.834000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.836000', NULL, 211, '2012-09-25 13:00:42.836000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-09-25 13:00:42.838000' WHERE "spree_product_properties"."id" = 248 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" != 275) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.843000', NULL, 210, '2012-09-25 13:00:42.843000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-09-25 13:00:42.845000' WHERE "spree_product_properties"."id" = 249 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" != 275) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:42.850000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:42.850000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:42.852000', NULL, 212, '2012-09-25 13:00:42.852000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 275, "updated_at" = '2012-09-25 13:00:42.853000' WHERE "spree_product_properties"."id" = 250 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" != 275) 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 13:00:42.856000', 'Drawings', '2012-09-25 13:00:42.856000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 354 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 13:00:42.859000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 354, '2012-09-25 13:00:42.859000') 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" = 275 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 645) Spree::Product Exists (0.0ms) 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.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" = 351 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" = 639 AND "spree_taxons"."taxonomy_id" = 351 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 640)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (275, 639) 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" != 275) 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" != 275) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 275 AND "spree_option_types"."id" = 172 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" = 275) ORDER BY position 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 13:00:42.876000', 172, 1, 275, '2012-09-25 13:00:42.876000') 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" = 172 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.880000' WHERE "spree_products"."id" = 275 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, 275, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.882000' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (851, 267) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 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" != 275) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 275 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 172 LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.894000' WHERE "spree_products"."id" = 275 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, 275, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.896000' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (852, 268) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("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" != 275) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 275 AND "spree_option_types"."id" = 172 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 172 LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.907000' WHERE "spree_products"."id" = 275 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 275, 'DEMO_003_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.909000' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (853, 269) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 AND ("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" != 275) 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 13:00:42.915000', 'print_type', 0, 'Print type', '2012-09-25 13:00:42.915000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 173 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" = 275) ORDER BY position 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 13:00:42.921000', 173, 2, 275, '2012-09-25 13:00:42.921000') 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" = 173 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 173) ORDER 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 13:00:42.925000', 'black_white', 173, 1, NULL, '2012-09-25 13:00:42.925000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.930000' WHERE "spree_products"."id" = 275 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, 275, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.932000' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (854, 270) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 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" != 275) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 275 AND "spree_option_types"."id" = 173 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 173 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 173) ORDER 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 13:00:42.971000', 'colour', 173, 2, NULL, '2012-09-25 13:00:42.971000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.980000' WHERE "spree_products"."id" = 275 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 275, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:42.983000' WHERE "spree_products"."id" = 275  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (855, 271) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 275 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" != 275) LIMIT 1  (1.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 851 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 855 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" != 275) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.013000' WHERE "spree_products"."id" = 275  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 851 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.015000' WHERE "spree_products"."id" = 275 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.017000' WHERE "spree_products"."id" = 275  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 852 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.018000' WHERE "spree_products"."id" = 275 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.020000' WHERE "spree_products"."id" = 275  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 853 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.022000' WHERE "spree_products"."id" = 275 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.024000' WHERE "spree_products"."id" = 275  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 854 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.026000' WHERE "spree_products"."id" = 275 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 275 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.027000' WHERE "spree_products"."id" = 275  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 855 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.029000' WHERE "spree_products"."id" = 275 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 275) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:00:43.033000' WHERE "spree_products"."id" = 275 Row org.apache.poi.hssf.usermodel.HSSFRow@12187a8 succesfully SAVED : ID 275 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 273 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" = 273 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 274 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" = 274 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" = 351 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 639 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 351 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 643 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 643 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 644 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (28.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:43.211000', 'Paintings', '2012-09-25 13:00:43.211000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 355 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 13:00:43.216000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 355, '2012-09-25 13:00:43.216000')  (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 13:00:43.225000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 355, '2012-09-25 13:00:43.225000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 646, "updated_at" = '2012-09-25 13:00:43.231000' WHERE "spree_taxons"."id" = 647 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 646 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 647 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 647 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" = 646 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 647 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 646 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (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 13:00:43.258000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:43.258000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.262000' WHERE "spree_products"."id" = 276 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, 276, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.264000' WHERE "spree_products"."id" = 276  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 856 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.267000' WHERE "spree_products"."id" = 276  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 276  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:43.309000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:00:43.309000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:43.313000', NULL, 213, '2012-09-25 13:00:43.313000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 276, "updated_at" = '2012-09-25 13:00:43.318000' WHERE "spree_product_properties"."id" = 251 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 276) 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" = 355 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" = 276 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (276, 646) Spree::Product Exists (0.0ms) 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.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 13:00:43.339000', 'WaterColour', '2012-09-25 13:00:43.339000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 356 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 13:00:43.343000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 356, '2012-09-25 13:00:43.343000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (276, 648) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 276) LIMIT 1 Spree::OptionType Load (0.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 13:00:43.357000', 'mime_type', 0, 'Mime type', '2012-09-25 13:00:43.357000') 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" = 276 AND "spree_option_types"."id" = 174 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" = 276) ORDER BY position 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 13:00:43.365000', 174, 1, 276, '2012-09-25 13:00:43.365000') 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" = 174 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 174) ORDER 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 13:00:43.370000', 'jpeg', 174, 1, NULL, '2012-09-25 13:00:43.370000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.424000' WHERE "spree_products"."id" = 276 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 276, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.427000' WHERE "spree_products"."id" = 276  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (857, 272) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("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" != 276) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 276 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 174 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 174) 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 13:00:43.438000', 'PDF', 174, 2, NULL, '2012-09-25 13:00:43.438000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.445000' WHERE "spree_products"."id" = 276 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 276, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.447000' WHERE "spree_products"."id" = 276  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (858, 273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("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" != 276) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 276 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 174 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 174) ORDER 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 13:00:43.457000', 'PNG', 174, 3, NULL, '2012-09-25 13:00:43.457000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.462000' WHERE "spree_products"."id" = 276 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 276, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.464000' WHERE "spree_products"."id" = 276  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (859, 274) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("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" != 276) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 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" = 276 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 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" = 857 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 859 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" != 276) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.492000' WHERE "spree_products"."id" = 276  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 857 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.493000' WHERE "spree_products"."id" = 276 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.495000' WHERE "spree_products"."id" = 276  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 858 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.497000' WHERE "spree_products"."id" = 276 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.499000' WHERE "spree_products"."id" = 276  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 859 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.500000' WHERE "spree_products"."id" = 276 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 276) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 276 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 13:00:43.505000' WHERE "spree_products"."id" = 276 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:43.512000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:00:43.512000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.516000' WHERE "spree_products"."id" = 277 SQL (0.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, 277, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.518000' WHERE "spree_products"."id" = 277  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 860 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.520000' WHERE "spree_products"."id" = 277  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 277  (0.0ms) 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::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 13:00:43.533000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:00:43.533000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:43.535000', NULL, 214, '2012-09-25 13:00:43.535000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 277, "updated_at" = '2012-09-25 13:00:43.537000' WHERE "spree_product_properties"."id" = 252 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 277) 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" = 355 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" = 277 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (277, 646) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 277) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:43.558000', 'Oils', '2012-09-25 13:00:43.558000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 357 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 13:00:43.562000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 357, '2012-09-25 13:00:43.562000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (277, 649) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 277) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 355 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" = 646 AND "spree_taxons"."taxonomy_id" = 355 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" = 646 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 13:00:43.575000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 646, 'paintings/nature', 0, 10, 355, '2012-09-25 13:00:43.575000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 646 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 650 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 650 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" = 646 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 650 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 650 AND "spree_taxons"."taxonomy_id" = 355 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" = 650 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 13:00:43.585000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 650, 'paintings/nature/seascape', 0, 12, 355, '2012-09-25 13:00:43.585000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 650 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 651 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 651 THEN 650 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 650 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 651 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (277, 650)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (277, 651) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 277) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 277 AND "spree_option_types"."id" = 174 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" = 277) ORDER BY position 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 13:00:43.599000', 174, 1, 277, '2012-09-25 13:00:43.599000') 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" = 174 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.605000' WHERE "spree_products"."id" = 277 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 277, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.607000' WHERE "spree_products"."id" = 277  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (861, 272) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("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" != 277) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 277 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 174 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.618000' WHERE "spree_products"."id" = 277 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, 277, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.620000' WHERE "spree_products"."id" = 277  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (862, 273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("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" != 277) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 277 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 174 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.632000' WHERE "spree_products"."id" = 277 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 277, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.634000' WHERE "spree_products"."id" = 277  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (863, 274) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 AND ("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" != 277) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 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" = 277 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 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" = 861 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" = 862 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 863 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" != 277) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 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" = 277 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.664000' WHERE "spree_products"."id" = 277  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 861 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.666000' WHERE "spree_products"."id" = 277 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.668000' WHERE "spree_products"."id" = 277  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 862 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.670000' WHERE "spree_products"."id" = 277 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.674000' WHERE "spree_products"."id" = 277  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 863 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.676000' WHERE "spree_products"."id" = 277 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 277) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 277 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 13:00:43.681000' WHERE "spree_products"."id" = 277 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:43.690000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:43.690000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.693000' WHERE "spree_products"."id" = 278 SQL (0.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, 278, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.695000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 864 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.697000' WHERE "spree_products"."id" = 278  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 278  (0.0ms) 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::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 13:00:43.705000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:00:43.705000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:43.707000', NULL, 215, '2012-09-25 13:00:43.707000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 278, "updated_at" = '2012-09-25 13:00:43.709000' WHERE "spree_product_properties"."id" = 253 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" != 278) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:43.713000', NULL, 214, '2012-09-25 13:00:43.713000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 278, "updated_at" = '2012-09-25 13:00:43.715000' WHERE "spree_product_properties"."id" = 254 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" != 278) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:00:43.722000', 'yet_another_property', 'Yet another property', '2012-09-25 13:00:43.722000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:00:43.728000', NULL, 216, '2012-09-25 13:00:43.728000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 278, "updated_at" = '2012-09-25 13:00:43.734000' WHERE "spree_product_properties"."id" = 255 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" != 278) 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 13:00:43.740000', 'Drawings', '2012-09-25 13:00:43.740000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 358 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 13:00:43.745000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 358, '2012-09-25 13:00:43.745000') 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" = 278 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 652) Spree::Product Exists (0.0ms) 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.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" = 355 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" = 646 AND "spree_taxons"."taxonomy_id" = 355 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 647)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (278, 646) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 278) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 278 AND "spree_option_types"."id" = 174 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" = 278) ORDER BY position 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 13:00:43.765000', 174, 1, 278, '2012-09-25 13:00:43.765000') 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" = 174 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.770000' WHERE "spree_products"."id" = 278 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 278, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.772000' WHERE "spree_products"."id" = 278  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (865, 272) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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" != 278) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 278 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 174 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.787000' WHERE "spree_products"."id" = 278 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 278, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.790000' WHERE "spree_products"."id" = 278  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (866, 273) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("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" != 278) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 278 AND "spree_option_types"."id" = 174 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 174 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.803000' WHERE "spree_products"."id" = 278 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, 278, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.805000' WHERE "spree_products"."id" = 278  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (867, 274) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("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" != 278) 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 13:00:43.811000', 'print_type', 0, 'Print type', '2012-09-25 13:00:43.811000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 278 AND "spree_option_types"."id" = 175 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" = 278) 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 13:00:43.818000', 175, 2, 278, '2012-09-25 13:00:43.818000') 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" = 175 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 175) ORDER 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 13:00:43.822000', 'black_white', 175, 1, NULL, '2012-09-25 13:00:43.822000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.827000' WHERE "spree_products"."id" = 278 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 278, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.830000' WHERE "spree_products"."id" = 278  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (868, 275) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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" != 278) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 278 AND "spree_option_types"."id" = 175 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 175 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 175) ORDER 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 13:00:43.868000', 'colour', 175, 2, NULL, '2012-09-25 13:00:43.868000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.873000' WHERE "spree_products"."id" = 278 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 278, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.877000' WHERE "spree_products"."id" = 278  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (869, 276) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("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" != 278) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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" = 278 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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" = 865 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 869 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" != 278) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.902000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 865 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.905000' WHERE "spree_products"."id" = 278 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.907000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 866 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.908000' WHERE "spree_products"."id" = 278 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.910000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 867 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.912000' WHERE "spree_products"."id" = 278 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.913000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 868 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.915000' WHERE "spree_products"."id" = 278 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 278 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.917000' WHERE "spree_products"."id" = 278  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 869 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:43.918000' WHERE "spree_products"."id" = 278 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 278) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 278 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 13:00:43.922000' WHERE "spree_products"."id" = 278 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 276 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 276 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 277 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" = 277 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" = 355 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 646 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 355 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 650 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 650 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 651 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (28.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:44.029000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:44.029000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 279 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.034000' WHERE "spree_products"."id" = 279 SQL (0.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, 279, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.036000' WHERE "spree_products"."id" = 279  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 870 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.039000' WHERE "spree_products"."id" = 279  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 279 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 279  (0.0ms) 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.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 13:00:44.070000', 'Paintings', '2012-09-25 13:00:44.070000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 359 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 13:00:44.075000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 359, '2012-09-25 13:00:44.075000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 653 AND "spree_taxons"."taxonomy_id" = 359 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" = 653 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 13:00:44.081000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 653, 'paintings/landscape', 0, 4, 359, '2012-09-25 13:00:44.081000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 653 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 654 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 654 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" = 653 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 654 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" = 279 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 654)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 653) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 279) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.124000', 'WaterColour', '2012-09-25 13:00:44.124000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 360 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 13:00:44.132000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 360, '2012-09-25 13:00:44.132000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (279, 655) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 279) 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" != 279) LIMIT 1 Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 279) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:00:44.153000' WHERE "spree_products"."id" = 279  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 870 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.155000' WHERE "spree_products"."id" = 279 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 279 Row org.apache.poi.hssf.usermodel.HSSFRow@1db85f9 succesfully SAVED : ID 279 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:44.164000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:00:44.164000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 280 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.168000' WHERE "spree_products"."id" = 280 SQL (0.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, 280, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.170000' WHERE "spree_products"."id" = 280  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 871 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.175000' WHERE "spree_products"."id" = 280  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 280 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 280  (0.0ms) 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.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" = 359 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" = 280 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 653) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 280) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.186000', 'Oils', '2012-09-25 13:00:44.186000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 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 13:00:44.189000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 361, '2012-09-25 13:00:44.189000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 656) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 280) 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" = 359 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" = 653 AND "spree_taxons"."taxonomy_id" = 359 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" = 653 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 13:00:44.200000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 653, 'paintings/nature', 0, 10, 359, '2012-09-25 13:00:44.200000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 653 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 657 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" = 653 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 657 AND "spree_taxons"."taxonomy_id" = 359 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" = 657 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 13:00:44.213000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 657, 'paintings/nature/landscape', 0, 12, 359, '2012-09-25 13:00:44.213000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 658 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 658 THEN 657 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 658 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 657)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (280, 658) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 280) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 871 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 280) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:00:44.227000' WHERE "spree_products"."id" = 280  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 871 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.229000' WHERE "spree_products"."id" = 280 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 280 Row org.apache.poi.hssf.usermodel.HSSFRow@1166b2f succesfully SAVED : ID 280 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.244000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:44.244000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 281 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.249000' WHERE "spree_products"."id" = 281 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, 281, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.251000' WHERE "spree_products"."id" = 281  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 872 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.253000' WHERE "spree_products"."id" = 281  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 281 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 281  (0.0ms) 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.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 13:00:44.260000', 'Drawings', '2012-09-25 13:00:44.260000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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 13:00:44.263000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 362, '2012-09-25 13:00:44.263000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 659 AND "spree_taxons"."taxonomy_id" = 362 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" = 659 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 13:00:44.269000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 659, 'drawings/landscape', 0, 16, 362, '2012-09-25 13:00:44.269000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 659 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 660 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 660 THEN 659 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 659 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 660 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" = 281 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (281, 660)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (281, 659) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 281) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.280000', 'Landscape', '2012-09-25 13:00:44.280000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 363 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 13:00:44.283000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 363, '2012-09-25 13:00:44.283000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (281, 661) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 281) 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" != 281) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 872 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" != 281) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:00:44.293000' WHERE "spree_products"."id" = 281  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 872 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.295000' WHERE "spree_products"."id" = 281 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 281 Row org.apache.poi.hssf.usermodel.HSSFRow@1a222c5 succesfully SAVED : ID 281 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.304000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:00:44.304000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 282 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.306000' WHERE "spree_products"."id" = 282 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 282, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.309000' WHERE "spree_products"."id" = 282  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 873 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.311000' WHERE "spree_products"."id" = 282  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 282 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 282  (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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" = 659 AND "spree_taxons"."taxonomy_id" = 362 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" = 282 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 660)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 659) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 282) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 282) 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" = 359 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" = 653 AND "spree_taxons"."taxonomy_id" = 359 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 657 AND "spree_taxons"."taxonomy_id" = 359 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 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 13:00:44.328000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 657, 'paintings/nature/seascape', 0, 20, 359, '2012-09-25 13:00:44.328000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 662 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 662 THEN 657 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 662 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 662 AND "spree_taxons"."taxonomy_id" = 359 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" = 662 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:44.338000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 662, 'paintings/nature/seascape/cliffs', 0, 22, 359, '2012-09-25 13:00:44.338000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 662 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 663 LIMIT 1 SQL (4.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 663 THEN 662 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 662 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 663 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 657)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 662)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 663)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (282, 653) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 282) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 873 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 282) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:00:44.388000' WHERE "spree_products"."id" = 282  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 873 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.394000' WHERE "spree_products"."id" = 282 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 282 Row org.apache.poi.hssf.usermodel.HSSFRow@3d1f2a succesfully SAVED : ID 282 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.405000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:00:44.405000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 283 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.411000' WHERE "spree_products"."id" = 283 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 283, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.412000' WHERE "spree_products"."id" = 283  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 874 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.422000' WHERE "spree_products"."id" = 283  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 283 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 283  (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 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" = 659 AND "spree_taxons"."taxonomy_id" = 362 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 660 AND "spree_taxons"."taxonomy_id" = 362 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 660 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 13:00:44.433000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 660, 'drawings/landscape/bristol', 0, 24, 362, '2012-09-25 13:00:44.433000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 660 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 664 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 660 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 664 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" = 283 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 660)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 664)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (283, 659) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 283) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 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 (283, 656) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 283) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 283) LIMIT 1 Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 283) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:00:44.451000' WHERE "spree_products"."id" = 283  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 874 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.455000' WHERE "spree_products"."id" = 283 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 283 Row org.apache.poi.hssf.usermodel.HSSFRow@5d830 succesfully SAVED : ID 283 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 359 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 360 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 363 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 359 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 359 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 653 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 653) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 657 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 657) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 657) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 653 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 657 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 662 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 663 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 662) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 362 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 660 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 660 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 664 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 664) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 361 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 656 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 363 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 363 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 661 ORDER BY "lft" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (31.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:00:44.660000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:00:44.660000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 284 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.664000' WHERE "spree_products"."id" = 284 SQL (0.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, 284, 'test_ct_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.667000' WHERE "spree_products"."id" = 284  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 875 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.670000' WHERE "spree_products"."id" = 284  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 284 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 284  (0.0ms) 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.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 13:00:44.702000', 'Paintings', '2012-09-25 13:00:44.702000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 364 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 13:00:44.706000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 364, '2012-09-25 13:00:44.706000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 665 AND "spree_taxons"."taxonomy_id" = 364 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" = 665 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 13:00:44.712000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 665, 'paintings/landscape', 0, 4, 364, '2012-09-25 13:00:44.712000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 665 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 666 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 666 THEN 665 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 665 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 666 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 284 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (284, 666)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (284, 665) 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" != 284) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.725000', 'WaterColour', '2012-09-25 13:00:44.725000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 365 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 13:00:44.728000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 365, '2012-09-25 13:00:44.728000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (284, 667) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 284) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 875 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 284) LIMIT 1  (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:00:44.744000' WHERE "spree_products"."id" = 284  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 875 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.747000' WHERE "spree_products"."id" = 284 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 284 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:00:44.755000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:00:44.755000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 285 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.759000' WHERE "spree_products"."id" = 285 SQL (0.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, 285, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.761000' WHERE "spree_products"."id" = 285  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 876 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.765000' WHERE "spree_products"."id" = 285  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 285 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 285  (0.0ms) 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.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" = 364 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" = 285 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 665) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 285) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.782000', 'Oils', '2012-09-25 13:00:44.782000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 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 13:00:44.790000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 366, '2012-09-25 13:00:44.790000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 668) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 285) 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" = 364 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" = 665 AND "spree_taxons"."taxonomy_id" = 364 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" = 665 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 13:00:44.801000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 665, 'paintings/nature', 0, 10, 364, '2012-09-25 13:00:44.801000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 665 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 669 THEN 665 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 665 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 669 AND "spree_taxons"."taxonomy_id" = 364 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:44.810000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 669, 'paintings/nature/landscape', 0, 12, 364, '2012-09-25 13:00:44.810000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 670 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 670 THEN 669 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 670 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 669)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (285, 670) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 285) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 876 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 285) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:00:44.822000' WHERE "spree_products"."id" = 285  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 876 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.825000' WHERE "spree_products"."id" = 285 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 285 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.832000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:00:44.832000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 286 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.836000' WHERE "spree_products"."id" = 286 SQL (0.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, 286, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.838000' WHERE "spree_products"."id" = 286  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 877 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.840000' WHERE "spree_products"."id" = 286  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 286 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 286  (0.0ms) 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::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 13:00:44.846000', 'Drawings', '2012-09-25 13:00:44.846000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 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 13:00:44.849000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 367, '2012-09-25 13:00:44.849000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 671 AND "spree_taxons"."taxonomy_id" = 367 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 671 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 13:00:44.856000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 671, 'drawings/landscape', 0, 16, 367, '2012-09-25 13:00:44.856000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 671 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 672 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 671 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 672 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" = 286 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (286, 672)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (286, 671) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 286) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:00:44.869000', 'Landscape', '2012-09-25 13:00:44.869000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 368 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 13:00:44.873000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 368, '2012-09-25 13:00:44.873000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (286, 673) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 286) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 877 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 286) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:00:44.886000' WHERE "spree_products"."id" = 286  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 877 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.889000' WHERE "spree_products"."id" = 286 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 286 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.902000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:00:44.902000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 287 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.923000' WHERE "spree_products"."id" = 287 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 (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 287, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.925000' WHERE "spree_products"."id" = 287  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 878 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.927000' WHERE "spree_products"."id" = 287  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 287 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 287  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 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" = 671 AND "spree_taxons"."taxonomy_id" = 367 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" = 287 Product assigned to Taxons : ["Landscape", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 672)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 671) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 287) 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" = 364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' AND "spree_taxons"."parent_id" = 665 AND "spree_taxons"."taxonomy_id" = 364 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 669 AND "spree_taxons"."taxonomy_id" = 364 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 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 13:00:44.951000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 669, 'paintings/nature/seascape', 0, 20, 364, '2012-09-25 13:00:44.951000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 674 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 674 THEN 669 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 674 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 674 AND "spree_taxons"."taxonomy_id" = 364 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" = 674 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 13:00:44.961000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 674, 'paintings/nature/seascape/cliffs', 0, 22, 364, '2012-09-25 13:00:44.961000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 674 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 675 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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" = 674 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 675 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 669)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 674)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 675)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (287, 665) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 287) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 878 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 287) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:00:44.980000' WHERE "spree_products"."id" = 287  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 878 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:44.984000' WHERE "spree_products"."id" = 287 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 287 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (4.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:00:44.995000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:00:44.995000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 288 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:45.000000' WHERE "spree_products"."id" = 288 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 (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 288, 'test_ct_005', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:45.003000' WHERE "spree_products"."id" = 288  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 879 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:45.006000' WHERE "spree_products"."id" = 288  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 288 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 288  (1.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 671 AND "spree_taxons"."taxonomy_id" = 367 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 672 AND "spree_taxons"."taxonomy_id" = 367 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 672 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:00:45.017000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 672, 'drawings/landscape/bristol', 0, 24, 367, '2012-09-25 13:00:45.017000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 672 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 676 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 676 THEN 672 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 672 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 676 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" = 288 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (288, 672)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (288, 676)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (288, 671) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 288) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 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 (288, 668) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 288) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 879 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 288) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:00:45.040000' WHERE "spree_products"."id" = 288  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 879 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:00:45.042000' WHERE "spree_products"."id" = 288 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 288  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 365 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 368 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 364 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 364 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 665 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 665) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 669 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 669) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 669) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 665 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 669 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 674 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 675 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 674) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 367 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 672 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 672 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 676 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 676) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 366 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 668 ORDER BY "lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 368 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 368 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 673 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (32.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (1069.0ms) DELETE FROM "spree_taxons" SQL (323.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (358.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (269.0ms) DELETE FROM "spree_option_types" SQL (28.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (29.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (35.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (30.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:20.234000', 'Paintings', '2012-09-25 13:08:20.234000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 369 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 13:08:20.724000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 369, '2012-09-25 13:08:20.724000')  (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 13:08:20.757000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 369, '2012-09-25 13:08:20.757000')  (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 13:08:20.777000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 369, '2012-09-25 13:08:20.777000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (15.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:21.410000', 'Paintings', '2012-09-25 13:08:21.410000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 370 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:21.555000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 370, '2012-09-25 13:08:21.555000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:21.591000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 370, '2012-09-25 13:08:21.591000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:21.640000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 370, '2012-09-25 13:08:21.640000') ExcelGenerator creating template with associations for class Spree::Product SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (5.0ms) DELETE FROM "spree_zones" SQL (7.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:21.763000', 'Paintings', '2012-09-25 13:08:21.763000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 371 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 13:08:21.815000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 371, '2012-09-25 13:08:21.815000')  (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 13:08:21.838000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 371, '2012-09-25 13:08:21.838000')  (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 13:08:21.869000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 371, '2012-09-25 13:08:21.869000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:22.749000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:08:22.749000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 51 Row org.apache.poi.hssf.usermodel.HSSFRow@7548c succesfully SAVED : ID 51 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:22.824000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:08:22.824000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 52 Row org.apache.poi.hssf.usermodel.HSSFRow@b4a6dc succesfully SAVED : ID 52 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:22.840000', 'f', 'Europe', 'EUR', '2012-09-25 13:08:22.840000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 53 Row org.apache.poi.hssf.usermodel.HSSFRow@1e48459 succesfully SAVED : ID 53 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:22.858000', 'f', 'North America', 'NA', '2012-09-25 13:08:22.858000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 54 Row org.apache.poi.hssf.usermodel.HSSFRow@19974bd succesfully SAVED : ID 54 Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (30.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:23.034000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:08:23.034000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 55 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:23.075000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:08:23.075000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 56 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:23.086000', 'f', 'Europe', 'EUR', '2012-09-25 13:08:23.086000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 57 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:08:23.114000', 'f', 'North America', 'NA', '2012-09-25 13:08:23.114000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 58  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (32.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (4.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:23.531000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:23.531000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 289 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.559000' WHERE "spree_products"."id" = 289 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 289, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.571000' WHERE "spree_products"."id" = 289  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 880 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.585000' WHERE "spree_products"."id" = 289  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 289  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 880 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 289) LIMIT 1 Spree::OptionType Load (0.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 13:08:23.713000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:23.713000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 176 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" = 289) ORDER BY position 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 13:08:23.801000', 176, 1, 289, '2012-09-25 13:08:23.801000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 289) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:08:23.813000' WHERE "spree_products"."id" = 289  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 880 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.821000' WHERE "spree_products"."id" = 289 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 289 Row org.apache.poi.hssf.usermodel.HSSFRow@4e410d succesfully SAVED : ID 289 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (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 13:08:23.851000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:23.851000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 290 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.887000' WHERE "spree_products"."id" = 290 SQL (0.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, 290, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.896000' WHERE "spree_products"."id" = 290  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 881 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:23.902000' WHERE "spree_products"."id" = 290  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 290 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 290  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 881 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 290) 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" = 290 AND "spree_option_types"."id" = 176 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" = 290) ORDER BY position 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 13:08:23.978000', 176, 1, 290, '2012-09-25 13:08:23.978000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 290) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:08:23.993000' WHERE "spree_products"."id" = 290  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 881 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.004000' WHERE "spree_products"."id" = 290 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 290 Row org.apache.poi.hssf.usermodel.HSSFRow@18be33e succesfully SAVED : ID 290 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:08:24.029000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:08:24.029000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 291 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.049000' WHERE "spree_products"."id" = 291 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, 291, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.054000' WHERE "spree_products"."id" = 291  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 882 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.060000' WHERE "spree_products"."id" = 291  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 291  (1.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 882 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 291) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 291 AND "spree_option_types"."id" = 176 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" = 291) ORDER BY position 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 13:08:24.099000', 176, 1, 291, '2012-09-25 13:08:24.099000') 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 13:08:24.106000', 'print_type', 0, 'Print type', '2012-09-25 13:08:24.106000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 177 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" = 291) ORDER BY position 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 13:08:24.163000', 177, 2, 291, '2012-09-25 13:08:24.163000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 291) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:08:24.173000' WHERE "spree_products"."id" = 291  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 882 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.196000' WHERE "spree_products"."id" = 291 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 291 Row org.apache.poi.hssf.usermodel.HSSFRow@20cd90 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 :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:08:24.289000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:08:24.290000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 289 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 289 ORDER BY spree_option_types.position  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 291 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:24.525000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:24.525000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 292 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.543000' WHERE "spree_products"."id" = 292 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 292, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.548000' WHERE "spree_products"."id" = 292  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 883 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.554000' WHERE "spree_products"."id" = 292  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 292  (0.0ms) 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::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 883 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 292) LIMIT 1 Spree::OptionType Load (0.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 13:08:24.614000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:24.614000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 292 AND "spree_option_types"."id" = 178 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" = 292) ORDER BY position 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 13:08:24.674000', 178, 1, 292, '2012-09-25 13:08:24.674000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 292) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:08:24.696000' WHERE "spree_products"."id" = 292  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 883 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.707000' WHERE "spree_products"."id" = 292 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 292 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:24.745000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:24.745000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 293 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:24.751000' WHERE "spree_products"."id" = 293 SQL (0.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, 293, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.073000' WHERE "spree_products"."id" = 293  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 884 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.079000' WHERE "spree_products"."id" = 293  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 293 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 293  (0.0ms) 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::InventoryUnit Load (0.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 293) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 293 AND "spree_option_types"."id" = 178 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" = 293) 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 13:08:25.143000', 178, 1, 293, '2012-09-25 13:08:25.143000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 293) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:08:25.152000' WHERE "spree_products"."id" = 293  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 884 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.164000' WHERE "spree_products"."id" = 293 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 293 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:08:25.185000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:08:25.185000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 294 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.206000' WHERE "spree_products"."id" = 294 SQL (0.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, 294, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.209000' WHERE "spree_products"."id" = 294  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 885 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.227000' WHERE "spree_products"."id" = 294  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 294  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 885 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 294) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 294 AND "spree_option_types"."id" = 178 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" = 294) 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 13:08:25.298000', 178, 1, 294, '2012-09-25 13:08:25.298000') 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 13:08:25.304000', 'print_type', 0, 'Print type', '2012-09-25 13:08:25.304000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 179 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" = 294) 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 13:08:25.339000', 179, 2, 294, '2012-09-25 13:08:25.339000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 294) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:08:25.371000' WHERE "spree_products"."id" = 294  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 885 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.377000' WHERE "spree_products"."id" = 294 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 294  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:08:25.397000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:08:25.399000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 292 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 292 ORDER BY spree_option_types.position  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 294 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (29.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (26.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:08:25.000000', 0, '2012-09-25 13:08:25.605000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:25.605000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 295 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.612000' WHERE "spree_products"."id" = 295 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 295, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.617000' WHERE "spree_products"."id" = 295  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 886 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.623000' WHERE "spree_products"."id" = 295  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 295  (0.0ms) 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::OptionType Load (0.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 13:08:25.645000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:25.645000') 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" = 295 AND "spree_option_types"."id" = 180 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" = 295) ORDER BY position 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 13:08:25.661000', 180, 1, 295, '2012-09-25 13:08:25.661000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 295) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1f313c5 succesfully SAVED : ID 295 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:08:25.000000', 0, '2012-09-25 13:08:25.728000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:25.728000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 296 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.735000' WHERE "spree_products"."id" = 296 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 296, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.802000' WHERE "spree_products"."id" = 296  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 887 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.826000' WHERE "spree_products"."id" = 296  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 296 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 296  (0.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 296 AND "spree_option_types"."id" = 180 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" = 296) ORDER BY position 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 13:08:25.849000', 180, 1, 296, '2012-09-25 13:08:25.849000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 296) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@b3a966 succesfully SAVED : ID 296 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:08:25.000000', 0, '2012-09-25 13:08:25.906000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:08:25.906000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 297 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.911000' WHERE "spree_products"."id" = 297 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 297, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.914000' WHERE "spree_products"."id" = 297  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 888 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:25.919000' WHERE "spree_products"."id" = 297  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 297 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 297  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 297 AND "spree_option_types"."id" = 180 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" = 297) ORDER BY position 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 13:08:25.943000', 180, 1, 297, '2012-09-25 13:08:25.943000') 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 13:08:25.948000', 'print_type', 0, 'Print type', '2012-09-25 13:08:25.948000') 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" = 297 AND "spree_option_types"."id" = 181 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" = 297) ORDER BY position 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 13:08:25.957000', 181, 2, 297, '2012-09-25 13:08:25.957000') 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" != 297) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@de050f succesfully SAVED : ID 297 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 295 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (29.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:08:26.127000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:26.127000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 298 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.158000' WHERE "spree_products"."id" = 298 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 298, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.161000' WHERE "spree_products"."id" = 298  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 889 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.192000' WHERE "spree_products"."id" = 298  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 298 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 298  (0.0ms) 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::OptionType Load (0.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 13:08:26.211000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:26.211000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 182 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" = 298) ORDER BY position 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 13:08:26.227000', 182, 1, 298, '2012-09-25 13:08:26.227000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 298) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1b7b48b succesfully SAVED : ID 298 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:08:26.271000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:26.271000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 299 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.277000' WHERE "spree_products"."id" = 299 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 299, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.281000' WHERE "spree_products"."id" = 299  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 890 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.287000' WHERE "spree_products"."id" = 299  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 299 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 299  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 299 AND "spree_option_types"."id" = 182 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" = 299) ORDER BY position 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 13:08:26.304000', 182, 1, 299, '2012-09-25 13:08:26.304000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 299) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@53115a succesfully SAVED : ID 299 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:08:26.347000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:08:26.347000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 300 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.353000' WHERE "spree_products"."id" = 300 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 300, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.358000' WHERE "spree_products"."id" = 300  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 891 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.362000' WHERE "spree_products"."id" = 300  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 300 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 300  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 300 AND "spree_option_types"."id" = 182 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" = 300) 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 13:08:26.377000', 182, 1, 300, '2012-09-25 13:08:26.377000') 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 13:08:26.381000', 'print_type', 0, 'Print type', '2012-09-25 13:08:26.381000') 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" = 300 AND "spree_option_types"."id" = 183 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" = 300) ORDER BY position 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 13:08:26.391000', 183, 2, 300, '2012-09-25 13:08:26.391000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 300) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@17e38e9 succesfully SAVED : ID 300 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 298 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (53.0ms) DELETE FROM "spree_option_types" SQL (5.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:26.576000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:08:26.576000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:26.666000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:26.666000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.672000' WHERE "spree_products"."id" = 301 SQL (0.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, 301, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.676000' WHERE "spree_products"."id" = 301  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 892 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.690000' WHERE "spree_products"."id" = 301  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 301  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:26.757000', NULL, 217, '2012-09-25 13:08:26.757000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 301, "updated_at" = '2012-09-25 13:08:26.768000' WHERE "spree_product_properties"."id" = 256 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" != 301) 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 13:08:26.776000', 'Paintings', '2012-09-25 13:08:26.776000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 372 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 13:08:26.784000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 372, '2012-09-25 13:08:26.784000') 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" = 301 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (301, 686) 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 13:08:26.803000', 'WaterColour', '2012-09-25 13:08:26.803000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 373 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 13:08:26.812000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 373, '2012-09-25 13:08:26.812000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (301, 687) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 301) 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" != 301) LIMIT 1 Spree::OptionType Load (0.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 13:08:26.837000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:26.837000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 184 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" = 301) 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 13:08:26.858000', 184, 1, 301, '2012-09-25 13:08:26.858000') 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" = 184 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 184) ORDER 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 13:08:26.912000', 'jpeg', 184, 1, NULL, '2012-09-25 13:08:26.912000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.918000' WHERE "spree_products"."id" = 301 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 301, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.926000' WHERE "spree_products"."id" = 301  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (893, 277) 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" = 184 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 184) 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 13:08:26.936000', 'PDF', 184, 2, NULL, '2012-09-25 13:08:26.936000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.954000' WHERE "spree_products"."id" = 301 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 301, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.957000' WHERE "spree_products"."id" = 301  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (894, 278) 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" = 184 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 184) ORDER 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 13:08:26.965000', 'PNG', 184, 3, NULL, '2012-09-25 13:08:26.965000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.985000' WHERE "spree_products"."id" = 301 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 301, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:26.996000' WHERE "spree_products"."id" = 301  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (895, 279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 AND ("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" != 301) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 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" = 301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 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" = 893 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 895 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" != 301) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.045000' WHERE "spree_products"."id" = 301  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 893 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.049000' WHERE "spree_products"."id" = 301 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.051000' WHERE "spree_products"."id" = 301  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 894 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.054000' WHERE "spree_products"."id" = 301 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 301 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.057000' WHERE "spree_products"."id" = 301  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 895 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.060000' WHERE "spree_products"."id" = 301 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 301) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 301 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 13:08:27.069000' WHERE "spree_products"."id" = 301 Row org.apache.poi.hssf.usermodel.HSSFRow@1c26da0 succesfully SAVED : ID 301 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:27.124000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:27.124000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.130000' WHERE "spree_products"."id" = 302 SQL (0.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, 302, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.137000' WHERE "spree_products"."id" = 302  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 896 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.140000' WHERE "spree_products"."id" = 302  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 302  (0.0ms) 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::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:27.155000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:27.155000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:27.159000', NULL, 218, '2012-09-25 13:08:27.159000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 302, "updated_at" = '2012-09-25 13:08:27.163000' WHERE "spree_product_properties"."id" = 257 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" != 302) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 372 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" = 302 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (302, 686) 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 13:08:27.178000', 'Oils', '2012-09-25 13:08:27.178000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 374 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 13:08:27.185000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 374, '2012-09-25 13:08:27.185000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (302, 688) 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" = 372 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" = 686 AND "spree_taxons"."taxonomy_id" = 372 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 686 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:27.198000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 686, 'paintings/nature', 0, 8, 372, '2012-09-25 13:08:27.198000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 686 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 689 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 6 THEN "lft" + 8 - 6 WHEN "lft" BETWEEN 7 AND 8 THEN "lft" + 2 - 7 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 6 THEN "rgt" + 8 - 6 WHEN "rgt" BETWEEN 7 AND 8 THEN "rgt" + 2 - 7 ELSE "rgt" END, "parent_id" = CASE WHEN id = 689 THEN 686 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 686 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 689 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 689 AND "spree_taxons"."taxonomy_id" = 372 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" = 689 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 13:08:27.217000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 689, 'paintings/nature/seascape', 0, 10, 372, '2012-09-25 13:08:27.217000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 689 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 690 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 = 690 THEN 689 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 689 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 690 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (302, 689)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (302, 690) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 302) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 302 AND "spree_option_types"."id" = 184 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" = 302) 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 13:08:27.247000', 184, 1, 302, '2012-09-25 13:08:27.247000') 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" = 184 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.261000' WHERE "spree_products"."id" = 302 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 302, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.266000' WHERE "spree_products"."id" = 302  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (897, 277) 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" = 184 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.272000' WHERE "spree_products"."id" = 302 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 302, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.275000' WHERE "spree_products"."id" = 302  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (898, 278) 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" = 184 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.283000' WHERE "spree_products"."id" = 302 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 302, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.286000' WHERE "spree_products"."id" = 302  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (899, 279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 AND ("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" != 302) 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" != 302) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 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" = 302 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 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" = 897 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 898 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 302) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 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" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.640000' WHERE "spree_products"."id" = 302  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 897 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.644000' WHERE "spree_products"."id" = 302 Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.647000' WHERE "spree_products"."id" = 302  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 898 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.649000' WHERE "spree_products"."id" = 302 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 302 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.652000' WHERE "spree_products"."id" = 302  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 899 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.654000' WHERE "spree_products"."id" = 302 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" != 302) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 302 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 13:08:27.671000' WHERE "spree_products"."id" = 302 Row org.apache.poi.hssf.usermodel.HSSFRow@61bf94 succesfully SAVED : ID 302 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:27.700000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:27.700000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.708000' WHERE "spree_products"."id" = 303 SQL (0.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, 303, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.712000' WHERE "spree_products"."id" = 303  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 900 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.738000' WHERE "spree_products"."id" = 303  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 303  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:27.749000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:27.749000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:27.757000', NULL, 219, '2012-09-25 13:08:27.757000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 303, "updated_at" = '2012-09-25 13:08:27.761000' WHERE "spree_product_properties"."id" = 258 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:27.765000', NULL, 218, '2012-09-25 13:08:27.765000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 303, "updated_at" = '2012-09-25 13:08:27.769000' WHERE "spree_product_properties"."id" = 259 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:27.778000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:27.778000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:27.785000', NULL, 220, '2012-09-25 13:08:27.785000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 303, "updated_at" = '2012-09-25 13:08:27.788000' WHERE "spree_product_properties"."id" = 260 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" != 303) 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 13:08:27.796000', 'Drawings', '2012-09-25 13:08:27.796000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 375 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 13:08:27.803000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 375, '2012-09-25 13:08:27.803000') 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" = 303 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (303, 691) 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" = 372 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 686 AND "spree_taxons"."taxonomy_id" = 372 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" = 686 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 13:08:27.902000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 686, 'paintings/landscape', 0, 14, 372, '2012-09-25 13:08:27.902000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 686 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 692 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 692 THEN 686 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 686 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 692 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (303, 692)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (303, 686) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 303) 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" != 303) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 303 AND "spree_option_types"."id" = 184 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" = 303) 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 13:08:27.940000', 184, 1, 303, '2012-09-25 13:08:27.940000') 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" = 184 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.956000' WHERE "spree_products"."id" = 303 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 303, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.962000' WHERE "spree_products"."id" = 303  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (901, 277) 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" = 184 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:27.995000' WHERE "spree_products"."id" = 303 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 303, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.002000' WHERE "spree_products"."id" = 303  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (902, 278) 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" = 184 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.017000' WHERE "spree_products"."id" = 303 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 303, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.039000' WHERE "spree_products"."id" = 303  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (903, 279) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 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 13:08:28.045000', 'print_type', 0, 'Print type', '2012-09-25 13:08:28.045000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 185 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" = 303) ORDER BY position 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 13:08:28.056000', 185, 2, 303, '2012-09-25 13:08:28.056000') 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" = 185 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 185) ORDER 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 13:08:28.065000', 'black_white', 185, 1, NULL, '2012-09-25 13:08:28.065000')  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.106000' WHERE "spree_products"."id" = 303 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 303, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.109000' WHERE "spree_products"."id" = 303  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (904, 280) 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" = 185 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 185) ORDER 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 13:08:28.114000', 'colour', 185, 2, NULL, '2012-09-25 13:08:28.114000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.121000' WHERE "spree_products"."id" = 303 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, 303, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.125000' WHERE "spree_products"."id" = 303  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (905, 281) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("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" != 303) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 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" = 303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 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" = 901 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 902 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 903 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" = 904 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" = 905 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" != 303) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.173000' WHERE "spree_products"."id" = 303  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 901 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.177000' WHERE "spree_products"."id" = 303 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.179000' WHERE "spree_products"."id" = 303  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 902 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.181000' WHERE "spree_products"."id" = 303 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.185000' WHERE "spree_products"."id" = 303  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 903 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.187000' WHERE "spree_products"."id" = 303 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.190000' WHERE "spree_products"."id" = 303  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 904 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.213000' WHERE "spree_products"."id" = 303 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 303 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.215000' WHERE "spree_products"."id" = 303  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 905 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.218000' WHERE "spree_products"."id" = 303 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" != 303) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 303 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 13:08:28.227000' WHERE "spree_products"."id" = 303 Row org.apache.poi.hssf.usermodel.HSSFRow@12b710e succesfully SAVED : ID 303 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 301 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (2.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 303 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 303 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (32.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:28.434000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:08:28.434000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (2.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (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 13:08:28.527000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:28.527000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.533000' WHERE "spree_products"."id" = 304 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, 304, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.538000' WHERE "spree_products"."id" = 304  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 906 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.543000' WHERE "spree_products"."id" = 304  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 304  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:28.552000', NULL, 221, '2012-09-25 13:08:28.552000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 304, "updated_at" = '2012-09-25 13:08:28.554000' WHERE "spree_product_properties"."id" = 261 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" != 304) 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" != 304) 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" != 304) 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 13:08:28.576000', 'Paintings', '2012-09-25 13:08:28.576000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 376 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 13:08:28.582000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 376, '2012-09-25 13:08:28.582000') 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" = 304 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (304, 693) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 304) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:28.608000', 'WaterColour', '2012-09-25 13:08:28.608000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 377 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 13:08:28.619000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 377, '2012-09-25 13:08:28.619000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (304, 694) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 304) 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" != 304) 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 13:08:28.640000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:28.640000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 186 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" = 304) ORDER BY position 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 13:08:28.651000', 186, 1, 304, '2012-09-25 13:08:28.651000') 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" = 186 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 186) ORDER 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 13:08:28.656000', 'jpeg', 186, 1, NULL, '2012-09-25 13:08:28.656000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.694000' WHERE "spree_products"."id" = 304 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 304, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.705000' WHERE "spree_products"."id" = 304  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (907, 282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("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" != 304) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 304 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 186 LIMIT 1 Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 186) ORDER 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 13:08:28.725000', 'PDF', 186, 2, NULL, '2012-09-25 13:08:28.725000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.747000' WHERE "spree_products"."id" = 304 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 304, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.749000' WHERE "spree_products"."id" = 304  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (908, 283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("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" != 304) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 304 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 186 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 186) ORDER 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 13:08:28.762000', 'PNG', 186, 3, NULL, '2012-09-25 13:08:28.762000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.770000' WHERE "spree_products"."id" = 304 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 304, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.772000' WHERE "spree_products"."id" = 304  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (909, 284) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("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" != 304) 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" != 304) 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" != 304) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 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" = 304 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" = 304 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" = 907 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 908 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 909 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" != 304) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.829000' WHERE "spree_products"."id" = 304  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 907 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.832000' WHERE "spree_products"."id" = 304 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.834000' WHERE "spree_products"."id" = 304  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 908 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.838000' WHERE "spree_products"."id" = 304 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 304 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.840000' WHERE "spree_products"."id" = 304  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 909 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.842000' WHERE "spree_products"."id" = 304 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 304) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 304 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 13:08:28.848000' WHERE "spree_products"."id" = 304 Row org.apache.poi.hssf.usermodel.HSSFRow@597ec8 succesfully SAVED : ID 304 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:28.861000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:28.861000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.864000' WHERE "spree_products"."id" = 305 SQL (0.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, 305, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.867000' WHERE "spree_products"."id" = 305  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 910 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.870000' WHERE "spree_products"."id" = 305  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 305  (0.0ms) 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::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 13:08:28.882000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:28.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 13:08:28.885000', NULL, 222, '2012-09-25 13:08:28.885000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 305, "updated_at" = '2012-09-25 13:08:28.887000' WHERE "spree_product_properties"."id" = 262 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" != 305) 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" != 305) 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" != 305) 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" = 376 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 305 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (305, 693) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 305) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:28.915000', 'Oils', '2012-09-25 13:08:28.915000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 378 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 13:08:28.923000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 378, '2012-09-25 13:08:28.923000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (305, 695) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 305) 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" = 376 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" = 693 AND "spree_taxons"."taxonomy_id" = 376 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" = 693 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 13:08:28.940000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 693, 'paintings/nature', 0, 8, 376, '2012-09-25 13:08:28.940000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 693 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 696 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 = 696 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" = 693 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 696 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 696 AND "spree_taxons"."taxonomy_id" = 376 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" = 696 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 13:08:28.959000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 696, 'paintings/nature/seascape', 0, 10, 376, '2012-09-25 13:08:28.959000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 696 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 697 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 697 THEN 696 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 696 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 697 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (305, 696)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (305, 697) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 305) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 305 AND "spree_option_types"."id" = 186 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" = 305) ORDER BY position 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 13:08:28.981000', 186, 1, 305, '2012-09-25 13:08:28.981000') 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" = 186 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.988000' WHERE "spree_products"."id" = 305 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 305, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:28.991000' WHERE "spree_products"."id" = 305  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (911, 282) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("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" != 305) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 305 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 186 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.012000' WHERE "spree_products"."id" = 305 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, 305, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.015000' WHERE "spree_products"."id" = 305  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (912, 283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("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" != 305) LIMIT 1 Spree::OptionType Load (342.0ms) SELECT "spree_option_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" = 305 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 186 LIMIT 1  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.402000' WHERE "spree_products"."id" = 305 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 305, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.407000' WHERE "spree_products"."id" = 305  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (913, 284) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("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" != 305) 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" != 305) 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" != 305) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 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" = 305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 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" = 911 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 912 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 913 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" != 305) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.453000' WHERE "spree_products"."id" = 305  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 911 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.455000' WHERE "spree_products"."id" = 305 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.460000' WHERE "spree_products"."id" = 305  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 912 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.465000' WHERE "spree_products"."id" = 305 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 305 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.468000' WHERE "spree_products"."id" = 305  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 913 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.469000' WHERE "spree_products"."id" = 305 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 305) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 305 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 13:08:29.474000' WHERE "spree_products"."id" = 305 Row org.apache.poi.hssf.usermodel.HSSFRow@160f550 succesfully SAVED : ID 305 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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  (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 13:08:29.497000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:29.497000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.509000' WHERE "spree_products"."id" = 306 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, 306, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.512000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 914 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.519000' WHERE "spree_products"."id" = 306  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 306  (0.0ms) 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::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 13:08:29.535000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:29.535000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:29.566000', NULL, 223, '2012-09-25 13:08:29.566000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 306, "updated_at" = '2012-09-25 13:08:29.568000' WHERE "spree_product_properties"."id" = 263 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" != 306) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:29.575000', NULL, 222, '2012-09-25 13:08:29.575000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 306, "updated_at" = '2012-09-25 13:08:29.578000' WHERE "spree_product_properties"."id" = 264 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" != 306) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:29.589000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:29.589000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:29.592000', NULL, 224, '2012-09-25 13:08:29.592000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 306, "updated_at" = '2012-09-25 13:08:29.599000' WHERE "spree_product_properties"."id" = 265 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 306) 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 13:08:29.610000', 'Drawings', '2012-09-25 13:08:29.610000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 379 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 13:08:29.620000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 379, '2012-09-25 13:08:29.620000') 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" = 306 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (306, 698) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 306) 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" = 376 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" = 693 AND "spree_taxons"."taxonomy_id" = 376 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" = 693 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 13:08:29.648000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 693, 'paintings/landscape', 0, 14, 376, '2012-09-25 13:08:29.648000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 693 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 699 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 = 699 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" = 693 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 699 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (306, 699)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (306, 693) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 306) 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" != 306) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 306 AND "spree_option_types"."id" = 186 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" = 306) ORDER BY position 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 13:08:29.676000', 186, 1, 306, '2012-09-25 13:08:29.676000') 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" = 186 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.682000' WHERE "spree_products"."id" = 306 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 306, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.685000' WHERE "spree_products"."id" = 306  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (915, 282) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("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" != 306) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 306 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 186 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.703000' WHERE "spree_products"."id" = 306 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 306, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.706000' WHERE "spree_products"."id" = 306  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (916, 283) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("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" != 306) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 306 AND "spree_option_types"."id" = 186 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 186 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.724000' WHERE "spree_products"."id" = 306 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 306, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.727000' WHERE "spree_products"."id" = 306  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (917, 284) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("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" != 306) 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 13:08:29.740000', 'print_type', 0, 'Print type', '2012-09-25 13:08:29.740000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 187 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" = 306) 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 13:08:29.765000', 187, 2, 306, '2012-09-25 13:08:29.765000') 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" = 187 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 187) ORDER 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 13:08:29.816000', 'black_white', 187, 1, NULL, '2012-09-25 13:08:29.816000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.825000' WHERE "spree_products"."id" = 306 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 306, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.828000' WHERE "spree_products"."id" = 306  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (918, 285) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("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" != 306) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 306 AND "spree_option_types"."id" = 187 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 187 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 187) ORDER 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 13:08:29.840000', 'colour', 187, 2, NULL, '2012-09-25 13:08:29.840000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.847000' WHERE "spree_products"."id" = 306 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 306, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.850000' WHERE "spree_products"."id" = 306  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (919, 286) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("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" != 306) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 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" = 306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 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" = 915 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" = 916 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 917 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 919 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" != 306) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.891000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 915 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.893000' WHERE "spree_products"."id" = 306 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.896000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 916 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.898000' WHERE "spree_products"."id" = 306 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.900000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 917 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.902000' WHERE "spree_products"."id" = 306 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.906000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 918 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.907000' WHERE "spree_products"."id" = 306 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 306 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.910000' WHERE "spree_products"."id" = 306  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 919 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:29.912000' WHERE "spree_products"."id" = 306 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 306) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 306 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 13:08:29.917000' WHERE "spree_products"."id" = 306 Row org.apache.poi.hssf.usermodel.HSSFRow@1de8244 succesfully SAVED : ID 306 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 304 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 306 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 306 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (28.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (5.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (26.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (7.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:30.497000', 'Paintings', '2012-09-25 13:08:30.497000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 380 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 13:08:30.511000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 380, '2012-09-25 13:08:30.511000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:30.528000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 380, '2012-09-25 13:08:30.528000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:30.566000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:30.566000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.598000' WHERE "spree_products"."id" = 307 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, 307, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.602000' WHERE "spree_products"."id" = 307  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 920 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.609000' WHERE "spree_products"."id" = 307  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 307  (0.0ms) 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::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 13:08:30.623000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:30.623000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:30.626000', NULL, 225, '2012-09-25 13:08:30.626000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 307, "updated_at" = '2012-09-25 13:08:30.628000' WHERE "spree_product_properties"."id" = 266 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" != 307) 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" = 380 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" = 307 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (307, 700) 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 13:08:30.640000', 'WaterColour', '2012-09-25 13:08:30.640000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 381 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 13:08:30.680000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 381, '2012-09-25 13:08:30.680000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (307, 702) 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" != 307) 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" != 307) LIMIT 1 Spree::OptionType Load (0.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 13:08:30.695000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:30.695000') 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" = 307 AND "spree_option_types"."id" = 188 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" = 307) ORDER BY position 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 13:08:30.714000', 188, 1, 307, '2012-09-25 13:08:30.714000') 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" = 188 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 188) 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 13:08:30.754000', 'jpeg', 188, 1, NULL, '2012-09-25 13:08:30.754000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.761000' WHERE "spree_products"."id" = 307 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, 307, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.763000' WHERE "spree_products"."id" = 307  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (921, 287) 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" = 188 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 188) ORDER 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 13:08:30.768000', 'PDF', 188, 2, NULL, '2012-09-25 13:08:30.768000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.773000' WHERE "spree_products"."id" = 307 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 307, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.778000' WHERE "spree_products"."id" = 307  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (922, 288) 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" = 188 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 188) ORDER 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 13:08:30.783000', 'PNG', 188, 3, NULL, '2012-09-25 13:08:30.783000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.790000' WHERE "spree_products"."id" = 307 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 307, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.795000' WHERE "spree_products"."id" = 307  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (923, 289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("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" != 307) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 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" = 307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 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" = 921 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 922 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 923 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" != 307) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.819000' WHERE "spree_products"."id" = 307  (4.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 921 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.846000' WHERE "spree_products"."id" = 307 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.851000' WHERE "spree_products"."id" = 307  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 922 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.855000' WHERE "spree_products"."id" = 307 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 307 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.857000' WHERE "spree_products"."id" = 307  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 923 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.861000' WHERE "spree_products"."id" = 307 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 307) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 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 13:08:30.867000' WHERE "spree_products"."id" = 307 Row org.apache.poi.hssf.usermodel.HSSFRow@11a5ae9 succesfully SAVED : ID 307 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:30.886000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:30.886000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.894000' WHERE "spree_products"."id" = 308 SQL (0.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, 308, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.901000' WHERE "spree_products"."id" = 308  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 924 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:30.904000' WHERE "spree_products"."id" = 308  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 308  (0.0ms) 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::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 13:08:30.911000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:30.911000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:30.914000', NULL, 226, '2012-09-25 13:08:30.914000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 308, "updated_at" = '2012-09-25 13:08:30.916000' WHERE "spree_product_properties"."id" = 267 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" != 308) 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" = 380 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" = 308 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (308, 700) 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 13:08:30.924000', 'Oils', '2012-09-25 13:08:30.924000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 382 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (3.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:30.932000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 382, '2012-09-25 13:08:30.932000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (308, 703) 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" = 380 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" = 700 AND "spree_taxons"."taxonomy_id" = 380 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" = 700 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 13:08:30.956000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 700, 'paintings/nature', 0, 10, 380, '2012-09-25 13:08:30.956000') Spree::Taxon Load (2.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 700 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 704 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 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 (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 700 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 704 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 704 AND "spree_taxons"."taxonomy_id" = 380 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" = 704 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:30.994000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 704, 'paintings/nature/seascape', 0, 12, 380, '2012-09-25 13:08:30.994000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 704 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 705 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 705 THEN 704 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 704 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 705 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (308, 704)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (308, 705) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 308) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 308 AND "spree_option_types"."id" = 188 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" = 308) ORDER BY position 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 13:08:31.019000', 188, 1, 308, '2012-09-25 13:08:31.019000') 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" = 188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.027000' WHERE "spree_products"."id" = 308 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, 308, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.029000' WHERE "spree_products"."id" = 308  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (925, 287) 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" = 188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.043000' WHERE "spree_products"."id" = 308 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 308, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.045000' WHERE "spree_products"."id" = 308  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (926, 288) 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" = 188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.050000' WHERE "spree_products"."id" = 308 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, 308, 'DEMO_002_3', NULL, NULL) SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.053000' WHERE "spree_products"."id" = 308  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (927, 289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 Spree::Variant Load (4.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 AND ("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" != 308) 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" != 308) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 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" = 308 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 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" = 925 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" = 926 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 927 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" != 308) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 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" = 308 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.120000' WHERE "spree_products"."id" = 308  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 925 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.122000' WHERE "spree_products"."id" = 308 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.124000' WHERE "spree_products"."id" = 308  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 926 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.126000' WHERE "spree_products"."id" = 308 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 308 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.128000' WHERE "spree_products"."id" = 308  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 927 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.129000' WHERE "spree_products"."id" = 308 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" != 308) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 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 13:08:31.134000' WHERE "spree_products"."id" = 308 Row org.apache.poi.hssf.usermodel.HSSFRow@1e4b515 succesfully SAVED : ID 308 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:31.147000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:31.147000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.176000' WHERE "spree_products"."id" = 309 SQL (0.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, 309, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.179000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 928 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.183000' WHERE "spree_products"."id" = 309  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 309  (1.0ms) 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.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 13:08:31.195000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:31.195000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:31.199000', NULL, 227, '2012-09-25 13:08:31.199000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 309, "updated_at" = '2012-09-25 13:08:31.203000' WHERE "spree_product_properties"."id" = 268 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 13:08:31.229000', NULL, 226, '2012-09-25 13:08:31.229000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 309, "updated_at" = '2012-09-25 13:08:31.231000' WHERE "spree_product_properties"."id" = 269 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 13:08:31.243000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:31.243000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:31.245000', NULL, 228, '2012-09-25 13:08:31.245000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 309, "updated_at" = '2012-09-25 13:08:31.247000' WHERE "spree_product_properties"."id" = 270 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" != 309) 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 13:08:31.252000', 'Drawings', '2012-09-25 13:08:31.252000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 383 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 13:08:31.256000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 383, '2012-09-25 13:08:31.256000') 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" = 309 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (309, 706) 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" = 380 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" = 700 AND "spree_taxons"."taxonomy_id" = 380 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" = 700 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 13:08:31.276000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 700, 'paintings/landscape', 0, 16, 380, '2012-09-25 13:08:31.276000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 700 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 707 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 707 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" = 700 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 707 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (309, 707)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (309, 700) 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" != 309) 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" != 309) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 309 AND "spree_option_types"."id" = 188 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" = 309) 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 13:08:31.300000', 188, 1, 309, '2012-09-25 13:08:31.300000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.306000' WHERE "spree_products"."id" = 309 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 309, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.313000' WHERE "spree_products"."id" = 309  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (929, 287) 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" = 188 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.320000' WHERE "spree_products"."id" = 309 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, 309, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.322000' WHERE "spree_products"."id" = 309  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (930, 288) 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" = 188 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.328000' WHERE "spree_products"."id" = 309 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 309, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.330000' WHERE "spree_products"."id" = 309  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (931, 289) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 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 13:08:31.336000', 'print_type', 0, 'Print type', '2012-09-25 13:08:31.336000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 189 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" = 309) ORDER BY position 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 13:08:31.394000', 189, 2, 309, '2012-09-25 13:08:31.394000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 189 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 189) ORDER 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 13:08:31.399000', 'black_white', 189, 1, NULL, '2012-09-25 13:08:31.399000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.412000' WHERE "spree_products"."id" = 309 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 309, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.414000' WHERE "spree_products"."id" = 309  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (932, 290) 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" = 189 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 189) 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 13:08:31.422000', 'colour', 189, 2, NULL, '2012-09-25 13:08:31.422000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.426000' WHERE "spree_products"."id" = 309 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 309, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.428000' WHERE "spree_products"."id" = 309  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (933, 291) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("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" != 309) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 930 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" = 931 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 933 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" != 309) LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.469000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 929 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.472000' WHERE "spree_products"."id" = 309 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.474000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 930 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.476000' WHERE "spree_products"."id" = 309 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.477000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 931 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.480000' WHERE "spree_products"."id" = 309 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.482000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 932 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.483000' WHERE "spree_products"."id" = 309 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 309 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.488000' WHERE "spree_products"."id" = 309  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 933 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.490000' WHERE "spree_products"."id" = 309 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 309) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:08:31.501000' WHERE "spree_products"."id" = 309 Row org.apache.poi.hssf.usermodel.HSSFRow@25588a succesfully SAVED : ID 309 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 308 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 309 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 307 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 307 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 921 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 922 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 188 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 923 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:31.715000', 'Paintings', '2012-09-25 13:08:31.715000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 384 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 13:08:31.726000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 384, '2012-09-25 13:08:31.726000')  (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 13:08:31.737000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 384, '2012-09-25 13:08:31.737000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (4.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:31.775000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:31.775000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.807000' WHERE "spree_products"."id" = 310 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, 310, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.810000' WHERE "spree_products"."id" = 310  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 934 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.815000' WHERE "spree_products"."id" = 310  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 310  (0.0ms) 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 (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:31.823000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:31.823000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:31.826000', NULL, 229, '2012-09-25 13:08:31.826000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 310, "updated_at" = '2012-09-25 13:08:31.828000' WHERE "spree_product_properties"."id" = 271 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" != 310) 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" != 310) 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" != 310) 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" = 384 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" = 310 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 708) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 310) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:31.850000', 'WaterColour', '2012-09-25 13:08:31.850000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 385 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 13:08:31.870000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 385, '2012-09-25 13:08:31.870000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (310, 710) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 310) 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" != 310) 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 13:08:31.909000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:31.909000') 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" = 310 AND "spree_option_types"."id" = 190 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" = 310) ORDER BY position 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 13:08:31.922000', 190, 1, 310, '2012-09-25 13:08:31.922000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 190 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 190) ORDER 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 13:08:31.977000', 'jpeg', 190, 1, NULL, '2012-09-25 13:08:31.977000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.985000' WHERE "spree_products"."id" = 310 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 310, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:31.987000' WHERE "spree_products"."id" = 310  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (935, 292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("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" != 310) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 310 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 190 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 190) ORDER 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 13:08:32.007000', 'PDF', 190, 2, NULL, '2012-09-25 13:08:32.007000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.012000' WHERE "spree_products"."id" = 310 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 310, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.026000' WHERE "spree_products"."id" = 310  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (936, 293) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 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" != 310) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 310 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 190 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 190) ORDER 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 13:08:32.039000', 'PNG', 190, 3, NULL, '2012-09-25 13:08:32.039000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.046000' WHERE "spree_products"."id" = 310 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, 310, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.048000' WHERE "spree_products"."id" = 310  (3.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (937, 294) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("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" != 310) 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" != 310) 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" != 310) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 936 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 937 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" != 310) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.118000' WHERE "spree_products"."id" = 310  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 935 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.121000' WHERE "spree_products"."id" = 310 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.123000' WHERE "spree_products"."id" = 310  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 936 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.124000' WHERE "spree_products"."id" = 310 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 310 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.126000' WHERE "spree_products"."id" = 310  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 937 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.128000' WHERE "spree_products"."id" = 310 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 310) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:08:32.133000' WHERE "spree_products"."id" = 310 Row org.apache.poi.hssf.usermodel.HSSFRow@157fd2c succesfully SAVED : ID 310 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:32.143000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:32.143000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.146000' WHERE "spree_products"."id" = 311 SQL (0.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, 311, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.150000' WHERE "spree_products"."id" = 311  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 938 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.155000' WHERE "spree_products"."id" = 311  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 311  (1.0ms) 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.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 13:08:32.162000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:32.162000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:32.165000', NULL, 230, '2012-09-25 13:08:32.165000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 311, "updated_at" = '2012-09-25 13:08:32.168000' WHERE "spree_product_properties"."id" = 272 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" != 311) 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" != 311) 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" != 311) 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" = 384 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" = 311 Product assigned to Taxons : ["Paintings"]  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 708) 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" != 311) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:32.186000', 'Oils', '2012-09-25 13:08:32.186000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 386 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 13:08:32.191000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 386, '2012-09-25 13:08:32.191000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 711) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 311) 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" = 384 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" = 708 AND "spree_taxons"."taxonomy_id" = 384 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" = 708 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 13:08:32.205000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 708, 'paintings/nature', 0, 10, 384, '2012-09-25 13:08:32.205000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 708 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 712 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 712 THEN 708 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 708 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 712 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 712 AND "spree_taxons"."taxonomy_id" = 384 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" = 712 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 13:08:32.240000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 712, 'paintings/nature/seascape', 0, 12, 384, '2012-09-25 13:08:32.240000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 712 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 713 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 713 THEN 712 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 712 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 713 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 712)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (311, 713) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 311) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 311 AND "spree_option_types"."id" = 190 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" = 311) ORDER BY position 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 13:08:32.261000', 190, 1, 311, '2012-09-25 13:08:32.261000') 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" = 190 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.267000' WHERE "spree_products"."id" = 311 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 311, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.271000' WHERE "spree_products"."id" = 311  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (939, 292) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("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" != 311) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 311 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 190 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.283000' WHERE "spree_products"."id" = 311 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 311, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.285000' WHERE "spree_products"."id" = 311  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (940, 293) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("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" != 311) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 311 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 190 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.302000' WHERE "spree_products"."id" = 311 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 311, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.305000' WHERE "spree_products"."id" = 311  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (941, 294) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("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" != 311) 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" != 311) 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" != 311) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 940 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 941 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" != 311) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.328000' WHERE "spree_products"."id" = 311  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 939 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.330000' WHERE "spree_products"."id" = 311 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.332000' WHERE "spree_products"."id" = 311  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 940 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.333000' WHERE "spree_products"."id" = 311 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 311 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.335000' WHERE "spree_products"."id" = 311  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 941 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.337000' WHERE "spree_products"."id" = 311 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 311) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:32.341000' WHERE "spree_products"."id" = 311 Row org.apache.poi.hssf.usermodel.HSSFRow@19f8c4a succesfully SAVED : ID 311 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:32.352000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:32.352000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.358000' WHERE "spree_products"."id" = 312 SQL (0.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, 312, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.362000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 942 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.365000' WHERE "spree_products"."id" = 312  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 312  (0.0ms) 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.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 13:08:32.372000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:32.372000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:32.381000', NULL, 231, '2012-09-25 13:08:32.381000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 312, "updated_at" = '2012-09-25 13:08:32.383000' WHERE "spree_product_properties"."id" = 273 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" != 312) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:32.387000', NULL, 230, '2012-09-25 13:08:32.387000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 312, "updated_at" = '2012-09-25 13:08:32.389000' WHERE "spree_product_properties"."id" = 274 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" != 312) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:32.394000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:32.394000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:32.397000', NULL, 232, '2012-09-25 13:08:32.397000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 312, "updated_at" = '2012-09-25 13:08:32.401000' WHERE "spree_product_properties"."id" = 275 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" != 312) 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 13:08:32.407000', 'Drawings', '2012-09-25 13:08:32.407000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 387 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 13:08:32.411000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 387, '2012-09-25 13:08:32.411000') 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" = 312 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (312, 714) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 312) 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" = 384 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 708 AND "spree_taxons"."taxonomy_id" = 384 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 708 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 13:08:32.432000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 708, 'paintings/landscape', 0, 16, 384, '2012-09-25 13:08:32.432000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 708 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 715 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 715 THEN 708 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 708 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 715 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (312, 715)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (312, 708) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 312) 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" != 312) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 312 AND "spree_option_types"."id" = 190 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" = 312) ORDER BY position 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 13:08:32.458000', 190, 1, 312, '2012-09-25 13:08:32.458000') 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" = 190 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.493000' WHERE "spree_products"."id" = 312 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 312, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.496000' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (943, 292) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("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" != 312) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 312 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 190 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.514000' WHERE "spree_products"."id" = 312 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 312, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.516000' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (944, 293) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 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" != 312) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 312 AND "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 190 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.529000' WHERE "spree_products"."id" = 312 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 312, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.531000' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (945, 294) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("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" != 312) 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 13:08:32.539000', 'print_type', 0, 'Print type', '2012-09-25 13:08:32.539000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 191 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" = 312) ORDER BY position 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 13:08:32.592000', 191, 2, 312, '2012-09-25 13:08:32.592000') 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" = 191 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 191) ORDER 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 13:08:32.596000', 'black_white', 191, 1, NULL, '2012-09-25 13:08:32.596000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.607000' WHERE "spree_products"."id" = 312 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 312, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.609000' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (946, 295) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("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" != 312) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 312 AND "spree_option_types"."id" = 191 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 191 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 191) ORDER 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 13:08:32.629000', 'colour', 191, 2, NULL, '2012-09-25 13:08:32.629000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.643000' WHERE "spree_products"."id" = 312 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 312, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.645000' WHERE "spree_products"."id" = 312  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (947, 296) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("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" != 312) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 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" = 312 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 944 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 945 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 947 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" != 312) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.690000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 943 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.691000' WHERE "spree_products"."id" = 312 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.693000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 944 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.695000' WHERE "spree_products"."id" = 312 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.700000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 945 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.702000' WHERE "spree_products"."id" = 312 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.705000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 946 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.706000' WHERE "spree_products"."id" = 312 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 312 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.708000' WHERE "spree_products"."id" = 312  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 947 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:32.710000' WHERE "spree_products"."id" = 312 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 312) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:08:32.713000' WHERE "spree_products"."id" = 312 Row org.apache.poi.hssf.usermodel.HSSFRow@840dcf succesfully SAVED : ID 312 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 310 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 311 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 312 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) 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::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 310 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 935 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 936 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 190 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 937 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (37.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:32.982000', 'Paintings', '2012-09-25 13:08:32.982000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 388 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 13:08:32.989000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 388, '2012-09-25 13:08:32.989000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:32.996000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 388, '2012-09-25 13:08:32.996000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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 13:08:33.051000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:33.051000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.057000' WHERE "spree_products"."id" = 313 SQL (0.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, 313, 'DEMO_001', NULL, NULL) SQL (27.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.061000' WHERE "spree_products"."id" = 313  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 948 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.090000' WHERE "spree_products"."id" = 313  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 313  (0.0ms) 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.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 13:08:33.101000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:33.101000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:33.105000', NULL, 233, '2012-09-25 13:08:33.105000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 313, "updated_at" = '2012-09-25 13:08:33.109000' WHERE "spree_product_properties"."id" = 276 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 313) 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" = 388 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" = 313 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 716) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 313) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:33.132000', 'WaterColour', '2012-09-25 13:08:33.132000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 389 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 13:08:33.136000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 389, '2012-09-25 13:08:33.136000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (313, 718) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 313) LIMIT 1 Spree::OptionType Load (0.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 13:08:33.148000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:33.148000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 192 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" = 313) ORDER BY position 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 13:08:33.158000', 192, 1, 313, '2012-09-25 13:08:33.158000') 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" = 192 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 192) ORDER 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 13:08:33.164000', 'jpeg', 192, 1, NULL, '2012-09-25 13:08:33.164000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.169000' WHERE "spree_products"."id" = 313 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 313, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.172000' WHERE "spree_products"."id" = 313  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (949, 297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("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" != 313) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 313 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 192 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 192) ORDER 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 13:08:33.211000', 'PDF', 192, 2, NULL, '2012-09-25 13:08:33.211000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.215000' WHERE "spree_products"."id" = 313 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 313, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.218000' WHERE "spree_products"."id" = 313  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (950, 298) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 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" != 313) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 313 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 192 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 192) ORDER 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 13:08:33.235000', 'PNG', 192, 3, NULL, '2012-09-25 13:08:33.235000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.242000' WHERE "spree_products"."id" = 313 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 313, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.244000' WHERE "spree_products"."id" = 313  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (951, 299) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("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" != 313) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 950 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 951 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" != 313) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.290000' WHERE "spree_products"."id" = 313  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 949 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.292000' WHERE "spree_products"."id" = 313 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.294000' WHERE "spree_products"."id" = 313  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 950 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.296000' WHERE "spree_products"."id" = 313 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 313 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.298000' WHERE "spree_products"."id" = 313  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 951 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.300000' WHERE "spree_products"."id" = 313 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 313) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:08:33.305000' WHERE "spree_products"."id" = 313 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:33.315000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:33.315000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.319000' WHERE "spree_products"."id" = 314 SQL (0.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, 314, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.323000' WHERE "spree_products"."id" = 314  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 952 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.325000' WHERE "spree_products"."id" = 314  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 314  (1.0ms) 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.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 13:08:33.339000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:33.339000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:33.343000', NULL, 234, '2012-09-25 13:08:33.343000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 314, "updated_at" = '2012-09-25 13:08:33.345000' WHERE "spree_product_properties"."id" = 277 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 314) 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" = 388 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" = 314 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (314, 716) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 314) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:33.366000', 'Oils', '2012-09-25 13:08:33.366000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 390 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 13:08:33.374000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 390, '2012-09-25 13:08:33.374000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (314, 719) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 314) 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" = 388 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" = 716 AND "spree_taxons"."taxonomy_id" = 388 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" = 716 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 13:08:33.431000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 716, 'paintings/nature', 0, 10, 388, '2012-09-25 13:08:33.431000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 716 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 720 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 720 THEN 716 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 716 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 720 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 720 AND "spree_taxons"."taxonomy_id" = 388 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" = 720 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 13:08:33.446000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 720, 'paintings/nature/seascape', 0, 12, 388, '2012-09-25 13:08:33.446000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 720 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 721 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 721 THEN 720 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 720 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 721 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (314, 720)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (314, 721) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 314) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 314 AND "spree_option_types"."id" = 192 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" = 314) ORDER BY position 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 13:08:33.470000', 192, 1, 314, '2012-09-25 13:08:33.470000') 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" = 192 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.475000' WHERE "spree_products"."id" = 314 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 314, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.477000' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (953, 297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("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" != 314) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 314 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 192 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.489000' WHERE "spree_products"."id" = 314 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 314, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.491000' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (954, 298) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("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" != 314) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 314 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 192 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.505000' WHERE "spree_products"."id" = 314 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 314, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.507000' WHERE "spree_products"."id" = 314  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (955, 299) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("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" != 314) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 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" = 314 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" = 314 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" = 953 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 954 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 955 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" != 314) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.543000' WHERE "spree_products"."id" = 314  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 953 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.546000' WHERE "spree_products"."id" = 314 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.548000' WHERE "spree_products"."id" = 314  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 954 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.550000' WHERE "spree_products"."id" = 314 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 314 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.551000' WHERE "spree_products"."id" = 314  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 955 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.553000' WHERE "spree_products"."id" = 314 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 314) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:33.563000' WHERE "spree_products"."id" = 314 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:33.572000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:33.572000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.575000' WHERE "spree_products"."id" = 315 SQL (0.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, 315, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.578000' WHERE "spree_products"."id" = 315  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 956 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.583000' WHERE "spree_products"."id" = 315  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 315  (0.0ms) 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.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 13:08:33.590000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:33.590000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:33.594000', NULL, 235, '2012-09-25 13:08:33.594000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 315, "updated_at" = '2012-09-25 13:08:33.596000' WHERE "spree_product_properties"."id" = 278 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 315) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:33.601000', NULL, 234, '2012-09-25 13:08:33.601000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 315, "updated_at" = '2012-09-25 13:08:33.602000' WHERE "spree_product_properties"."id" = 279 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" != 315) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:33.607000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:33.607000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:33.609000', NULL, 236, '2012-09-25 13:08:33.609000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 315, "updated_at" = '2012-09-25 13:08:33.632000' WHERE "spree_product_properties"."id" = 280 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" != 315) 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 13:08:33.638000', 'Drawings', '2012-09-25 13:08:33.638000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 391 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 13:08:33.645000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 391, '2012-09-25 13:08:33.645000') 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" = 315 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (315, 722) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 315) 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" = 388 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" = 716 AND "spree_taxons"."taxonomy_id" = 388 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" = 716 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 13:08:33.660000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 716, 'paintings/landscape', 0, 16, 388, '2012-09-25 13:08:33.660000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 716 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 723 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 723 THEN 716 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 716 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 723 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (315, 723)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (315, 716) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 315) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 315 AND "spree_option_types"."id" = 192 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" = 315) 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 13:08:33.701000', 192, 1, 315, '2012-09-25 13:08:33.701000') 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" = 192 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.710000' WHERE "spree_products"."id" = 315 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 315, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.712000' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (957, 297) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("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" != 315) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 315 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 192 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.733000' WHERE "spree_products"."id" = 315 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 315, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.735000' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (958, 298) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("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" != 315) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 315 AND "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 192 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.759000' WHERE "spree_products"."id" = 315 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 315, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.761000' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (959, 299) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("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" != 315) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:08:33.766000', 'print_type', 0, 'Print type', '2012-09-25 13:08:33.766000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 193 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" = 315) ORDER BY position 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 13:08:33.777000', 193, 2, 315, '2012-09-25 13:08:33.777000') 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" = 193 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 193) ORDER 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 13:08:33.782000', 'black_white', 193, 1, NULL, '2012-09-25 13:08:33.782000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.786000' WHERE "spree_products"."id" = 315 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 315, 'DEMO_003_4', NULL, NULL) SQL (28.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.788000' WHERE "spree_products"."id" = 315  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (960, 300) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("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" != 315) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 315 AND "spree_option_types"."id" = 193 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 193 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 193) ORDER 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 13:08:33.826000', 'colour', 193, 2, NULL, '2012-09-25 13:08:33.826000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.837000' WHERE "spree_products"."id" = 315 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 315, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.841000' WHERE "spree_products"."id" = 315  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (961, 301) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("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" != 315) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 958 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 959 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 960 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 315) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.871000' WHERE "spree_products"."id" = 315  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 957 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.873000' WHERE "spree_products"."id" = 315 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.876000' WHERE "spree_products"."id" = 315  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 958 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.877000' WHERE "spree_products"."id" = 315 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.879000' WHERE "spree_products"."id" = 315  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 959 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.881000' WHERE "spree_products"."id" = 315 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.883000' WHERE "spree_products"."id" = 315  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 960 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.885000' WHERE "spree_products"."id" = 315 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 315 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.887000' WHERE "spree_products"."id" = 315  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 961 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:33.889000' WHERE "spree_products"."id" = 315 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 315) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:08:33.893000' WHERE "spree_products"."id" = 315  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 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" = 313 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 314 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 315 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 313 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 949 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 950 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 192 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 951 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (30.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:33.992000', 'Paintings', '2012-09-25 13:08:33.992000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 392 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 13:08:33.999000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 392, '2012-09-25 13:08:33.999000')  (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 13:08:34.006000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 392, '2012-09-25 13:08:34.006000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:34.029000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:34.029000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.032000' WHERE "spree_products"."id" = 316 SQL (0.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, 316, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.035000' WHERE "spree_products"."id" = 316  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 962 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.038000' WHERE "spree_products"."id" = 316  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 316  (0.0ms) 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::OptionType Load (0.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 13:08:34.072000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:34.072000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 194 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" = 316) ORDER BY position 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 13:08:34.079000', 194, 1, 316, '2012-09-25 13:08:34.079000') 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 13:08:34.083000', 'print_type', 0, 'Print type', '2012-09-25 13:08:34.083000') Spree::OptionType Exists (2.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 316 AND "spree_option_types"."id" = 195 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" = 316) ORDER BY position 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 13:08:34.091000', 195, 2, 316, '2012-09-25 13:08:34.091000') 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" = 194 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 194) 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 13:08:34.145000', 'jpeg', 194, 1, NULL, '2012-09-25 13:08:34.145000') 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" = 195 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 195) 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 13:08:34.151000', 'colour', 195, 1, NULL, '2012-09-25 13:08:34.151000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.155000' WHERE "spree_products"."id" = 316 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, 316, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.157000' WHERE "spree_products"."id" = 316  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (963, 302)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (963, 303) 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" = 194 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 194) 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 13:08:34.167000', 'PDF', 194, 2, NULL, '2012-09-25 13:08:34.167000') 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" = 195 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.172000' WHERE "spree_products"."id" = 316 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 316, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.174000' WHERE "spree_products"."id" = 316  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (964, 304)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (964, 303) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 Current value to assign : Spree::Variant Load (2.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("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" != 316) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 316 AND "spree_option_types"."id" = 194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 194 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 194) 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 13:08:34.193000', 'PNG', 194, 3, NULL, '2012-09-25 13:08:34.193000')  (1.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.198000' WHERE "spree_products"."id" = 316 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 316, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.201000' WHERE "spree_products"."id" = 316  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (965, 305) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("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" != 316) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 963 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 964 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 965 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" != 316) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.220000' WHERE "spree_products"."id" = 316  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 963 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.222000' WHERE "spree_products"."id" = 316 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.224000' WHERE "spree_products"."id" = 316  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 964 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.225000' WHERE "spree_products"."id" = 316 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 316 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.227000' WHERE "spree_products"."id" = 316  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 965 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.229000' WHERE "spree_products"."id" = 316 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 316) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:08:34.243000' WHERE "spree_products"."id" = 316 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:34.252000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:34.252000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.255000' WHERE "spree_products"."id" = 317 SQL (0.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, 317, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.258000' WHERE "spree_products"."id" = 317  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 966 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.260000' WHERE "spree_products"."id" = 317  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 317  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 317 AND "spree_option_types"."id" = 194 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" = 317) ORDER BY position 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 13:08:34.269000', 194, 1, 317, '2012-09-25 13:08:34.269000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 317 AND "spree_option_types"."id" = 195 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" = 317) ORDER BY position 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 13:08:34.281000', 195, 2, 317, '2012-09-25 13:08:34.281000') 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" = 195 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 195) ORDER 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 13:08:34.288000', 'black_white', 195, 2, NULL, '2012-09-25 13:08:34.288000') 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" = 194 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.299000' WHERE "spree_products"."id" = 317 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 317, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.300000' WHERE "spree_products"."id" = 317  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (967, 306)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (967, 302) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("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" != 317) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 317 AND "spree_option_types"."id" = 194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 317 AND "spree_option_types"."id" = 195 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 195 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 194 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.321000' WHERE "spree_products"."id" = 317 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 317, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.323000' WHERE "spree_products"."id" = 317  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (968, 306)  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (968, 305) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 317 AND ("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" != 317) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 967 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 968 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" != 317) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.338000' WHERE "spree_products"."id" = 317  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 967 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.339000' WHERE "spree_products"."id" = 317 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 317 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.342000' WHERE "spree_products"."id" = 317  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 968 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.343000' WHERE "spree_products"."id" = 317 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 317) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-25 13:08:34.348000' WHERE "spree_products"."id" = 317 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:34.356000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:34.356000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.359000' WHERE "spree_products"."id" = 318 SQL (0.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, 318, 'MV_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.364000' WHERE "spree_products"."id" = 318  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 969 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.366000' WHERE "spree_products"."id" = 318  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 318  (0.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_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" = 318 AND "spree_option_types"."id" = 194 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" = 318) ORDER BY position 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 13:08:34.378000', 194, 1, 318, '2012-09-25 13:08:34.378000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 318 AND "spree_option_types"."id" = 195 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" = 318) ORDER BY position 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 13:08:34.384000', 195, 2, 318, '2012-09-25 13:08:34.384000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:08:34.387000', 'size', 0, 'Size', '2012-09-25 13:08:34.387000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 196 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" = 318) ORDER BY position 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 13:08:34.392000', 196, 3, 318, '2012-09-25 13:08:34.392000') 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" = 195 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 196 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 196) ORDER 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 13:08:34.397000', 'large', 196, 1, NULL, '2012-09-25 13:08:34.397000') 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" = 194 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.402000' WHERE "spree_products"."id" = 318 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 318, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.404000' WHERE "spree_products"."id" = 318  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (970, 303)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (970, 307)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (970, 302) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 195 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 195) ORDER 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 13:08:34.436000', 'sepia', 195, 3, NULL, '2012-09-25 13:08:34.436000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 196 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 194 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.442000' WHERE "spree_products"."id" = 318 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 318, 'MV_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.445000' WHERE "spree_products"."id" = 318  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (971, 308)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (971, 307)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (971, 302) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 318 AND "spree_option_types"."id" = 194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 194 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.457000' WHERE "spree_products"."id" = 318 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, 318, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.459000' WHERE "spree_products"."id" = 318  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (972, 305) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("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" != 318) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 318 AND "spree_option_types"."id" = 194 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 194 LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.475000' WHERE "spree_products"."id" = 318 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 318, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.477000' WHERE "spree_products"."id" = 318  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (973, 304) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 318 AND "spree_option_types"."id" = 195 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 195 LIMIT 1  (1.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.490000' WHERE "spree_products"."id" = 318 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 318, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.492000' WHERE "spree_products"."id" = 318  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (974, 306) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 318 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("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" != 318) LIMIT 1  (0.0ms) 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.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 318 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 318) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 316 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (1.0ms) 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::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 316 ORDER BY spree_option_types.position Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 963 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (29.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:08:34.890000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:34.890000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.895000' WHERE "spree_products"."id" = 319 SQL (0.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, 319, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.899000' WHERE "spree_products"."id" = 319  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 975 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:34.907000' WHERE "spree_products"."id" = 319  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 319  (0.0ms) 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.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 13:08:34.928000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:34.928000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:34.930000', NULL, 237, '2012-09-25 13:08:34.930000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 319, "updated_at" = '2012-09-25 13:08:34.933000' WHERE "spree_product_properties"."id" = 281 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" != 319) 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 13:08:34.939000', 'Paintings', '2012-09-25 13:08:34.939000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 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 13:08:34.972000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 393, '2012-09-25 13:08:34.972000') 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" = 319 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 726) 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 13:08:34.983000', 'WaterColour', '2012-09-25 13:08:34.983000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 394 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 13:08:34.987000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 394, '2012-09-25 13:08:34.987000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (319, 727) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 319) LIMIT 1 Spree::OptionType Load (0.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 13:08:35.001000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:35.001000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 197 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" = 319) ORDER BY position 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 13:08:35.009000', 197, 1, 319, '2012-09-25 13:08:35.009000') 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" = 197 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 197) ORDER 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 13:08:35.014000', 'jpeg', 197, 1, NULL, '2012-09-25 13:08:35.014000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.018000' WHERE "spree_products"."id" = 319 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 319, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.021000' WHERE "spree_products"."id" = 319  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (976, 309) 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" = 197 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 197) ORDER 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 13:08:35.050000', 'PDF', 197, 2, NULL, '2012-09-25 13:08:35.050000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.054000' WHERE "spree_products"."id" = 319 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 319, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.055000' WHERE "spree_products"."id" = 319  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (977, 310) 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" = 197 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 197) ORDER 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 13:08:35.059000', 'PNG', 197, 3, NULL, '2012-09-25 13:08:35.059000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.063000' WHERE "spree_products"."id" = 319 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 319, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.065000' WHERE "spree_products"."id" = 319  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (978, 311) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 AND ("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" != 319) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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 (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 319) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.095000' WHERE "spree_products"."id" = 319  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 976 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.097000' WHERE "spree_products"."id" = 319 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.099000' WHERE "spree_products"."id" = 319  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 977 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.101000' WHERE "spree_products"."id" = 319 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.104000' WHERE "spree_products"."id" = 319  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 978 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.105000' WHERE "spree_products"."id" = 319 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 319) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 319 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" = 975 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 975 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:08:35.194000', 240, 0, 'Spree::Image', 975, 'Spree::Variant') Product assigned an Image : nil 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" != 319) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:08:35.921000' WHERE "spree_products"."id" = 319 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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 13:08:35.934000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:35.934000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.967000' WHERE "spree_products"."id" = 320 SQL (0.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, 320, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.970000' WHERE "spree_products"."id" = 320  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 979 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:35.972000' WHERE "spree_products"."id" = 320  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 320  (0.0ms) 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.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 13:08:35.990000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:35.990000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:35.992000', NULL, 238, '2012-09-25 13:08:35.992000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 320, "updated_at" = '2012-09-25 13:08:35.995000' WHERE "spree_product_properties"."id" = 282 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" != 320) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 393 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" = 320 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 726) 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 13:08:36.007000', 'Landscape', '2012-09-25 13:08:36.007000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 395 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 13:08:36.012000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 395, '2012-09-25 13:08:36.012000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 728) 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 13:08:36.020000', 'Oils', '2012-09-25 13:08:36.020000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 396 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 13:08:36.024000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 396, '2012-09-25 13:08:36.024000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (320, 729) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 320) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 320 AND "spree_option_types"."id" = 197 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" = 320) 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 13:08:36.036000', 197, 1, 320, '2012-09-25 13:08:36.036000') 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.043000' WHERE "spree_products"."id" = 320 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, 320, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.045000' WHERE "spree_products"."id" = 320  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (980, 309) 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.050000' WHERE "spree_products"."id" = 320 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 320, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.051000' WHERE "spree_products"."id" = 320  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (981, 310) 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.056000' WHERE "spree_products"."id" = 320 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 320, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.058000' WHERE "spree_products"."id" = 320  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (982, 311) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 AND ("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" != 320) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 982 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" != 320) LIMIT 1  (0.0ms) 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 (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.080000' WHERE "spree_products"."id" = 320  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 980 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.082000' WHERE "spree_products"."id" = 320 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.084000' WHERE "spree_products"."id" = 320  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 981 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.086000' WHERE "spree_products"."id" = 320 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.089000' WHERE "spree_products"."id" = 320  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 982 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:36.090000' WHERE "spree_products"."id" = 320 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 320) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 320 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" = 979 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 979 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:08:36.159000', 2424, 0, 'Spree::Image', 979, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 320) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:43.680000' WHERE "spree_products"."id" = 320 Current value 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-25 13:08:43.692000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:43.692000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.695000' WHERE "spree_products"."id" = 321 SQL (0.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, 321, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.698000' WHERE "spree_products"."id" = 321  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 983 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.702000' WHERE "spree_products"."id" = 321  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 321  (0.0ms) 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.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 13:08:43.710000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:43.710000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:43.712000', NULL, 239, '2012-09-25 13:08:43.712000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 321, "updated_at" = '2012-09-25 13:08:43.715000' WHERE "spree_product_properties"."id" = 283 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 13:08:43.718000', NULL, 238, '2012-09-25 13:08:43.718000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 321, "updated_at" = '2012-09-25 13:08:43.719000' WHERE "spree_product_properties"."id" = 284 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 13:08:43.725000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:43.725000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:43.727000', NULL, 240, '2012-09-25 13:08:43.727000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 321, "updated_at" = '2012-09-25 13:08:43.729000' WHERE "spree_product_properties"."id" = 285 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" != 321) 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 13:08:43.732000', 'Drawings', '2012-09-25 13:08:43.732000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 397 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 13:08:43.739000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 397, '2012-09-25 13:08:43.739000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 321 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (321, 730) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 321) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 321 AND "spree_option_types"."id" = 197 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" = 321) ORDER BY position 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 13:08:43.753000', 197, 1, 321, '2012-09-25 13:08:43.753000') 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.757000' WHERE "spree_products"."id" = 321 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 321, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.759000' WHERE "spree_products"."id" = 321  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (984, 309) 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.764000' WHERE "spree_products"."id" = 321 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 321, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.766000' WHERE "spree_products"."id" = 321  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (985, 310) 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" = 197 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.771000' WHERE "spree_products"."id" = 321 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 321, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.773000' WHERE "spree_products"."id" = 321  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (986, 311) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 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 13:08:43.776000', 'print_type', 0, 'Print type', '2012-09-25 13:08:43.776000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 198 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" = 321) 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 13:08:43.784000', 198, 2, 321, '2012-09-25 13:08:43.784000') 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" = 198 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 198) ORDER 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 13:08:43.787000', 'black_white', 198, 1, NULL, '2012-09-25 13:08:43.787000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.793000' WHERE "spree_products"."id" = 321 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 321, 'DEMO_003_4', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.795000' WHERE "spree_products"."id" = 321  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (987, 312) 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" = 198 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 198) ORDER 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 13:08:43.798000', 'colour', 198, 2, NULL, '2012-09-25 13:08:43.798000')  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.803000' WHERE "spree_products"."id" = 321 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 321, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.805000' WHERE "spree_products"."id" = 321  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (988, 313) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 AND ("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" != 321) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 984 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 985 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 321) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.829000' WHERE "spree_products"."id" = 321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 984 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.831000' WHERE "spree_products"."id" = 321 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.833000' WHERE "spree_products"."id" = 321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 985 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.834000' WHERE "spree_products"."id" = 321 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.837000' WHERE "spree_products"."id" = 321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 986 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.838000' WHERE "spree_products"."id" = 321 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.840000' WHERE "spree_products"."id" = 321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 987 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.842000' WHERE "spree_products"."id" = 321 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.844000' WHERE "spree_products"."id" = 321  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 988 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:43.845000' WHERE "spree_products"."id" = 321 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 321) LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 321 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" = 983 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 983 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:08:43.870000', 240, 0, 'Spree::Image', 983, 'Spree::Variant') Product assigned an Image : nil 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" != 321) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 53, "updated_at" = '2012-09-25 13:08:44.570000' WHERE "spree_products"."id" = 321 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 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 = 975) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 319)) Spree::Image Load (0.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 975 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 319 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 = 975) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 319)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 320 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 = 979) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 320)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 321 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 = 983) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 321))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (28.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (5.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:08:44.804000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:44.804000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.841000' WHERE "spree_products"."id" = 322 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, 322, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.844000' WHERE "spree_products"."id" = 322  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 989 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.847000' WHERE "spree_products"."id" = 322  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 322  (0.0ms) 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.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 13:08:44.854000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:44.854000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:44.862000', NULL, 241, '2012-09-25 13:08:44.862000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 322, "updated_at" = '2012-09-25 13:08:44.865000' WHERE "spree_product_properties"."id" = 286 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 322) 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 13:08:44.869000', 'Paintings', '2012-09-25 13:08:44.869000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 398 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 13:08:44.873000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 398, '2012-09-25 13:08:44.873000') 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" = 322 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (322, 731) 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 13:08:44.880000', 'WaterColour', '2012-09-25 13:08:44.880000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 399 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 13:08:44.884000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 399, '2012-09-25 13:08:44.884000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (322, 732) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 322) LIMIT 1 Spree::OptionType Load (0.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 13:08:44.892000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:44.892000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 199 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" = 322) ORDER BY position 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 13:08:44.902000', 199, 1, 322, '2012-09-25 13:08:44.902000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 199 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 199) ORDER 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 13:08:44.906000', 'jpeg', 199, 1, NULL, '2012-09-25 13:08:44.906000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.909000' WHERE "spree_products"."id" = 322 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 322, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.912000' WHERE "spree_products"."id" = 322  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (990, 314) 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" = 199 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 199) ORDER 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 13:08:44.943000', 'PDF', 199, 2, NULL, '2012-09-25 13:08:44.943000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.950000' WHERE "spree_products"."id" = 322 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, 322, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.952000' WHERE "spree_products"."id" = 322  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (991, 315) 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" = 199 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 199) ORDER 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 13:08:44.958000', 'PNG', 199, 3, NULL, '2012-09-25 13:08:44.958000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.964000' WHERE "spree_products"."id" = 322 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 322, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.966000' WHERE "spree_products"."id" = 322  (0.0ms) 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" = 322 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 AND ("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" != 322) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 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" = 322 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 322) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.985000' WHERE "spree_products"."id" = 322  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 990 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.987000' WHERE "spree_products"."id" = 322 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.991000' WHERE "spree_products"."id" = 322  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 991 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.992000' WHERE "spree_products"."id" = 322 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.994000' WHERE "spree_products"."id" = 322  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 992 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:44.996000' WHERE "spree_products"."id" = 322 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 322) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 322 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" = 989 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 989 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:08:45.005000', 240, 0, 'Spree::Image', 989, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 322) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 25, "updated_at" = '2012-09-25 13:08:45.665000' WHERE "spree_products"."id" = 322 Row org.apache.poi.hssf.usermodel.HSSFRow@2aa8ef succesfully SAVED : ID 322 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:45.675000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:45.675000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.680000' WHERE "spree_products"."id" = 323 SQL (0.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, 323, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.711000' WHERE "spree_products"."id" = 323  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 993 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.717000' WHERE "spree_products"."id" = 323  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 323  (1.0ms) 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.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:45.727000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:45.727000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:45.729000', NULL, 242, '2012-09-25 13:08:45.729000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 323, "updated_at" = '2012-09-25 13:08:45.731000' WHERE "spree_product_properties"."id" = 287 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" != 323) 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" = 398 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" = 323 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 731) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:45.740000', 'Landscape', '2012-09-25 13:08:45.740000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 400 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 13:08:45.745000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 400, '2012-09-25 13:08:45.745000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 733) 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 13:08:45.749000', 'Oils', '2012-09-25 13:08:45.749000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 401 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:45.754000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 401, '2012-09-25 13:08:45.754000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (323, 734) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 323) 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" = 323 AND "spree_option_types"."id" = 199 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" = 323) ORDER BY position 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 13:08:45.764000', 199, 1, 323, '2012-09-25 13:08:45.764000') 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" = 199 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.769000' WHERE "spree_products"."id" = 323 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, 323, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.772000' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (994, 314) 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" = 199 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.776000' WHERE "spree_products"."id" = 323 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, 323, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.778000' WHERE "spree_products"."id" = 323  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (995, 315) 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" = 199 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.785000' WHERE "spree_products"."id" = 323 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 323, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.787000' WHERE "spree_products"."id" = 323  (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" = 323 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 AND ("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" != 323) LIMIT 1  (0.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 996 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" != 323) LIMIT 1  (0.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.807000' WHERE "spree_products"."id" = 323  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 994 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.809000' WHERE "spree_products"."id" = 323 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.811000' WHERE "spree_products"."id" = 323  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 995 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.812000' WHERE "spree_products"."id" = 323 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.814000' WHERE "spree_products"."id" = 323  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 996 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:45.816000' WHERE "spree_products"."id" = 323 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 323) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 323 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" = 993 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 993 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:08:45.883000', 2424, 0, 'Spree::Image', 993, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 323) LIMIT 1  (0.0ms) 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.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:52.282000' WHERE "spree_products"."id" = 323 Row org.apache.poi.hssf.usermodel.HSSFRow@d8c8c5 succesfully SAVED : ID 323 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:52.291000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:52.291000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.295000' WHERE "spree_products"."id" = 324 SQL (0.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, 324, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.298000' WHERE "spree_products"."id" = 324  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 997 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.301000' WHERE "spree_products"."id" = 324  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 324  (0.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:52.309000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:52.309000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:52.312000', NULL, 243, '2012-09-25 13:08:52.312000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 324, "updated_at" = '2012-09-25 13:08:52.313000' WHERE "spree_product_properties"."id" = 288 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 13:08:52.318000', NULL, 242, '2012-09-25 13:08:52.318000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 324, "updated_at" = '2012-09-25 13:08:52.320000' WHERE "spree_product_properties"."id" = 289 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 13:08:52.322000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:52.322000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:52.325000', NULL, 244, '2012-09-25 13:08:52.325000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 324, "updated_at" = '2012-09-25 13:08:52.327000' WHERE "spree_product_properties"."id" = 290 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" != 324) 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 13:08:52.331000', 'Drawings', '2012-09-25 13:08:52.331000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 402 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 13:08:52.335000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 402, '2012-09-25 13:08:52.335000') 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" = 324 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (324, 735) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 324) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 324 AND "spree_option_types"."id" = 199 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" = 324) ORDER BY position 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 13:08:52.375000', 199, 1, 324, '2012-09-25 13:08:52.375000') 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" = 199 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.386000' WHERE "spree_products"."id" = 324 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 324, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.388000' WHERE "spree_products"."id" = 324  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (998, 314) 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" = 199 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.394000' WHERE "spree_products"."id" = 324 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 324, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.396000' WHERE "spree_products"."id" = 324  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (999, 315) 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" = 199 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.401000' WHERE "spree_products"."id" = 324 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 324, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.404000' WHERE "spree_products"."id" = 324  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1000, 316) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 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 13:08:52.408000', 'print_type', 0, 'Print type', '2012-09-25 13:08:52.408000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 324 AND "spree_option_types"."id" = 200 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" = 324) ORDER BY position 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 13:08:52.416000', 200, 2, 324, '2012-09-25 13:08:52.416000') 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" = 200 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 200) ORDER 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 13:08:52.420000', 'black_white', 200, 1, NULL, '2012-09-25 13:08:52.420000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.425000' WHERE "spree_products"."id" = 324 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 324, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.427000' WHERE "spree_products"."id" = 324  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1001, 317) 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" = 200 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 200) ORDER 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 13:08:52.431000', 'colour', 200, 2, NULL, '2012-09-25 13:08:52.431000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.435000' WHERE "spree_products"."id" = 324 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 324, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.437000' WHERE "spree_products"."id" = 324  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1002, 318) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 AND ("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" != 324) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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" = 324 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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" = 998 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 999 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 324) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.460000' WHERE "spree_products"."id" = 324  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 998 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.462000' WHERE "spree_products"."id" = 324 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.464000' WHERE "spree_products"."id" = 324  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 999 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.466000' WHERE "spree_products"."id" = 324 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.467000' WHERE "spree_products"."id" = 324  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1000 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.469000' WHERE "spree_products"."id" = 324 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.471000' WHERE "spree_products"."id" = 324  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1001 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.472000' WHERE "spree_products"."id" = 324 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.474000' WHERE "spree_products"."id" = 324  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1002 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:52.476000' WHERE "spree_products"."id" = 324 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 324) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 324 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" = 997 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 997 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:08:52.493000', 240, 0, 'Spree::Image', 997, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 324) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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 13:08:53.173000' WHERE "spree_products"."id" = 324 Row org.apache.poi.hssf.usermodel.HSSFRow@1adf840 succesfully SAVED : ID 324 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 322 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 = 989) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 322)) 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" = 322 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 = 989) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 322)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 323 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 = 993) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 323)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 324 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 = 997) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 324))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:53.496000', 'Paintings', '2012-09-25 13:08:53.496000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 403 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 13:08:53.502000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 403, '2012-09-25 13:08:53.502000')  (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 13:08:53.509000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 403, '2012-09-25 13:08:53.509000')  (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 13:08:53.514000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 403, '2012-09-25 13:08:53.514000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (30.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:53.577000', 'Paintings', '2012-09-25 13:08:53.577000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 404 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 13:08:53.582000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 404, '2012-09-25 13:08:53.582000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:53.589000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 404, '2012-09-25 13:08:53.589000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:53.596000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 404, '2012-09-25 13:08:53.596000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 404 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 404 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 404 LIMIT 1 Booted Spree using version 1.1.3 SQL (37.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (6.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (2.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:55.128000', 'Paintings', '2012-09-25 13:08:55.128000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 405 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:55.136000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 405, '2012-09-25 13:08:55.136000')  (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 13:08:55.144000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 405, '2012-09-25 13:08:55.144000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 742, "updated_at" = '2012-09-25 13:08:55.155000' WHERE "spree_taxons"."id" = 743 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 742 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 743 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 743 THEN 742 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 742 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 743 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 742 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:55.191000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:55.191000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.196000' WHERE "spree_products"."id" = 325 SQL (0.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, 325, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.231000' WHERE "spree_products"."id" = 325  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1003 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.237000' WHERE "spree_products"."id" = 325  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 325  (1.0ms) 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::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 13:08:55.246000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:55.246000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:55.248000', NULL, 245, '2012-09-25 13:08:55.248000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 325, "updated_at" = '2012-09-25 13:08:55.251000' WHERE "spree_product_properties"."id" = 291 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 325) 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" = 405 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" = 325 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 742) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:55.264000', 'WaterColour', '2012-09-25 13:08:55.264000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 406 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 13:08:55.268000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 406, '2012-09-25 13:08:55.268000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (325, 744) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 325) 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" != 325) LIMIT 1 Spree::OptionType Load (0.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 13:08:55.276000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:55.276000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 325 AND "spree_option_types"."id" = 201 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" = 325) ORDER BY position 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 13:08:55.287000', 201, 1, 325, '2012-09-25 13:08:55.287000') 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" = 201 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 201) ORDER 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 13:08:55.292000', 'jpeg', 201, 1, NULL, '2012-09-25 13:08:55.292000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.296000' WHERE "spree_products"."id" = 325 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 325, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.298000' WHERE "spree_products"."id" = 325  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1004, 319) 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" = 201 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 201) ORDER 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 13:08:55.331000', 'PDF', 201, 2, NULL, '2012-09-25 13:08:55.331000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.335000' WHERE "spree_products"."id" = 325 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 325, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.337000' WHERE "spree_products"."id" = 325  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1005, 320) 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" = 201 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 201) ORDER 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 13:08:55.342000', 'PNG', 201, 3, NULL, '2012-09-25 13:08:55.342000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.346000' WHERE "spree_products"."id" = 325 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, 325, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.348000' WHERE "spree_products"."id" = 325  (0.0ms) 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" = 325 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 AND ("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" != 325) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 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" = 325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 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" = 1004 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 325) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.372000' WHERE "spree_products"."id" = 325  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1004 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.374000' WHERE "spree_products"."id" = 325 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.377000' WHERE "spree_products"."id" = 325  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1005 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.379000' WHERE "spree_products"."id" = 325 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.381000' WHERE "spree_products"."id" = 325  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1006 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.383000' WHERE "spree_products"."id" = 325 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 325) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 325 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 13:08:55.388000' WHERE "spree_products"."id" = 325 Row org.apache.poi.hssf.usermodel.HSSFRow@b6b098 succesfully SAVED : ID 325 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (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 13:08:55.397000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:55.397000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.403000' WHERE "spree_products"."id" = 326 SQL (0.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, 326, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.405000' WHERE "spree_products"."id" = 326  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1007 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.407000' WHERE "spree_products"."id" = 326  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 326  (1.0ms) 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::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 13:08:55.419000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:55.419000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:55.421000', NULL, 246, '2012-09-25 13:08:55.421000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 326, "updated_at" = '2012-09-25 13:08:55.423000' WHERE "spree_product_properties"."id" = 292 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" != 326) 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" = 405 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" = 326 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (326, 742) 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 13:08:55.436000', 'Oils', '2012-09-25 13:08:55.436000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 407 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 13:08:55.441000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 407, '2012-09-25 13:08:55.441000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (326, 745) 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" = 405 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" = 742 AND "spree_taxons"."taxonomy_id" = 405 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" = 742 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 13:08:55.450000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 742, 'paintings/nature', 0, 10, 405, '2012-09-25 13:08:55.450000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 742 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 746 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 746 THEN 742 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 742 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 746 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 746 AND "spree_taxons"."taxonomy_id" = 405 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" = 746 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 13:08:55.464000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 746, 'paintings/nature/seascape', 0, 12, 405, '2012-09-25 13:08:55.464000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 746 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 747 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 747 THEN 746 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 746 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 747 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (326, 746)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (326, 747) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 326) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 326 AND "spree_option_types"."id" = 201 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" = 326) ORDER BY position 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 13:08:55.478000', 201, 1, 326, '2012-09-25 13:08:55.478000') 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" = 201 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.484000' WHERE "spree_products"."id" = 326 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 326, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.486000' WHERE "spree_products"."id" = 326  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1008, 319) 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" = 201 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.492000' WHERE "spree_products"."id" = 326 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 326, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.494000' WHERE "spree_products"."id" = 326  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1009, 320) 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" = 201 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.499000' WHERE "spree_products"."id" = 326 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 326, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.501000' WHERE "spree_products"."id" = 326  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1010, 321) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("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" != 326) 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" != 326) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 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" = 326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 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" = 1008 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1010 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" != 326) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.531000' WHERE "spree_products"."id" = 326  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1008 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.533000' WHERE "spree_products"."id" = 326 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.536000' WHERE "spree_products"."id" = 326  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1009 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.538000' WHERE "spree_products"."id" = 326 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.540000' WHERE "spree_products"."id" = 326  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1010 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.542000' WHERE "spree_products"."id" = 326 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 326) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 326 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:55.546000' WHERE "spree_products"."id" = 326 Row org.apache.poi.hssf.usermodel.HSSFRow@1f55b01 succesfully SAVED : ID 326 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:55.555000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:55.555000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.558000' WHERE "spree_products"."id" = 327 SQL (0.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, 327, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.560000' WHERE "spree_products"."id" = 327  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1011 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.562000' WHERE "spree_products"."id" = 327  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 327  (0.0ms) 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::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 13:08:55.571000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:55.571000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:55.573000', NULL, 247, '2012-09-25 13:08:55.573000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 327, "updated_at" = '2012-09-25 13:08:55.576000' WHERE "spree_product_properties"."id" = 293 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 13:08:55.579000', NULL, 246, '2012-09-25 13:08:55.579000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 327, "updated_at" = '2012-09-25 13:08:55.580000' WHERE "spree_product_properties"."id" = 294 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 13:08:55.583000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:55.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 13:08:55.585000', NULL, 248, '2012-09-25 13:08:55.585000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 327, "updated_at" = '2012-09-25 13:08:55.587000' WHERE "spree_product_properties"."id" = 295 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" != 327) 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 13:08:55.591000', 'Drawings', '2012-09-25 13:08:55.591000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 408 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 13:08:55.595000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 408, '2012-09-25 13:08:55.595000') 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" = 327 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (327, 748) 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" = 405 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" = 742 AND "spree_taxons"."taxonomy_id" = 405 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (327, 743)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (327, 742) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 327) 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" != 327) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 327 AND "spree_option_types"."id" = 201 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" = 327) 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 13:08:55.619000', 201, 1, 327, '2012-09-25 13:08:55.619000') 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" = 201 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.624000' WHERE "spree_products"."id" = 327 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 327, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.626000' WHERE "spree_products"."id" = 327  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1012, 319) 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" = 201 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.631000' WHERE "spree_products"."id" = 327 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, 327, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.633000' WHERE "spree_products"."id" = 327  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1013, 320) 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" = 201 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.637000' WHERE "spree_products"."id" = 327 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 327, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.640000' WHERE "spree_products"."id" = 327  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1014, 321) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 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 13:08:55.643000', 'print_type', 0, 'Print type', '2012-09-25 13:08:55.643000') 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" = 327 AND "spree_option_types"."id" = 202 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" = 327) ORDER BY position 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 13:08:55.651000', 202, 2, 327, '2012-09-25 13:08:55.651000') 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" = 202 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 202) ORDER 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 13:08:55.655000', 'black_white', 202, 1, NULL, '2012-09-25 13:08:55.655000')  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.661000' WHERE "spree_products"."id" = 327 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 327, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.663000' WHERE "spree_products"."id" = 327  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1015, 322) 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" = 202 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 202) ORDER 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 13:08:55.695000', 'colour', 202, 2, NULL, '2012-09-25 13:08:55.695000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.699000' WHERE "spree_products"."id" = 327 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 327, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.702000' WHERE "spree_products"."id" = 327  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1016, 323) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("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" != 327) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 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" = 327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 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" = 1012 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1013 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 327) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.729000' WHERE "spree_products"."id" = 327  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1012 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.730000' WHERE "spree_products"."id" = 327 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.732000' WHERE "spree_products"."id" = 327  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1013 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.734000' WHERE "spree_products"."id" = 327 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.736000' WHERE "spree_products"."id" = 327  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1014 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.737000' WHERE "spree_products"."id" = 327 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.741000' WHERE "spree_products"."id" = 327  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1015 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.743000' WHERE "spree_products"."id" = 327 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 327 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.746000' WHERE "spree_products"."id" = 327  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1016 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.748000' WHERE "spree_products"."id" = 327 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 327) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 327 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 13:08:55.752000' WHERE "spree_products"."id" = 327 Row org.apache.poi.hssf.usermodel.HSSFRow@ee472b succesfully SAVED : ID 327 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 325 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" = 325 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 326 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" = 326 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" = 405 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 742 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 405 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 746 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 746 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 747 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (30.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:55.905000', 'Paintings', '2012-09-25 13:08:55.905000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 409 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 13:08:55.910000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 409, '2012-09-25 13:08:55.910000')  (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 13:08:55.919000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 409, '2012-09-25 13:08:55.919000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 749, "updated_at" = '2012-09-25 13:08:55.926000' WHERE "spree_taxons"."id" = 750 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 749 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 750 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 750 THEN 749 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 749 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 750 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 749 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:08:55.957000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:55.957000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.960000' WHERE "spree_products"."id" = 328 SQL (0.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, 328, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:55.963000' WHERE "spree_products"."id" = 328  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1017 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.009000' WHERE "spree_products"."id" = 328  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 328  (0.0ms) 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::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 13:08:56.015000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:56.015000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.017000', NULL, 249, '2012-09-25 13:08:56.017000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 328, "updated_at" = '2012-09-25 13:08:56.020000' WHERE "spree_product_properties"."id" = 296 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" != 328) 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" != 328) 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" != 328) 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" = 409 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" = 328 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (328, 749) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 328) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:56.041000', 'WaterColour', '2012-09-25 13:08:56.041000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 410 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 13:08:56.045000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 410, '2012-09-25 13:08:56.045000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (328, 751) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 328) 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" != 328) LIMIT 1 Spree::OptionType Load (0.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 13:08:56.053000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:56.053000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 328 AND "spree_option_types"."id" = 203 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" = 328) ORDER BY position 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 13:08:56.059000', 203, 1, 328, '2012-09-25 13:08:56.059000') 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" = 203 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 203) ORDER 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 13:08:56.062000', 'jpeg', 203, 1, NULL, '2012-09-25 13:08:56.062000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.067000' WHERE "spree_products"."id" = 328 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 328, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.068000' WHERE "spree_products"."id" = 328  (0.0ms) 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" = 328 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("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" != 328) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 328 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 203 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 203) ORDER 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 13:08:56.103000', 'PDF', 203, 2, NULL, '2012-09-25 13:08:56.103000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.109000' WHERE "spree_products"."id" = 328 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, 328, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.112000' WHERE "spree_products"."id" = 328  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1019, 325) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("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" != 328) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 328 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 203 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 203) ORDER 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 13:08:56.134000', 'PNG', 203, 3, NULL, '2012-09-25 13:08:56.134000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.140000' WHERE "spree_products"."id" = 328 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 328, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.141000' WHERE "spree_products"."id" = 328  (0.0ms) 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" = 328 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("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" != 328) 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" != 328) 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" != 328) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 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" = 328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 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" = 1018 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 328) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.159000' WHERE "spree_products"."id" = 328  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1018 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.161000' WHERE "spree_products"."id" = 328 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.162000' WHERE "spree_products"."id" = 328  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1019 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.164000' WHERE "spree_products"."id" = 328 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.166000' WHERE "spree_products"."id" = 328  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1020 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.167000' WHERE "spree_products"."id" = 328 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 328) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 328 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 13:08:56.171000' WHERE "spree_products"."id" = 328 Row org.apache.poi.hssf.usermodel.HSSFRow@a873c7 succesfully SAVED : ID 328 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:56.189000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:56.189000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.198000' WHERE "spree_products"."id" = 329 SQL (0.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, 329, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.200000' WHERE "spree_products"."id" = 329  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1021 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.202000' WHERE "spree_products"."id" = 329  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 329  (0.0ms) 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::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 13:08:56.210000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:56.210000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.213000', NULL, 250, '2012-09-25 13:08:56.213000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 329, "updated_at" = '2012-09-25 13:08:56.215000' WHERE "spree_product_properties"."id" = 297 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" != 329) 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" != 329) 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" != 329) 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" = 409 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" = 329 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (329, 749) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 329) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:56.227000', 'Oils', '2012-09-25 13:08:56.227000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 411 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 13:08:56.231000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 411, '2012-09-25 13:08:56.231000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (329, 752) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 329) 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" = 409 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" = 749 AND "spree_taxons"."taxonomy_id" = 409 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" = 749 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:56.241000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 749, 'paintings/nature', 0, 10, 409, '2012-09-25 13:08:56.241000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 749 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 753 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 753 THEN 749 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 749 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 753 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 753 AND "spree_taxons"."taxonomy_id" = 409 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" = 753 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 13:08:56.252000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 753, 'paintings/nature/seascape', 0, 12, 409, '2012-09-25 13:08:56.252000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 753 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 754 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 754 THEN 753 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 753 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 754 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (329, 753)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (329, 754) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 329) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 329 AND "spree_option_types"."id" = 203 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" = 329) ORDER BY position 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 13:08:56.267000', 203, 1, 329, '2012-09-25 13:08:56.267000') 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" = 203 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.271000' WHERE "spree_products"."id" = 329 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 329, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.273000' WHERE "spree_products"."id" = 329  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1022, 324) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("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" != 329) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 329 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 203 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.284000' WHERE "spree_products"."id" = 329 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 329, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.286000' WHERE "spree_products"."id" = 329  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1023, 325) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("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" != 329) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 329 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 203 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.296000' WHERE "spree_products"."id" = 329 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 329, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.297000' WHERE "spree_products"."id" = 329  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1024, 326) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("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" != 329) 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" != 329) 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" != 329) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 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" = 329 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" = 329 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" = 1022 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1024 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" != 329) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.316000' WHERE "spree_products"."id" = 329  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1022 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.318000' WHERE "spree_products"."id" = 329 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.320000' WHERE "spree_products"."id" = 329  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1023 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.321000' WHERE "spree_products"."id" = 329 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.323000' WHERE "spree_products"."id" = 329  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1024 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.325000' WHERE "spree_products"."id" = 329 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 329) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 329 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 13:08:56.328000' WHERE "spree_products"."id" = 329 Row org.apache.poi.hssf.usermodel.HSSFRow@85fb0f succesfully SAVED : ID 329 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:56.337000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:56.337000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.340000' WHERE "spree_products"."id" = 330 SQL (0.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, 330, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.342000' WHERE "spree_products"."id" = 330  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1025 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.344000' WHERE "spree_products"."id" = 330  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 330  (0.0ms) 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::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 13:08:56.349000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:56.349000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.351000', NULL, 251, '2012-09-25 13:08:56.351000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 330, "updated_at" = '2012-09-25 13:08:56.353000' WHERE "spree_product_properties"."id" = 298 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" != 330) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.359000', NULL, 250, '2012-09-25 13:08:56.359000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 330, "updated_at" = '2012-09-25 13:08:56.360000' WHERE "spree_product_properties"."id" = 299 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" != 330) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:56.364000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:56.364000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.366000', NULL, 252, '2012-09-25 13:08:56.366000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 330, "updated_at" = '2012-09-25 13:08:56.368000' WHERE "spree_product_properties"."id" = 300 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" != 330) 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 13:08:56.373000', 'Drawings', '2012-09-25 13:08:56.373000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 412 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 13:08:56.379000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 412, '2012-09-25 13:08:56.379000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 330 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (330, 755) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 330) 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" = 409 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" = 749 AND "spree_taxons"."taxonomy_id" = 409 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (330, 750)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (330, 749) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 330) 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" != 330) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 330 AND "spree_option_types"."id" = 203 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" = 330) ORDER BY position 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 13:08:56.395000', 203, 1, 330, '2012-09-25 13:08:56.395000') 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" = 203 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.399000' WHERE "spree_products"."id" = 330 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, 330, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.401000' WHERE "spree_products"."id" = 330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1026, 324) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("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" != 330) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 330 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 203 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.411000' WHERE "spree_products"."id" = 330 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 330, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.413000' WHERE "spree_products"."id" = 330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1027, 325) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("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" != 330) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 330 AND "spree_option_types"."id" = 203 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 203 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.425000' WHERE "spree_products"."id" = 330 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 330, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.427000' WHERE "spree_products"."id" = 330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1028, 326) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("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" != 330) 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 13:08:56.433000', 'print_type', 0, 'Print type', '2012-09-25 13:08:56.433000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 330 AND "spree_option_types"."id" = 204 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" = 330) ORDER BY position 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 13:08:56.439000', 204, 2, 330, '2012-09-25 13:08:56.439000') 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" = 204 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 204) ORDER 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 13:08:56.442000', 'black_white', 204, 1, NULL, '2012-09-25 13:08:56.442000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.447000' WHERE "spree_products"."id" = 330 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 330, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.448000' WHERE "spree_products"."id" = 330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1029, 327) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("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" != 330) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 330 AND "spree_option_types"."id" = 204 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 204 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 204) ORDER 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 13:08:56.484000', 'colour', 204, 2, NULL, '2012-09-25 13:08:56.484000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.492000' WHERE "spree_products"."id" = 330 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, 330, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.495000' WHERE "spree_products"."id" = 330  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1030, 328) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("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" != 330) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 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" = 330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 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" = 1026 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1027 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" = 1028 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 330) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.521000' WHERE "spree_products"."id" = 330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1026 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.523000' WHERE "spree_products"."id" = 330 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.525000' WHERE "spree_products"."id" = 330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1027 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.527000' WHERE "spree_products"."id" = 330 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.529000' WHERE "spree_products"."id" = 330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1028 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.530000' WHERE "spree_products"."id" = 330 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.533000' WHERE "spree_products"."id" = 330  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1029 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.535000' WHERE "spree_products"."id" = 330 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 330 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.537000' WHERE "spree_products"."id" = 330  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1030 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.538000' WHERE "spree_products"."id" = 330 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 330) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 330 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 13:08:56.543000' WHERE "spree_products"."id" = 330 Row org.apache.poi.hssf.usermodel.HSSFRow@1bd6826 succesfully SAVED : ID 330 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 328 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" = 328 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 329 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 329 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" = 409 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 749 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 409 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 753 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 753 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 754 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:56.712000', 'Paintings', '2012-09-25 13:08:56.712000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 413 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 13:08:56.717000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 413, '2012-09-25 13:08:56.717000')  (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 13:08:56.726000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 413, '2012-09-25 13:08:56.726000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 756, "updated_at" = '2012-09-25 13:08:56.732000' WHERE "spree_taxons"."id" = 757 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 757 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 757 THEN 756 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 757 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 756 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:56.775000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:56.775000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.779000' WHERE "spree_products"."id" = 331 SQL (0.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, 331, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.781000' WHERE "spree_products"."id" = 331  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1031 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.812000' WHERE "spree_products"."id" = 331  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 331  (0.0ms) 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::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 13:08:56.819000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:08:56.819000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:56.822000', NULL, 253, '2012-09-25 13:08:56.822000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 331, "updated_at" = '2012-09-25 13:08:56.825000' WHERE "spree_product_properties"."id" = 301 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 331) 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" = 413 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" = 331 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (331, 756) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 331) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:56.845000', 'WaterColour', '2012-09-25 13:08:56.845000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 414 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 13:08:56.848000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 414, '2012-09-25 13:08:56.848000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (331, 758) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 331) LIMIT 1 Spree::OptionType Load (0.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 13:08:56.861000', 'mime_type', 0, 'Mime type', '2012-09-25 13:08:56.861000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 331 AND "spree_option_types"."id" = 205 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" = 331) ORDER BY position 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 13:08:56.871000', 205, 1, 331, '2012-09-25 13:08:56.871000') 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" = 205 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 205) 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 13:08:56.877000', 'jpeg', 205, 1, NULL, '2012-09-25 13:08:56.877000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.882000' WHERE "spree_products"."id" = 331 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 331, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.910000' WHERE "spree_products"."id" = 331  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1032, 329) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("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" != 331) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 331 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 205 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 205) ORDER 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 13:08:56.923000', 'PDF', 205, 2, NULL, '2012-09-25 13:08:56.923000')  (0.0ms) 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::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.929000' WHERE "spree_products"."id" = 331 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 331, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.931000' WHERE "spree_products"."id" = 331  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1033, 330) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("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" != 331) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 331 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 205 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 205) ORDER 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 13:08:56.945000', 'PNG', 205, 3, NULL, '2012-09-25 13:08:56.945000')  (1.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.950000' WHERE "spree_products"."id" = 331 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, 331, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.953000' WHERE "spree_products"."id" = 331  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1034, 331) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("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" != 331) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 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" = 331 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" = 331 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" = 1032 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 331) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.982000' WHERE "spree_products"."id" = 331  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1032 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.983000' WHERE "spree_products"."id" = 331 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.985000' WHERE "spree_products"."id" = 331  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1033 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.987000' WHERE "spree_products"."id" = 331 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.989000' WHERE "spree_products"."id" = 331  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1034 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:56.992000' WHERE "spree_products"."id" = 331 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 331) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 331 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 13:08:56.996000' WHERE "spree_products"."id" = 331 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:57.011000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:08:57.011000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.015000' WHERE "spree_products"."id" = 332 SQL (0.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, 332, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.018000' WHERE "spree_products"."id" = 332  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1035 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.022000' WHERE "spree_products"."id" = 332  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 332  (0.0ms) 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::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 13:08:57.038000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:08:57.038000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:57.041000', NULL, 254, '2012-09-25 13:08:57.041000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 332, "updated_at" = '2012-09-25 13:08:57.043000' WHERE "spree_product_properties"."id" = 302 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 332) 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" = 413 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" = 332 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 756) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 332) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:57.066000', 'Oils', '2012-09-25 13:08:57.066000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 415 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 13:08:57.070000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 415, '2012-09-25 13:08:57.070000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 759) 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" != 332) 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" = 413 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" = 756 AND "spree_taxons"."taxonomy_id" = 413 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 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 13:08:57.083000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 756, 'paintings/nature', 0, 10, 413, '2012-09-25 13:08:57.083000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 760 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 760 THEN 756 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 760 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 760 AND "spree_taxons"."taxonomy_id" = 413 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" = 760 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 13:08:57.094000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 760, 'paintings/nature/seascape', 0, 12, 413, '2012-09-25 13:08:57.094000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 760 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 761 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 761 THEN 760 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 760 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 761 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 760)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (332, 761) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 332) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 332 AND "spree_option_types"."id" = 205 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" = 332) 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 13:08:57.107000', 205, 1, 332, '2012-09-25 13:08:57.107000') 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" = 205 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.112000' WHERE "spree_products"."id" = 332 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, 332, 'DEMO_002_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.114000' WHERE "spree_products"."id" = 332  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1036, 329) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("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" != 332) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 332 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 205 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.127000' WHERE "spree_products"."id" = 332 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 332, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.130000' WHERE "spree_products"."id" = 332  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1037, 330) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 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" != 332) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 332 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 205 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.142000' WHERE "spree_products"."id" = 332 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 332, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.144000' WHERE "spree_products"."id" = 332  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1038, 331) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 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" != 332) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 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" = 332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 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" = 1036 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1038 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" != 332) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.176000' WHERE "spree_products"."id" = 332  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1036 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.178000' WHERE "spree_products"."id" = 332 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.184000' WHERE "spree_products"."id" = 332  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1037 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.187000' WHERE "spree_products"."id" = 332 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.189000' WHERE "spree_products"."id" = 332  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1038 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.190000' WHERE "spree_products"."id" = 332 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 332) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 332 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:08:57.194000' WHERE "spree_products"."id" = 332 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (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 13:08:57.203000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:57.203000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.211000' WHERE "spree_products"."id" = 333 SQL (0.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, 333, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.213000' WHERE "spree_products"."id" = 333  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1039 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.216000' WHERE "spree_products"."id" = 333  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 333  (1.0ms) 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::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:57.225000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:08:57.225000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:57.227000', NULL, 255, '2012-09-25 13:08:57.227000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 333, "updated_at" = '2012-09-25 13:08:57.229000' WHERE "spree_product_properties"."id" = 303 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" != 333) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:57.235000', NULL, 254, '2012-09-25 13:08:57.235000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 333, "updated_at" = '2012-09-25 13:08:57.237000' WHERE "spree_product_properties"."id" = 304 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" != 333) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:08:57.242000', 'yet_another_property', 'Yet another property', '2012-09-25 13:08:57.242000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:08:57.247000', NULL, 256, '2012-09-25 13:08:57.247000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 333, "updated_at" = '2012-09-25 13:08:57.253000' WHERE "spree_product_properties"."id" = 305 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" != 333) 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 13:08:57.259000', 'Drawings', '2012-09-25 13:08:57.259000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 416 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 13:08:57.265000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 416, '2012-09-25 13:08:57.265000') 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" = 333 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (333, 762) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 333) 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" = 413 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" = 756 AND "spree_taxons"."taxonomy_id" = 413 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (333, 757)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (333, 756) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 333) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 333 AND "spree_option_types"."id" = 205 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" = 333) ORDER BY position 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 13:08:57.286000', 205, 1, 333, '2012-09-25 13:08:57.286000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 205 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.292000' WHERE "spree_products"."id" = 333 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 333, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.294000' WHERE "spree_products"."id" = 333  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1040, 329) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("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" != 333) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 333 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 205 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.304000' WHERE "spree_products"."id" = 333 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 333, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.306000' WHERE "spree_products"."id" = 333  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1041, 330) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("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" != 333) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 333 AND "spree_option_types"."id" = 205 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 205 LIMIT 1  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.317000' WHERE "spree_products"."id" = 333 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 333, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.319000' WHERE "spree_products"."id" = 333  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1042, 331) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("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" != 333) 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 (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:08:57.326000', 'print_type', 0, 'Print type', '2012-09-25 13:08:57.326000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 333 AND "spree_option_types"."id" = 206 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" = 333) ORDER BY position 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 13:08:57.332000', 206, 2, 333, '2012-09-25 13:08:57.332000') 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" = 206 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 206) ORDER 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 13:08:57.336000', 'black_white', 206, 1, NULL, '2012-09-25 13:08:57.336000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.341000' WHERE "spree_products"."id" = 333 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 333, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.342000' WHERE "spree_products"."id" = 333  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1043, 332) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("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" != 333) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 333 AND "spree_option_types"."id" = 206 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 206 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 206) ORDER 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 13:08:57.376000', 'colour', 206, 2, NULL, '2012-09-25 13:08:57.376000')  (0.0ms) 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::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.382000' WHERE "spree_products"."id" = 333 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 333, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.384000' WHERE "spree_products"."id" = 333  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1044, 333) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("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" != 333) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 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" = 333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 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" = 1040 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" = 1041 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1042 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1043 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 333) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.410000' WHERE "spree_products"."id" = 333  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1040 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.412000' WHERE "spree_products"."id" = 333 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.413000' WHERE "spree_products"."id" = 333  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1041 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.415000' WHERE "spree_products"."id" = 333 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.417000' WHERE "spree_products"."id" = 333  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1042 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.418000' WHERE "spree_products"."id" = 333 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.420000' WHERE "spree_products"."id" = 333  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1043 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.422000' WHERE "spree_products"."id" = 333 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 333 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.423000' WHERE "spree_products"."id" = 333  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1044 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.425000' WHERE "spree_products"."id" = 333 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 333) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 333 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 13:08:57.450000' WHERE "spree_products"."id" = 333 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 331 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 331 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 332 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 332 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" = 413 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 756 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 413 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 760 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 760 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 761 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (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 (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:08:57.559000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:57.559000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 334 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.565000' WHERE "spree_products"."id" = 334 SQL (0.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, 334, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.567000' WHERE "spree_products"."id" = 334  (25.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1045 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.595000' WHERE "spree_products"."id" = 334  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 334 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 334  (0.0ms) 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::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:57.601000', 'Paintings', '2012-09-25 13:08:57.601000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 417 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 13:08:57.606000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 417, '2012-09-25 13:08:57.606000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 763 AND "spree_taxons"."taxonomy_id" = 417 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" = 763 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 13:08:57.613000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 763, 'paintings/landscape', 0, 4, 417, '2012-09-25 13:08:57.613000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 763 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 764 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 764 THEN 763 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 763 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 764 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" = 334 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (334, 764)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (334, 763) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:57.641000', 'WaterColour', '2012-09-25 13:08:57.641000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 418 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 13:08:57.650000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 418, '2012-09-25 13:08:57.650000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (334, 765) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 334) 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" != 334) LIMIT 1 Spree::InventoryUnit Load (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 334) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:08:57.672000' WHERE "spree_products"."id" = 334  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1045 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.674000' WHERE "spree_products"."id" = 334 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 334 Row org.apache.poi.hssf.usermodel.HSSFRow@bbc1ee succesfully SAVED : ID 334 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 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 13:08:57.682000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:08:57.682000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 335 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.686000' WHERE "spree_products"."id" = 335 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, 335, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.688000' WHERE "spree_products"."id" = 335  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1046 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.690000' WHERE "spree_products"."id" = 335  (1.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 335 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 335  (0.0ms) 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::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" = 417 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" = 335 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (335, 763) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 335) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:57.701000', 'Oils', '2012-09-25 13:08:57.701000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 419 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 13:08:57.705000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 419, '2012-09-25 13:08:57.705000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (335, 766) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 335) 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" = 417 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" = 763 AND "spree_taxons"."taxonomy_id" = 417 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" = 763 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 13:08:57.715000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 763, 'paintings/nature', 0, 10, 417, '2012-09-25 13:08:57.715000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 763 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 767 THEN 763 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 763 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 767 AND "spree_taxons"."taxonomy_id" = 417 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" = 767 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 13:08:57.726000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 767, 'paintings/nature/landscape', 0, 12, 417, '2012-09-25 13:08:57.726000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 768 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 768 THEN 767 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 768 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (335, 767)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (335, 768) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 335) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1046 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' AND "spree_products"."id" != 335) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:08:57.739000' WHERE "spree_products"."id" = 335  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1046 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.742000' WHERE "spree_products"."id" = 335 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 335 Row org.apache.poi.hssf.usermodel.HSSFRow@1d400eb succesfully SAVED : ID 335 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:57.757000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:57.757000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 336 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.763000' WHERE "spree_products"."id" = 336 SQL (0.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, 336, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.766000' WHERE "spree_products"."id" = 336  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1047 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.768000' WHERE "spree_products"."id" = 336  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 336 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 336  (0.0ms) 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::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 13:08:57.775000', 'Drawings', '2012-09-25 13:08:57.775000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 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 13:08:57.779000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 420, '2012-09-25 13:08:57.779000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 769 AND "spree_taxons"."taxonomy_id" = 420 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" = 769 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 13:08:57.785000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 769, 'drawings/landscape', 0, 16, 420, '2012-09-25 13:08:57.785000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 769 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 770 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 770 THEN 769 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 769 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 770 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" = 336 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 770)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 769) Spree::Product Exists (0.0ms) 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.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:57.796000', 'Landscape', '2012-09-25 13:08:57.796000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 421 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 13:08:57.799000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 421, '2012-09-25 13:08:57.799000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (336, 771) 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" != 336) 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" != 336) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1047 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" != 336) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:08:57.811000' WHERE "spree_products"."id" = 336  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1047 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.814000' WHERE "spree_products"."id" = 336 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 336 Row org.apache.poi.hssf.usermodel.HSSFRow@8ae3a1 succesfully SAVED : ID 336 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:57.826000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:08:57.826000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 337 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.831000' WHERE "spree_products"."id" = 337 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 337, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.832000' WHERE "spree_products"."id" = 337  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1048 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.835000' WHERE "spree_products"."id" = 337  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 337 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 337  (0.0ms) 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::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 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" = 769 AND "spree_taxons"."taxonomy_id" = 420 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" = 337 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 770)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 769) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 337) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 337) 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" = 417 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" = 763 AND "spree_taxons"."taxonomy_id" = 417 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 767 AND "spree_taxons"."taxonomy_id" = 417 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" = 767 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 13:08:57.854000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 767, 'paintings/nature/seascape', 0, 20, 417, '2012-09-25 13:08:57.854000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 772 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 772 THEN 767 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 772 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 772 AND "spree_taxons"."taxonomy_id" = 417 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" = 772 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:57.867000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 772, 'paintings/nature/seascape/cliffs', 0, 22, 417, '2012-09-25 13:08:57.867000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 772 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 773 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 773 THEN 772 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 772 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 773 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 767)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 772)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 773)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (337, 763) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 337) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1048 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 337) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:08:57.879000' WHERE "spree_products"."id" = 337  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1048 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.881000' WHERE "spree_products"."id" = 337 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 337 Row org.apache.poi.hssf.usermodel.HSSFRow@1315edf succesfully SAVED : ID 337 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:57.895000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:08:57.895000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 338 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.900000' WHERE "spree_products"."id" = 338 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 (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 338, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.902000' WHERE "spree_products"."id" = 338  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1049 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.910000' WHERE "spree_products"."id" = 338  (0.0ms) 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 338 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 338  (0.0ms) 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::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 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" = 769 AND "spree_taxons"."taxonomy_id" = 420 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 770 AND "spree_taxons"."taxonomy_id" = 420 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" = 770 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 13:08:57.922000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 770, 'drawings/landscape/bristol', 0, 24, 420, '2012-09-25 13:08:57.922000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 770 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 774 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 774 THEN 770 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 770 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 774 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" = 338 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (338, 770)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (338, 774)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (338, 769) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 338) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 419 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 (338, 766) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 338) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 338) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1049 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 338) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:08:57.940000' WHERE "spree_products"."id" = 338  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1049 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:57.942000' WHERE "spree_products"."id" = 338 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 338 Row org.apache.poi.hssf.usermodel.HSSFRow@10f18ad succesfully SAVED : ID 338 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 417 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 418 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 417 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 417 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 763 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 763) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 767 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 767) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 767) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 763 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 767 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 772 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 773 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 772) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 420 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 770 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 770 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 774 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 774) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 419 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 419 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 766 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 421 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 421 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 771 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (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 13:08:58.155000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:08:58.155000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 339 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.161000' WHERE "spree_products"."id" = 339 SQL (0.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, 339, 'test_ct_001', NULL, NULL) SQL (26.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.164000' WHERE "spree_products"."id" = 339  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1050 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.194000' WHERE "spree_products"."id" = 339  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 339 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 339  (0.0ms) 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::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 13:08:58.201000', 'Paintings', '2012-09-25 13:08:58.201000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 422 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 13:08:58.209000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 422, '2012-09-25 13:08:58.209000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 775 AND "spree_taxons"."taxonomy_id" = 422 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" = 775 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 13:08:58.216000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 775, 'paintings/landscape', 0, 4, 422, '2012-09-25 13:08:58.216000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 775 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 776 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 776 THEN 775 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 775 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 776 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" = 339 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (339, 776)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (339, 775) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 339) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:58.230000', 'WaterColour', '2012-09-25 13:08:58.230000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 423 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 13:08:58.234000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 423, '2012-09-25 13:08:58.234000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (339, 777) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 339) LIMIT 1 Spree::InventoryUnit Load (0.0ms) 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_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 339) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:08:58.248000' WHERE "spree_products"."id" = 339  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1050 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.251000' WHERE "spree_products"."id" = 339 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 339 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:08:58.258000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:08:58.258000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 340 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.261000' WHERE "spree_products"."id" = 340 SQL (0.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, 340, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.263000' WHERE "spree_products"."id" = 340  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1051 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.266000' WHERE "spree_products"."id" = 340  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 340 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 340  (0.0ms) 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::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" = 422 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" = 340 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (340, 775) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 340) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:08:58.278000', 'Oils', '2012-09-25 13:08:58.278000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:58.282000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 424, '2012-09-25 13:08:58.282000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (340, 778) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 340) 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" = 422 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" = 775 AND "spree_taxons"."taxonomy_id" = 422 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" = 775 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 13:08:58.294000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 775, 'paintings/nature', 0, 10, 422, '2012-09-25 13:08:58.294000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 775 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 779 THEN 775 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 775 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 779 AND "spree_taxons"."taxonomy_id" = 422 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" = 779 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 13:08:58.320000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 779, 'paintings/nature/landscape', 0, 12, 422, '2012-09-25 13:08:58.320000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 780 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 780 THEN 779 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 780 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (340, 779)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (340, 780) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 340) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1051 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 340) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:08:58.334000' WHERE "spree_products"."id" = 340  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1051 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.336000' WHERE "spree_products"."id" = 340 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 340 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:58.343000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:08:58.343000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 341 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.346000' WHERE "spree_products"."id" = 341 SQL (0.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, 341, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.350000' WHERE "spree_products"."id" = 341  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1052 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.352000' WHERE "spree_products"."id" = 341  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 341 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 341  (0.0ms) 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::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 13:08:58.367000', 'Drawings', '2012-09-25 13:08:58.367000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 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 13:08:58.371000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 425, '2012-09-25 13:08:58.371000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 781 AND "spree_taxons"."taxonomy_id" = 425 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" = 781 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 13:08:58.379000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 781, 'drawings/landscape', 0, 16, 425, '2012-09-25 13:08:58.379000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 781 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 782 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 782 THEN 781 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 781 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 782 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" = 341 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (341, 782)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (341, 781) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 341) LIMIT 1 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 13:08:58.395000', 'Landscape', '2012-09-25 13:08:58.395000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 426 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 13:08:58.399000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 426, '2012-09-25 13:08:58.399000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (341, 783) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 341) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1052 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 341) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:08:58.416000' WHERE "spree_products"."id" = 341  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1052 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.419000' WHERE "spree_products"."id" = 341 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 341 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:58.429000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:08:58.429000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 342 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.434000' WHERE "spree_products"."id" = 342 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 342, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.437000' WHERE "spree_products"."id" = 342  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1053 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.439000' WHERE "spree_products"."id" = 342  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 342 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 342  (1.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 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" = 781 AND "spree_taxons"."taxonomy_id" = 425 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" = 342 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 782)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 781) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 342) 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" = 422 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" = 775 AND "spree_taxons"."taxonomy_id" = 422 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 779 AND "spree_taxons"."taxonomy_id" = 422 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" = 779 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:08:58.464000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 779, 'paintings/nature/seascape', 0, 20, 422, '2012-09-25 13:08:58.464000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 784 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 784 THEN 779 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 784 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 784 AND "spree_taxons"."taxonomy_id" = 422 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" = 784 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 13:08:58.475000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 784, 'paintings/nature/seascape/cliffs', 0, 22, 422, '2012-09-25 13:08:58.475000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 784 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 785 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 785 THEN 784 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 784 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 785 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 779)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 784)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 785)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (342, 775) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 342) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1053 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 342) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:08:58.493000' WHERE "spree_products"."id" = 342  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1053 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.495000' WHERE "spree_products"."id" = 342 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 342 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:08:58.502000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:08:58.502000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 343 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.505000' WHERE "spree_products"."id" = 343 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 343, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.507000' WHERE "spree_products"."id" = 343  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1054 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.509000' WHERE "spree_products"."id" = 343  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 343 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 343  (0.0ms) 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 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" = 781 AND "spree_taxons"."taxonomy_id" = 425 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 782 AND "spree_taxons"."taxonomy_id" = 425 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" = 782 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 13:08:58.519000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 782, 'drawings/landscape/bristol', 0, 24, 425, '2012-09-25 13:08:58.519000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 782 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 786 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 786 THEN 782 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 782 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 786 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" = 343 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (343, 782)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (343, 786)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (343, 781) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 343) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 424 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 (343, 778) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 343) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1054 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 343) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:08:58.540000' WHERE "spree_products"."id" = 343  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1054 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:08:58.542000' WHERE "spree_products"."id" = 343 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 343  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 423 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (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" = 422 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 422 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 775 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 775) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 779 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 779) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 779) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 775 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 779 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 784 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 785 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 784) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 425 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 782 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 782 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 786 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 786) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 424 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 424 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 778 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 426 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 426 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 783 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (34.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (26.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:33.565000', 'Paintings', '2012-09-25 13:28:33.565000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 427 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 13:28:34.034000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 427, '2012-09-25 13:28:34.034000')  (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 13:28:34.072000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 427, '2012-09-25 13:28:34.072000')  (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 13:28:34.095000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 427, '2012-09-25 13:28:34.095000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (46.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:34.692000', 'Paintings', '2012-09-25 13:28:34.692000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 428 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 13:28:34.731000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 428, '2012-09-25 13:28:34.731000')  (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 13:28:34.860000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 428, '2012-09-25 13:28:34.860000')  (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 13:28:34.891000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 428, '2012-09-25 13:28:34.891000') ExcelGenerator creating template with associations for class Spree::Product SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (28.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:34.982000', 'Paintings', '2012-09-25 13:28:34.982000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 429 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (0.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:35.023000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 429, '2012-09-25 13:28:35.023000')  (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 13:28:35.042000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 429, '2012-09-25 13:28:35.042000')  (0.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:35.062000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 429, '2012-09-25 13:28:35.062000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (32.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.453000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:28:35.453000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 59 Row org.apache.poi.hssf.usermodel.HSSFRow@9598fa succesfully SAVED : ID 59 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.532000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:28:35.532000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 60 Row org.apache.poi.hssf.usermodel.HSSFRow@131fcb9 succesfully SAVED : ID 60 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.543000', 'f', 'Europe', 'EUR', '2012-09-25 13:28:35.543000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 61 Row org.apache.poi.hssf.usermodel.HSSFRow@1981e8a succesfully SAVED : ID 61 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.557000', 'f', 'North America', 'NA', '2012-09-25 13:28:35.557000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 62 Row org.apache.poi.hssf.usermodel.HSSFRow@1b3f6a8 succesfully SAVED : ID 62 Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.679000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:28:35.679000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 63 Current value to assign : UK Current value to assign : United Kingdom Saving csv row UKUnited Kingdom to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.693000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:28:35.693000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 64 Current value to assign : EUR Current value to assign : Europe Saving csv row EUREurope to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.727000', 'f', 'Europe', 'EUR', '2012-09-25 13:28:35.727000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 65 Current value to assign : NA Current value to assign : North America Saving csv row NANorth America to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:28:35.750000', 'f', 'North America', 'NA', '2012-09-25 13:28:35.750000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 66  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (4.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (30.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (4.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:28:36.119000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:36.119000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 344 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.156000' WHERE "spree_products"."id" = 344 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, 345.78, 344, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.166000' WHERE "spree_products"."id" = 344  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1055 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.178000' WHERE "spree_products"."id" = 344  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 344  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1055 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 344) 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 13:28:36.301000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:36.301000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER 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" = 207 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" = 344) 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 13:28:36.383000', 207, 1, 344, '2012-09-25 13:28:36.383000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 344) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:28:36.397000' WHERE "spree_products"."id" = 344  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1055 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.404000' WHERE "spree_products"."id" = 344 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 344 Row org.apache.poi.hssf.usermodel.HSSFRow@816b21 succesfully SAVED : ID 344 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (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 13:28:36.438000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:36.438000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 345 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.471000' WHERE "spree_products"."id" = 345 SQL (0.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, 345, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.479000' WHERE "spree_products"."id" = 345  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1056 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.484000' WHERE "spree_products"."id" = 345  (0.0ms) 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.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 345 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 345  (0.0ms) 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::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1056 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 345) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 345 AND "spree_option_types"."id" = 207 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" = 345) 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 13:28:36.532000', 207, 1, 345, '2012-09-25 13:28:36.532000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 345) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:28:36.572000' WHERE "spree_products"."id" = 345  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1056 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.582000' WHERE "spree_products"."id" = 345 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 345 Row org.apache.poi.hssf.usermodel.HSSFRow@fb6b7a succesfully SAVED : ID 345 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:28:36.609000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:28:36.609000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 346 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.631000' WHERE "spree_products"."id" = 346 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, 346, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.636000' WHERE "spree_products"."id" = 346  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1057 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.645000' WHERE "spree_products"."id" = 346  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 346 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" = 346 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 346  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 346 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1057 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 346) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 346 AND "spree_option_types"."id" = 207 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" = 346) ORDER BY position 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 13:28:36.686000', 207, 1, 346, '2012-09-25 13:28:36.686000') 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 13:28:36.693000', 'print_type', 0, 'Print type', '2012-09-25 13:28:36.693000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 346 AND "spree_option_types"."id" = 208 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" = 346) 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 13:28:36.750000', 208, 2, 346, '2012-09-25 13:28:36.750000') 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" != 346) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:28:36.760000' WHERE "spree_products"."id" = 346  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1057 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:36.787000' WHERE "spree_products"."id" = 346 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 346 Row org.apache.poi.hssf.usermodel.HSSFRow@1007a1a succesfully SAVED : ID 346 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:28:36.879000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:28:36.881000')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 344 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 344 ORDER BY spree_option_types.position  (1.0ms) 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.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 346 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (27.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:28:37.114000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:37.114000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 347 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.126000' WHERE "spree_products"."id" = 347 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 347, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.131000' WHERE "spree_products"."id" = 347  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1058 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.135000' WHERE "spree_products"."id" = 347  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 347 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 347  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1058 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 347) LIMIT 1 Spree::OptionType Load (0.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 13:28:37.172000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:37.172000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 347 AND "spree_option_types"."id" = 209 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" = 347) ORDER BY position 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 13:28:37.254000', 209, 1, 347, '2012-09-25 13:28:37.254000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 347) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:28:37.273000' WHERE "spree_products"."id" = 347  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1058 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.283000' WHERE "spree_products"."id" = 347 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 347 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:37.636000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:37.636000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 348 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.641000' WHERE "spree_products"."id" = 348 SQL (0.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, 348, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.649000' WHERE "spree_products"."id" = 348  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1059 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.654000' WHERE "spree_products"."id" = 348  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 348 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 348 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 348  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 348 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1059 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 348) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 348 AND "spree_option_types"."id" = 209 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" = 348) ORDER BY position 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 13:28:37.715000', 209, 1, 348, '2012-09-25 13:28:37.715000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 348) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:28:37.724000' WHERE "spree_products"."id" = 348  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1059 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.734000' WHERE "spree_products"."id" = 348 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 348 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:28:37.757000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:28:37.757000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 349 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.778000' WHERE "spree_products"."id" = 349 SQL (0.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, 349, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.782000' WHERE "spree_products"."id" = 349  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1060 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.805000' WHERE "spree_products"."id" = 349  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 349 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 349 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 349  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 349 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1060 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 349) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 349 AND "spree_option_types"."id" = 209 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" = 349) ORDER BY position 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 13:28:37.871000', 209, 1, 349, '2012-09-25 13:28:37.871000') 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 13:28:37.879000', 'print_type', 0, 'Print type', '2012-09-25 13:28:37.879000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 349 AND "spree_option_types"."id" = 210 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" = 349) ORDER BY position 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 13:28:37.939000', 210, 2, 349, '2012-09-25 13:28:37.939000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 349) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:28:37.944000' WHERE "spree_products"."id" = 349  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1060 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:37.950000' WHERE "spree_products"."id" = 349 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 349  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:28:37.970000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:28:37.971000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 347 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 347 ORDER BY spree_option_types.position  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 347 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 349 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (31.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (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-09-25 14:28:38.000000', 0, '2012-09-25 13:28:38.170000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:38.170000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 350 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.178000' WHERE "spree_products"."id" = 350 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 350, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.182000' WHERE "spree_products"."id" = 350  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1061 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.189000' WHERE "spree_products"."id" = 350  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 350 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 350 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 350  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 350 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:28:38.211000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:38.211000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 350 AND "spree_option_types"."id" = 211 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" = 350) 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 13:28:38.234000', 211, 1, 350, '2012-09-25 13:28:38.234000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 350) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1813ee4 succesfully SAVED : ID 350 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:28:38.000000', 0, '2012-09-25 13:28:38.302000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:38.302000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 351 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.307000' WHERE "spree_products"."id" = 351 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 351, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.391000' WHERE "spree_products"."id" = 351  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1062 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.399000' WHERE "spree_products"."id" = 351  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 351 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 351 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 351  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 351 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 351 AND "spree_option_types"."id" = 211 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" = 351) ORDER BY position 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 13:28:38.424000', 211, 1, 351, '2012-09-25 13:28:38.424000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 351) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@528353 succesfully SAVED : ID 351 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:28:38.000000', 0, '2012-09-25 13:28:38.485000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:28:38.485000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 352 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.489000' WHERE "spree_products"."id" = 352 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 352, 'SPEC_SIMPLE_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.493000' WHERE "spree_products"."id" = 352  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1063 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.498000' WHERE "spree_products"."id" = 352  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 352 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 352 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 352  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 352 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 352 AND "spree_option_types"."id" = 211 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" = 352) ORDER BY position 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 13:28:38.522000', 211, 1, 352, '2012-09-25 13:28:38.522000') 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 13:28:38.526000', 'print_type', 0, 'Print type', '2012-09-25 13:28:38.526000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 352 AND "spree_option_types"."id" = 212 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" = 352) 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 13:28:38.536000', 212, 2, 352, '2012-09-25 13:28:38.536000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 352) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@193c1b3 succesfully SAVED : ID 352 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 350 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (58.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (4.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:28:38.739000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:38.739000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 353 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.771000' WHERE "spree_products"."id" = 353 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 353, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.776000' WHERE "spree_products"."id" = 353  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1064 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.808000' WHERE "spree_products"."id" = 353  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 353 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 353 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 353  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 353 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:28:38.826000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:38.826000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 353 AND "spree_option_types"."id" = 213 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" = 353) ORDER BY position 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 13:28:38.844000', 213, 1, 353, '2012-09-25 13:28:38.844000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 353) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@107317e succesfully SAVED : ID 353 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:28:38.893000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:38.893000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 354 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.899000' WHERE "spree_products"."id" = 354 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 354, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.903000' WHERE "spree_products"."id" = 354  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1065 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.912000' WHERE "spree_products"."id" = 354  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 354 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 354 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 354  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 354 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 354 AND "spree_option_types"."id" = 213 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" = 354) 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 13:28:38.929000', 213, 1, 354, '2012-09-25 13:28:38.929000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 354) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1b0b43f succesfully SAVED : ID 354 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (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 13:28:38.965000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:28:38.965000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 355 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.971000' WHERE "spree_products"."id" = 355 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 355, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.976000' WHERE "spree_products"."id" = 355  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1066 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:38.980000' WHERE "spree_products"."id" = 355  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 355 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 355 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 355  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 355 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 355 AND "spree_option_types"."id" = 213 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" = 355) ORDER BY position 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 13:28:38.999000', 213, 1, 355, '2012-09-25 13:28:38.999000') 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 (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:28:39.004000', 'print_type', 0, 'Print type', '2012-09-25 13:28:39.004000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 355 AND "spree_option_types"."id" = 214 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" = 355) ORDER BY position 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 13:28:39.014000', 214, 2, 355, '2012-09-25 13:28:39.014000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 355) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1e1b509 succesfully SAVED : ID 355 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 353 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (55.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:39.190000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:28:39.190000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (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 13:28:39.228000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:39.228000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.261000' WHERE "spree_products"."id" = 356 SQL (0.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, 356, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.264000' WHERE "spree_products"."id" = 356  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1067 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.295000' WHERE "spree_products"."id" = 356  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 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" = 356 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 356  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:39.337000', NULL, 257, '2012-09-25 13:28:39.337000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 356, "updated_at" = '2012-09-25 13:28:39.346000' WHERE "spree_product_properties"."id" = 306 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" != 356) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:39.351000', 'Paintings', '2012-09-25 13:28:39.351000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 430 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 13:28:39.359000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 430, '2012-09-25 13:28:39.359000') 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" = 356 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (356, 796) 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 13:28:39.371000', 'WaterColour', '2012-09-25 13:28:39.371000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 431 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 13:28:39.380000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 431, '2012-09-25 13:28:39.380000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (356, 797) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 356) 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" != 356) LIMIT 1 Spree::OptionType Load (0.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 13:28:39.400000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:39.400000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 356 AND "spree_option_types"."id" = 215 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" = 356) ORDER BY position 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 13:28:39.421000', 215, 1, 356, '2012-09-25 13:28:39.421000') 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" = 215 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 215) ORDER 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 13:28:39.480000', 'jpeg', 215, 1, NULL, '2012-09-25 13:28:39.480000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.486000' WHERE "spree_products"."id" = 356 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 356, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.494000' WHERE "spree_products"."id" = 356  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1068, 334) 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" = 215 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 215) ORDER 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 13:28:39.506000', 'PDF', 215, 2, NULL, '2012-09-25 13:28:39.506000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.513000' WHERE "spree_products"."id" = 356 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 356, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.516000' WHERE "spree_products"."id" = 356  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1069, 335) 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" = 215 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 215) ORDER 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 13:28:39.521000', 'PNG', 215, 3, NULL, '2012-09-25 13:28:39.521000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.536000' WHERE "spree_products"."id" = 356 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, 356, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.545000' WHERE "spree_products"."id" = 356  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1070, 336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 AND ("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" != 356) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 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" = 356 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" = 356 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" = 1068 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1069 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1070 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" != 356) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.582000' WHERE "spree_products"."id" = 356  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1068 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.586000' WHERE "spree_products"."id" = 356 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.588000' WHERE "spree_products"."id" = 356  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1069 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.590000' WHERE "spree_products"."id" = 356 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 356 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.593000' WHERE "spree_products"."id" = 356  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1070 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.596000' WHERE "spree_products"."id" = 356 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 356) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 356 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 13:28:39.604000' WHERE "spree_products"."id" = 356 Row org.apache.poi.hssf.usermodel.HSSFRow@bc7428 succesfully SAVED : ID 356 Current value to assign : DEMO_002 Current value to 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 13:28:39.656000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:39.656000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.663000' WHERE "spree_products"."id" = 357 SQL (0.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, 357, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.671000' WHERE "spree_products"."id" = 357  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1071 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.676000' WHERE "spree_products"."id" = 357  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 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" = 357 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 357  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 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 13:28:39.689000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:39.689000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:39.692000', NULL, 258, '2012-09-25 13:28:39.692000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 357, "updated_at" = '2012-09-25 13:28:39.697000' WHERE "spree_product_properties"."id" = 307 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" != 357) 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" = 430 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" = 357 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (357, 796) 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 13:28:39.710000', 'Oils', '2012-09-25 13:28:39.710000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 432 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 13:28:39.718000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 432, '2012-09-25 13:28:39.718000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (357, 798) 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" = 430 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" = 796 AND "spree_taxons"."taxonomy_id" = 430 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" = 796 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:39.731000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 796, 'paintings/nature', 0, 8, 430, '2012-09-25 13:28:39.731000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 796 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 799 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 = 799 THEN 796 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 796 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 799 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 799 AND "spree_taxons"."taxonomy_id" = 430 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 799 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 13:28:39.749000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 799, 'paintings/nature/seascape', 0, 10, 430, '2012-09-25 13:28:39.749000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 799 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 800 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 = 800 THEN 799 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 799 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 800 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (357, 799)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (357, 800) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 357) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 357 AND "spree_option_types"."id" = 215 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" = 357) ORDER BY position 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 13:28:39.777000', 215, 1, 357, '2012-09-25 13:28:39.777000') 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.795000' WHERE "spree_products"."id" = 357 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 357, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.802000' WHERE "spree_products"."id" = 357  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1072, 334) 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.807000' WHERE "spree_products"."id" = 357 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 357, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.811000' WHERE "spree_products"."id" = 357  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1073, 335) 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.820000' WHERE "spree_products"."id" = 357 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 357, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.822000' WHERE "spree_products"."id" = 357  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1074, 336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 AND ("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" != 357) 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" != 357) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 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" = 357 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 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" = 1072 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1073 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1074 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" != 357) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.854000' WHERE "spree_products"."id" = 357  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1072 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.858000' WHERE "spree_products"."id" = 357 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.860000' WHERE "spree_products"."id" = 357  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1073 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.864000' WHERE "spree_products"."id" = 357 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 357 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.866000' WHERE "spree_products"."id" = 357  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1074 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.867000' WHERE "spree_products"."id" = 357 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" != 357) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 357 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 13:28:39.880000' WHERE "spree_products"."id" = 357 Row org.apache.poi.hssf.usermodel.HSSFRow@1af9356 succesfully SAVED : ID 357 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:39.928000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:39.928000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.935000' WHERE "spree_products"."id" = 358 SQL (0.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, 358, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.938000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1075 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:39.942000' WHERE "spree_products"."id" = 358  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 358  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 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 13:28:39.949000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:39.949000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:39.958000', NULL, 259, '2012-09-25 13:28:39.958000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 358, "updated_at" = '2012-09-25 13:28:39.960000' WHERE "spree_product_properties"."id" = 308 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 13:28:39.964000', NULL, 258, '2012-09-25 13:28:39.964000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 358, "updated_at" = '2012-09-25 13:28:39.966000' WHERE "spree_product_properties"."id" = 309 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:39.978000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:39.978000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:39.984000', NULL, 260, '2012-09-25 13:28:39.984000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 358, "updated_at" = '2012-09-25 13:28:39.986000' WHERE "spree_product_properties"."id" = 310 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 358) 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 13:28:39.993000', 'Drawings', '2012-09-25 13:28:39.993000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 433 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 13:28:40.002000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 433, '2012-09-25 13:28:40.002000') 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" = 358 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (358, 801) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 430 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" = 796 AND "spree_taxons"."taxonomy_id" = 430 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" = 796 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 13:28:40.022000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 796, 'paintings/landscape', 0, 14, 430, '2012-09-25 13:28:40.022000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 796 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 802 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 = 802 THEN 796 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 796 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 802 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (358, 802)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (358, 796) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 358) 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" != 358) 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" = 358 AND "spree_option_types"."id" = 215 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" = 358) ORDER BY position 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 13:28:40.053000', 215, 1, 358, '2012-09-25 13:28:40.053000') 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.062000' WHERE "spree_products"."id" = 358 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 358, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.064000' WHERE "spree_products"."id" = 358  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1076, 334) 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.088000' WHERE "spree_products"."id" = 358 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 358, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.092000' WHERE "spree_products"."id" = 358  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1077, 335) 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" = 215 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.105000' WHERE "spree_products"."id" = 358 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 358, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.108000' WHERE "spree_products"."id" = 358  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1078, 336) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 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 13:28:40.115000', 'print_type', 0, 'Print type', '2012-09-25 13:28:40.115000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 358 AND "spree_option_types"."id" = 216 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" = 358) 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 13:28:40.126000', 216, 2, 358, '2012-09-25 13:28:40.126000') 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" = 216 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 216) ORDER 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 13:28:40.131000', 'black_white', 216, 1, NULL, '2012-09-25 13:28:40.131000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (28.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.138000' WHERE "spree_products"."id" = 358 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 358, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.170000' WHERE "spree_products"."id" = 358  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1079, 337) 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" = 216 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 216) ORDER 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 13:28:40.175000', 'colour', 216, 2, NULL, '2012-09-25 13:28:40.175000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.182000' WHERE "spree_products"."id" = 358 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 358, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.185000' WHERE "spree_products"."id" = 358  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1080, 338) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("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" != 358) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 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" = 358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 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" = 1076 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1078 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" = 1079 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1080 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" != 358) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.223000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1076 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.228000' WHERE "spree_products"."id" = 358 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.231000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1077 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.233000' WHERE "spree_products"."id" = 358 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.235000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1078 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.238000' WHERE "spree_products"."id" = 358 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.240000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1079 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.262000' WHERE "spree_products"."id" = 358 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 358 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.265000' WHERE "spree_products"."id" = 358  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1080 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.268000' WHERE "spree_products"."id" = 358 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 358) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 358 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 13:28:40.277000' WHERE "spree_products"."id" = 358 Row org.apache.poi.hssf.usermodel.HSSFRow@16168c4 succesfully SAVED : ID 358 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  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 356 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 358 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 358 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (31.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:40.486000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:28:40.486000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:28:40.559000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:40.559000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.564000' WHERE "spree_products"."id" = 359 SQL (0.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, 359, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.568000' WHERE "spree_products"."id" = 359  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1081 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.571000' WHERE "spree_products"."id" = 359  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 359  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:40.581000', NULL, 261, '2012-09-25 13:28:40.581000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 359, "updated_at" = '2012-09-25 13:28:40.583000' WHERE "spree_product_properties"."id" = 311 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" != 359) 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" != 359) 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" != 359) 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 13:28:40.601000', 'Paintings', '2012-09-25 13:28:40.601000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 434 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 13:28:40.606000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 434, '2012-09-25 13:28:40.606000') 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" = 359 Product assigned to Taxons : ["Paintings"]  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (359, 803) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 359) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:40.632000', 'WaterColour', '2012-09-25 13:28:40.632000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 435 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 13:28:40.638000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 435, '2012-09-25 13:28:40.638000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (359, 804) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 359) 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" != 359) LIMIT 1 Spree::OptionType Load (0.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 13:28:40.659000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:40.659000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 359 AND "spree_option_types"."id" = 217 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" = 359) ORDER BY position 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 13:28:40.669000', 217, 1, 359, '2012-09-25 13:28:40.669000') 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" = 217 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 217) ORDER 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 13:28:40.675000', 'jpeg', 217, 1, NULL, '2012-09-25 13:28:40.675000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.721000' WHERE "spree_products"."id" = 359 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 359, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.726000' WHERE "spree_products"."id" = 359  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1082, 339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("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" != 359) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 359 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 217 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 217) ORDER 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 13:28:40.745000', 'PDF', 217, 2, NULL, '2012-09-25 13:28:40.745000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.764000' WHERE "spree_products"."id" = 359 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 359, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.766000' WHERE "spree_products"."id" = 359  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1083, 340) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("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" != 359) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 359 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 217 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 217) ORDER 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 13:28:40.778000', 'PNG', 217, 3, NULL, '2012-09-25 13:28:40.778000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.785000' WHERE "spree_products"."id" = 359 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 359, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.789000' WHERE "spree_products"."id" = 359  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1084, 341) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 AND ("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" != 359) 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" != 359) 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" != 359) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 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" = 359 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 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" = 1082 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1083 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" = 1084 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" != 359) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 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" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.849000' WHERE "spree_products"."id" = 359  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1082 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.857000' WHERE "spree_products"."id" = 359 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.859000' WHERE "spree_products"."id" = 359  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1083 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.864000' WHERE "spree_products"."id" = 359 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 359 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.866000' WHERE "spree_products"."id" = 359  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1084 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.868000' WHERE "spree_products"."id" = 359 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 359) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 359 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 13:28:40.873000' WHERE "spree_products"."id" = 359 Row org.apache.poi.hssf.usermodel.HSSFRow@16520f3 succesfully SAVED : ID 359 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:40.887000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:40.887000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.891000' WHERE "spree_products"."id" = 360 SQL (0.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, 360, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.893000' WHERE "spree_products"."id" = 360  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1085 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:40.895000' WHERE "spree_products"."id" = 360  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 360  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 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 13:28:40.914000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:40.914000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:40.917000', NULL, 262, '2012-09-25 13:28:40.917000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 360, "updated_at" = '2012-09-25 13:28:40.920000' WHERE "spree_product_properties"."id" = 312 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" != 360) 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" != 360) 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" != 360) 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" = 434 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" = 360 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (360, 803) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 360) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:40.947000', 'Oils', '2012-09-25 13:28:40.947000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 436 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 13:28:40.955000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 436, '2012-09-25 13:28:40.955000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (360, 805) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 360) 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" = 434 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" = 803 AND "spree_taxons"."taxonomy_id" = 434 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" = 803 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 13:28:40.973000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 803, 'paintings/nature', 0, 8, 434, '2012-09-25 13:28:40.973000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 803 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 806 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 = 806 THEN 803 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 803 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 806 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 806 AND "spree_taxons"."taxonomy_id" = 434 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" = 806 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 13:28:40.990000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 806, 'paintings/nature/seascape', 0, 10, 434, '2012-09-25 13:28:40.990000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 806 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 807 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 = 807 THEN 806 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 806 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 807 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (360, 806)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (360, 807) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 360) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 360 AND "spree_option_types"."id" = 217 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" = 360) ORDER BY position 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 13:28:41.013000', 217, 1, 360, '2012-09-25 13:28:41.013000') 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" = 217 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.022000' WHERE "spree_products"."id" = 360 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 360, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.025000' WHERE "spree_products"."id" = 360  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1086, 339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("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" != 360) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 360 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 217 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 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" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.045000' WHERE "spree_products"."id" = 360 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 360, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.048000' WHERE "spree_products"."id" = 360  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1087, 340) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("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" != 360) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 360 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 217 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.082000' WHERE "spree_products"."id" = 360 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 360, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.085000' WHERE "spree_products"."id" = 360  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1088, 341) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("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" != 360) 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" != 360) 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" != 360) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 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" = 360 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" = 360 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" = 1086 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1087 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1088 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" != 360) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.116000' WHERE "spree_products"."id" = 360  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1086 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.118000' WHERE "spree_products"."id" = 360 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.122000' WHERE "spree_products"."id" = 360  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1087 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.125000' WHERE "spree_products"."id" = 360 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 360 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.128000' WHERE "spree_products"."id" = 360  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1088 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.131000' WHERE "spree_products"."id" = 360 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 360) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 360 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 13:28:41.136000' WHERE "spree_products"."id" = 360 Row org.apache.poi.hssf.usermodel.HSSFRow@1a3b481 succesfully SAVED : ID 360 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:41.155000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:41.155000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.164000' WHERE "spree_products"."id" = 361 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, 361, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.167000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1089 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.172000' WHERE "spree_products"."id" = 361  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 361  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:41.184000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:41.184000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:41.186000', NULL, 263, '2012-09-25 13:28:41.186000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 361, "updated_at" = '2012-09-25 13:28:41.188000' WHERE "spree_product_properties"."id" = 313 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" != 361) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:41.194000', NULL, 262, '2012-09-25 13:28:41.194000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 361, "updated_at" = '2012-09-25 13:28:41.196000' WHERE "spree_product_properties"."id" = 314 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" != 361) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:41.202000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:41.202000') Created New Property # SQL (2.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:41.204000', NULL, 264, '2012-09-25 13:28:41.204000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 361, "updated_at" = '2012-09-25 13:28:41.212000' WHERE "spree_product_properties"."id" = 315 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" != 361) 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 13:28:41.217000', 'Drawings', '2012-09-25 13:28:41.217000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 437 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 13:28:41.223000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 437, '2012-09-25 13:28:41.223000') 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" = 361 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (361, 808) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 361) 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" = 434 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" = 803 AND "spree_taxons"."taxonomy_id" = 434 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" = 803 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 13:28:41.239000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 803, 'paintings/landscape', 0, 14, 434, '2012-09-25 13:28:41.239000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 803 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 809 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 12 THEN "lft" + 14 - 12 WHEN "lft" BETWEEN 13 AND 14 THEN "lft" + 6 - 13 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 12 THEN "rgt" + 14 - 12 WHEN "rgt" BETWEEN 13 AND 14 THEN "rgt" + 6 - 13 ELSE "rgt" END, "parent_id" = CASE WHEN id = 809 THEN 803 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 803 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 809 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (361, 809)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (361, 803) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 361) 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" != 361) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 361 AND "spree_option_types"."id" = 217 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" = 361) ORDER BY position 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 13:28:41.262000', 217, 1, 361, '2012-09-25 13:28:41.262000') 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" = 217 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.268000' WHERE "spree_products"."id" = 361 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 361, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.271000' WHERE "spree_products"."id" = 361  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1090, 339) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 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" != 361) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 361 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 217 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.286000' WHERE "spree_products"."id" = 361 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 361, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.289000' WHERE "spree_products"."id" = 361  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1091, 340) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("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" != 361) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 361 AND "spree_option_types"."id" = 217 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 217 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.305000' WHERE "spree_products"."id" = 361 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 361, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.308000' WHERE "spree_products"."id" = 361  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1092, 341) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("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" != 361) 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 13:28:41.318000', 'print_type', 0, 'Print type', '2012-09-25 13:28:41.318000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 361 AND "spree_option_types"."id" = 218 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" = 361) ORDER BY position 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 13:28:41.337000', 218, 2, 361, '2012-09-25 13:28:41.337000') Spree::OptionValue Load (29.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 218 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 218) ORDER 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 13:28:41.373000', 'black_white', 218, 1, NULL, '2012-09-25 13:28:41.373000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.379000' WHERE "spree_products"."id" = 361 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 361, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.382000' WHERE "spree_products"."id" = 361  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1093, 342) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("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" != 361) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 361 AND "spree_option_types"."id" = 218 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 218 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 218) ORDER 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 13:28:41.395000', 'colour', 218, 2, NULL, '2012-09-25 13:28:41.395000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.401000' WHERE "spree_products"."id" = 361 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 361, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.404000' WHERE "spree_products"."id" = 361  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1094, 343) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("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" != 361) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 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" = 361 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" = 361 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" = 1090 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) 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.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1092 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1093 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" = 1094 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" != 361) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.443000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1090 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.445000' WHERE "spree_products"."id" = 361 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.448000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1091 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.450000' WHERE "spree_products"."id" = 361 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.452000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1092 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.453000' WHERE "spree_products"."id" = 361 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.456000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1093 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.457000' WHERE "spree_products"."id" = 361 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 361 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.460000' WHERE "spree_products"."id" = 361  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1094 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:41.462000' WHERE "spree_products"."id" = 361 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 361) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 361 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 13:28:41.467000' WHERE "spree_products"."id" = 361 Row org.apache.poi.hssf.usermodel.HSSFRow@1a32517 succesfully SAVED : ID 361 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 359 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 361 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 361 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (30.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (29.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:42.043000', 'Paintings', '2012-09-25 13:28:42.043000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 438 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 13:28:42.055000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 438, '2012-09-25 13:28:42.055000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:42.070000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 438, '2012-09-25 13:28:42.070000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:28:42.102000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:42.102000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.106000' WHERE "spree_products"."id" = 362 SQL (0.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, 362, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.136000' WHERE "spree_products"."id" = 362  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1095 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.143000' WHERE "spree_products"."id" = 362  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 362  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 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 13:28:42.157000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:28:42.157000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:42.161000', NULL, 265, '2012-09-25 13:28:42.161000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 362, "updated_at" = '2012-09-25 13:28:42.163000' WHERE "spree_product_properties"."id" = 316 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" != 362) 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" = 438 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" = 362 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (362, 810) 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 13:28:42.179000', 'WaterColour', '2012-09-25 13:28:42.179000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 439 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 13:28:42.220000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 439, '2012-09-25 13:28:42.220000') Product assigned to Taxons : ["WaterColour"]  (3.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (362, 812) 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" != 362) 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" != 362) 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 13:28:42.242000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:42.242000') 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" = 362 AND "spree_option_types"."id" = 219 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" = 362) ORDER BY position 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 13:28:42.258000', 219, 1, 362, '2012-09-25 13:28:42.258000') 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" = 219 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 219) ORDER 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 13:28:42.296000', 'jpeg', 219, 1, NULL, '2012-09-25 13:28:42.296000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.303000' WHERE "spree_products"."id" = 362 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 362, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.306000' WHERE "spree_products"."id" = 362  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1096, 344) 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" = 219 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 219) ORDER 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 13:28:42.311000', 'PDF', 219, 2, NULL, '2012-09-25 13:28:42.311000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.316000' WHERE "spree_products"."id" = 362 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 362, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.321000' WHERE "spree_products"."id" = 362  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1097, 345) 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" = 219 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 219) ORDER 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 13:28:42.326000', 'PNG', 219, 3, NULL, '2012-09-25 13:28:42.326000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.338000' WHERE "spree_products"."id" = 362 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 362, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.342000' WHERE "spree_products"."id" = 362  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1098, 346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("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" != 362) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 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" = 362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 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" = 1096 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1097 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1098 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" != 362) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.367000' WHERE "spree_products"."id" = 362  (4.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1096 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.400000' WHERE "spree_products"."id" = 362 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.408000' WHERE "spree_products"."id" = 362  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1097 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.409000' WHERE "spree_products"."id" = 362 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 362 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.412000' WHERE "spree_products"."id" = 362  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1098 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.416000' WHERE "spree_products"."id" = 362 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 362) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 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 13:28:42.421000' WHERE "spree_products"."id" = 362 Row org.apache.poi.hssf.usermodel.HSSFRow@4e3bb0 succesfully SAVED : ID 362 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:42.441000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:42.441000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.446000' WHERE "spree_products"."id" = 363 SQL (0.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, 363, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.453000' WHERE "spree_products"."id" = 363  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1099 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.458000' WHERE "spree_products"."id" = 363  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 363  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 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 13:28:42.465000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:42.465000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:42.474000', NULL, 266, '2012-09-25 13:28:42.474000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 363, "updated_at" = '2012-09-25 13:28:42.477000' WHERE "spree_product_properties"."id" = 317 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" != 363) 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" = 438 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" = 363 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (363, 810) 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 13:28:42.486000', 'Oils', '2012-09-25 13:28:42.486000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 440 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 13:28:42.494000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 440, '2012-09-25 13:28:42.494000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (363, 813) 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" = 438 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" = 810 AND "spree_taxons"."taxonomy_id" = 438 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" = 810 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 13:28:42.513000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 810, 'paintings/nature', 0, 10, 438, '2012-09-25 13:28:42.513000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 810 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 814 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 814 THEN 810 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 810 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 814 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 814 AND "spree_taxons"."taxonomy_id" = 438 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" = 814 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 13:28:42.539000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 814, 'paintings/nature/seascape', 0, 12, 438, '2012-09-25 13:28:42.539000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 814 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 815 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 815 THEN 814 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 814 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 815 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (363, 814)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (363, 815) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 363) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 363 AND "spree_option_types"."id" = 219 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" = 363) ORDER BY position 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 13:28:42.561000', 219, 1, 363, '2012-09-25 13:28:42.561000') 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" = 219 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.566000' WHERE "spree_products"."id" = 363 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, 363, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.568000' WHERE "spree_products"."id" = 363  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1100, 344) 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" = 219 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.579000' WHERE "spree_products"."id" = 363 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 363, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.580000' WHERE "spree_products"."id" = 363  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1101, 345) 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" = 219 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.586000' WHERE "spree_products"."id" = 363 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 363, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.588000' WHERE "spree_products"."id" = 363  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1102, 346) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 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" != 363) 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" != 363) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 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" = 363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 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" = 1100 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1101 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1102 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" != 363) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.671000' WHERE "spree_products"."id" = 363  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1100 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.673000' WHERE "spree_products"."id" = 363 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.675000' WHERE "spree_products"."id" = 363  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1101 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.677000' WHERE "spree_products"."id" = 363 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 363 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.679000' WHERE "spree_products"."id" = 363  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1102 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.681000' WHERE "spree_products"."id" = 363 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 363) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 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 13:28:42.686000' WHERE "spree_products"."id" = 363 Row org.apache.poi.hssf.usermodel.HSSFRow@14da3 succesfully SAVED : ID 363 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:42.697000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:42.697000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.707000' WHERE "spree_products"."id" = 364 SQL (0.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, 364, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.710000' WHERE "spree_products"."id" = 364  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1103 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.713000' WHERE "spree_products"."id" = 364  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 364  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:42.724000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:42.724000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:42.727000', NULL, 267, '2012-09-25 13:28:42.727000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 364, "updated_at" = '2012-09-25 13:28:42.731000' WHERE "spree_product_properties"."id" = 318 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 13:28:42.748000', NULL, 266, '2012-09-25 13:28:42.748000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 364, "updated_at" = '2012-09-25 13:28:42.750000' WHERE "spree_product_properties"."id" = 319 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 13:28:42.760000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:42.760000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:42.763000', NULL, 268, '2012-09-25 13:28:42.763000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 364, "updated_at" = '2012-09-25 13:28:42.765000' WHERE "spree_product_properties"."id" = 320 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" != 364) 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 13:28:42.770000', 'Drawings', '2012-09-25 13:28:42.770000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 441 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 13:28:42.774000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 441, '2012-09-25 13:28:42.774000') 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" = 364 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (364, 816) 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" = 438 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" = 810 AND "spree_taxons"."taxonomy_id" = 438 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" = 810 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 13:28:42.791000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 810, 'paintings/landscape', 0, 16, 438, '2012-09-25 13:28:42.791000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 810 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 817 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 817 THEN 810 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 810 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 817 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (364, 817)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (364, 810) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 364) 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" != 364) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 364 AND "spree_option_types"."id" = 219 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" = 364) ORDER BY position 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 13:28:42.815000', 219, 1, 364, '2012-09-25 13:28:42.815000') 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" = 219 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.821000' WHERE "spree_products"."id" = 364 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 364, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.827000' WHERE "spree_products"."id" = 364  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1104, 344) 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" = 219 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.835000' WHERE "spree_products"."id" = 364 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 364, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.837000' WHERE "spree_products"."id" = 364  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1105, 345) 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" = 219 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.843000' WHERE "spree_products"."id" = 364 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 364, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.845000' WHERE "spree_products"."id" = 364  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1106, 346) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 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 13:28:42.851000', 'print_type', 0, 'Print type', '2012-09-25 13:28:42.851000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 364 AND "spree_option_types"."id" = 220 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" = 364) ORDER BY position 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 13:28:42.910000', 220, 2, 364, '2012-09-25 13:28:42.910000') 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" = 220 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 220) 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 13:28:42.915000', 'black_white', 220, 1, NULL, '2012-09-25 13:28:42.915000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 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" = 364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.933000' WHERE "spree_products"."id" = 364 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 364, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.935000' WHERE "spree_products"."id" = 364  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1107, 347) 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" = 220 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 220) ORDER 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 13:28:42.940000', 'colour', 220, 2, NULL, '2012-09-25 13:28:42.940000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.948000' WHERE "spree_products"."id" = 364 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 364, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.953000' WHERE "spree_products"."id" = 364  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1108, 348) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("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" != 364) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 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" = 364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 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" = 1104 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1105 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1106 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1107 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1108 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" != 364) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.991000' WHERE "spree_products"."id" = 364  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1104 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.993000' WHERE "spree_products"."id" = 364 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.995000' WHERE "spree_products"."id" = 364  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1105 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.997000' WHERE "spree_products"."id" = 364 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:42.999000' WHERE "spree_products"."id" = 364  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1106 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.001000' WHERE "spree_products"."id" = 364 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.003000' WHERE "spree_products"."id" = 364  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1107 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.005000' WHERE "spree_products"."id" = 364 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 364 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.011000' WHERE "spree_products"."id" = 364  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1108 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.013000' WHERE "spree_products"."id" = 364 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" != 364) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 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 13:28:43.025000' WHERE "spree_products"."id" = 364 Row org.apache.poi.hssf.usermodel.HSSFRow@1488a3a succesfully SAVED : ID 364 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  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 363 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 364 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 362 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 362 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1096 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1097 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 219 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1098 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:43.241000', 'Paintings', '2012-09-25 13:28:43.241000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 442 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 13:28:43.250000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 442, '2012-09-25 13:28:43.250000')  (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 13:28:43.259000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 442, '2012-09-25 13:28:43.259000')  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:28:43.292000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:43.292000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.323000' WHERE "spree_products"."id" = 365 SQL (0.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, 365, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.326000' WHERE "spree_products"."id" = 365  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1109 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.331000' WHERE "spree_products"."id" = 365  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 365  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 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 13:28:43.339000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:28:43.339000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:43.342000', NULL, 269, '2012-09-25 13:28:43.342000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 365, "updated_at" = '2012-09-25 13:28:43.345000' WHERE "spree_product_properties"."id" = 321 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" != 365) 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" != 365) 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" != 365) 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" = 442 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" = 365 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (365, 818) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 365) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:43.358000', 'WaterColour', '2012-09-25 13:28:43.358000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 443 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 13:28:43.381000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 443, '2012-09-25 13:28:43.381000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (365, 820) 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" != 365) LIMIT 1 Spree::Product Exists (3.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 365) LIMIT 1 Spree::OptionType Load (0.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 13:28:43.445000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:43.445000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 365 AND "spree_option_types"."id" = 221 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" = 365) 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 13:28:43.472000', 221, 1, 365, '2012-09-25 13:28:43.472000') 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" = 221 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 221) ORDER 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 13:28:43.482000', 'jpeg', 221, 1, NULL, '2012-09-25 13:28:43.482000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.514000' WHERE "spree_products"."id" = 365 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 365, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.516000' WHERE "spree_products"."id" = 365  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1110, 349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("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" != 365) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 365 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 221 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 221) 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 13:28:43.531000', 'PDF', 221, 2, NULL, '2012-09-25 13:28:43.531000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.536000' WHERE "spree_products"."id" = 365 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 365, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.538000' WHERE "spree_products"."id" = 365  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1111, 350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("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" != 365) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 365 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 221 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 221) ORDER 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 13:28:43.552000', 'PNG', 221, 3, NULL, '2012-09-25 13:28:43.552000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.560000' WHERE "spree_products"."id" = 365 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 365, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.562000' WHERE "spree_products"."id" = 365  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1112, 351) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("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" != 365) 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" != 365) 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" != 365) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 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" = 365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 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" = 1110 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1111 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1112 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" != 365) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 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" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.594000' WHERE "spree_products"."id" = 365  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1110 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.596000' WHERE "spree_products"."id" = 365 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.599000' WHERE "spree_products"."id" = 365  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1111 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.601000' WHERE "spree_products"."id" = 365 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 365 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.602000' WHERE "spree_products"."id" = 365  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1112 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.604000' WHERE "spree_products"."id" = 365 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 365) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 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 13:28:43.608000' WHERE "spree_products"."id" = 365 Row org.apache.poi.hssf.usermodel.HSSFRow@1e267de succesfully SAVED : ID 365 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:43.618000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:43.618000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.621000' WHERE "spree_products"."id" = 366 SQL (0.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, 366, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.624000' WHERE "spree_products"."id" = 366  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1113 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.627000' WHERE "spree_products"."id" = 366  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 366  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 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 13:28:43.634000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:43.634000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:43.636000', NULL, 270, '2012-09-25 13:28:43.636000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 366, "updated_at" = '2012-09-25 13:28:43.638000' WHERE "spree_product_properties"."id" = 322 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" != 366) 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" != 366) 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" != 366) 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" = 442 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" = 366 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (366, 818) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 366) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:43.656000', 'Oils', '2012-09-25 13:28:43.656000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 444 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 13:28:43.660000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 444, '2012-09-25 13:28:43.660000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (366, 821) Spree::Product Exists (2.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 366) 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" = 442 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" = 818 AND "spree_taxons"."taxonomy_id" = 442 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" = 818 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 13:28:43.674000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 818, 'paintings/nature', 0, 10, 442, '2012-09-25 13:28:43.674000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 818 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 822 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 822 THEN 818 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 818 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 822 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 822 AND "spree_taxons"."taxonomy_id" = 442 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" = 822 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 13:28:43.705000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 822, 'paintings/nature/seascape', 0, 12, 442, '2012-09-25 13:28:43.705000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 822 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 823 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 823 THEN 822 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 822 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 823 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (366, 822)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (366, 823) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 366) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 366 AND "spree_option_types"."id" = 221 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" = 366) ORDER BY position 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 13:28:43.725000', 221, 1, 366, '2012-09-25 13:28:43.725000') 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" = 221 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.734000' WHERE "spree_products"."id" = 366 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 366, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.735000' WHERE "spree_products"."id" = 366  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1114, 349) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("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" != 366) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 366 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 221 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.747000' WHERE "spree_products"."id" = 366 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 366, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.749000' WHERE "spree_products"."id" = 366  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1115, 350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("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" != 366) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 366 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 221 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.765000' WHERE "spree_products"."id" = 366 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 366, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.768000' WHERE "spree_products"."id" = 366  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1116, 351) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("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" != 366) 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" != 366) 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" != 366) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 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" = 366 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 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" = 1114 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1115 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" = 1116 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" != 366) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 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" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.797000' WHERE "spree_products"."id" = 366  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1114 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.801000' WHERE "spree_products"."id" = 366 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.803000' WHERE "spree_products"."id" = 366  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1115 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.805000' WHERE "spree_products"."id" = 366 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 366 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.808000' WHERE "spree_products"."id" = 366  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1116 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.810000' WHERE "spree_products"."id" = 366 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 366) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 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 13:28:43.816000' WHERE "spree_products"."id" = 366 Row org.apache.poi.hssf.usermodel.HSSFRow@1b3815e succesfully SAVED : ID 366 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:43.827000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:43.827000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.832000' WHERE "spree_products"."id" = 367 SQL (0.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, 367, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.834000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1117 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.836000' WHERE "spree_products"."id" = 367  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 367  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:43.843000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:43.843000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:43.853000', NULL, 271, '2012-09-25 13:28:43.853000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 367, "updated_at" = '2012-09-25 13:28:43.856000' WHERE "spree_product_properties"."id" = 323 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" != 367) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:43.861000', NULL, 270, '2012-09-25 13:28:43.861000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 367, "updated_at" = '2012-09-25 13:28:43.862000' WHERE "spree_product_properties"."id" = 324 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" != 367) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:43.868000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:43.868000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:43.870000', NULL, 272, '2012-09-25 13:28:43.870000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 367, "updated_at" = '2012-09-25 13:28:43.875000' WHERE "spree_product_properties"."id" = 325 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" != 367) 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 13:28:43.882000', 'Drawings', '2012-09-25 13:28:43.882000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 445 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 13:28:43.887000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 445, '2012-09-25 13:28:43.887000') 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" = 367 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (367, 824) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 367) 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" = 442 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" = 818 AND "spree_taxons"."taxonomy_id" = 442 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 818 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:43.900000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 818, 'paintings/landscape', 0, 16, 442, '2012-09-25 13:28:43.900000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 818 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 825 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 825 THEN 818 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 818 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 825 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (367, 825)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (367, 818) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 367) 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" != 367) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 367 AND "spree_option_types"."id" = 221 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" = 367) ORDER BY position 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 13:28:43.922000', 221, 1, 367, '2012-09-25 13:28:43.922000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 221 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.929000' WHERE "spree_products"."id" = 367 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 367, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.931000' WHERE "spree_products"."id" = 367  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1118, 349) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 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" != 367) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 367 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 221 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.948000' WHERE "spree_products"."id" = 367 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 367, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.950000' WHERE "spree_products"."id" = 367  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1119, 350) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("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" != 367) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 367 AND "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 221 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.964000' WHERE "spree_products"."id" = 367 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 367, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:43.966000' WHERE "spree_products"."id" = 367  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1120, 351) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 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" != 367) 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 13:28:43.975000', 'print_type', 0, 'Print type', '2012-09-25 13:28:43.975000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 367 AND "spree_option_types"."id" = 222 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" = 367) ORDER BY position DESC LIMIT 1 SQL (27.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 13:28:43.995000', 222, 2, 367, '2012-09-25 13:28:43.995000') 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" = 222 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 222) ORDER 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 13:28:44.027000', 'black_white', 222, 1, NULL, '2012-09-25 13:28:44.027000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.036000' WHERE "spree_products"."id" = 367 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 367, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.040000' WHERE "spree_products"."id" = 367  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1121, 352) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("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" != 367) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 367 AND "spree_option_types"."id" = 222 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 222 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 222) ORDER 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 13:28:44.057000', 'colour', 222, 2, NULL, '2012-09-25 13:28:44.057000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.072000' WHERE "spree_products"."id" = 367 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 367, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.074000' WHERE "spree_products"."id" = 367  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1122, 353) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("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" != 367) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 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" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 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" = 1118 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1119 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1120 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1121 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1122 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" != 367) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.120000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1118 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.122000' WHERE "spree_products"."id" = 367 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.124000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1119 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.125000' WHERE "spree_products"."id" = 367 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.130000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1120 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.133000' WHERE "spree_products"."id" = 367 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.135000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1121 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.137000' WHERE "spree_products"."id" = 367 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 367 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.139000' WHERE "spree_products"."id" = 367  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1122 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.141000' WHERE "spree_products"."id" = 367 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 367) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 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 13:28:44.145000' WHERE "spree_products"."id" = 367 Row org.apache.poi.hssf.usermodel.HSSFRow@1a69774 succesfully SAVED : ID 367 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 366 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 367 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 365 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 365 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1110 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1111 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 221 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1112 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:44.398000', 'Paintings', '2012-09-25 13:28:44.398000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 446 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 13:28:44.404000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 446, '2012-09-25 13:28:44.404000')  (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 13:28:44.414000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 446, '2012-09-25 13:28:44.414000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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 13:28:44.464000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:44.464000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.468000' WHERE "spree_products"."id" = 368 SQL (0.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, 368, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.470000' WHERE "spree_products"."id" = 368  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1123 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.502000' WHERE "spree_products"."id" = 368  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 368  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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 13:28:44.512000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:28:44.512000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:44.518000', NULL, 273, '2012-09-25 13:28:44.518000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 368, "updated_at" = '2012-09-25 13:28:44.520000' WHERE "spree_product_properties"."id" = 326 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 368) 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" = 446 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 368 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (368, 826) 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" != 368) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:44.542000', 'WaterColour', '2012-09-25 13:28:44.542000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 447 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 13:28:44.546000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 447, '2012-09-25 13:28:44.546000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (368, 828) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 368) LIMIT 1 Spree::OptionType Load (0.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 13:28:44.560000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:44.560000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 368 AND "spree_option_types"."id" = 223 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" = 368) ORDER BY position 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 13:28:44.568000', 223, 1, 368, '2012-09-25 13:28:44.568000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 223 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 223) 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 13:28:44.572000', 'jpeg', 223, 1, NULL, '2012-09-25 13:28:44.572000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.576000' WHERE "spree_products"."id" = 368 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 368, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.578000' WHERE "spree_products"."id" = 368  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1124, 354) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" != 368) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 368 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 223 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 223) ORDER 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 13:28:44.615000', 'PDF', 223, 2, NULL, '2012-09-25 13:28:44.615000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.621000' WHERE "spree_products"."id" = 368 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, 368, 'DEMO_001_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.623000' WHERE "spree_products"."id" = 368  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1125, 355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("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" != 368) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 368 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 223 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 223) ORDER 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 13:28:44.637000', 'PNG', 223, 3, NULL, '2012-09-25 13:28:44.637000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.642000' WHERE "spree_products"."id" = 368 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 368, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.645000' WHERE "spree_products"."id" = 368  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1126, 356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("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" != 368) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" = 368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" = 1124 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1125 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1126 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" != 368) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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" = 368 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.682000' WHERE "spree_products"."id" = 368  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1124 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.684000' WHERE "spree_products"."id" = 368 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.685000' WHERE "spree_products"."id" = 368  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1125 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.688000' WHERE "spree_products"."id" = 368 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 368 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.690000' WHERE "spree_products"."id" = 368  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1126 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.691000' WHERE "spree_products"."id" = 368 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 368) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 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 13:28:44.696000' WHERE "spree_products"."id" = 368 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:44.706000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:44.706000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.710000' WHERE "spree_products"."id" = 369 SQL (0.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, 369, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.712000' WHERE "spree_products"."id" = 369  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1127 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.715000' WHERE "spree_products"."id" = 369  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 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" = 369 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 369  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 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 13:28:44.730000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:44.730000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:44.733000', NULL, 274, '2012-09-25 13:28:44.733000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 369, "updated_at" = '2012-09-25 13:28:44.736000' WHERE "spree_product_properties"."id" = 327 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 369) 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" = 446 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" = 369 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (369, 826) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 369) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:44.753000', 'Oils', '2012-09-25 13:28:44.753000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 448 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 13:28:44.757000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 448, '2012-09-25 13:28:44.757000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (369, 829) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 369) 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" = 446 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" = 826 AND "spree_taxons"."taxonomy_id" = 446 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 826 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:44.767000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 826, 'paintings/nature', 0, 10, 446, '2012-09-25 13:28:44.767000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 826 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 830 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 830 THEN 826 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 826 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 830 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 830 AND "spree_taxons"."taxonomy_id" = 446 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" = 830 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 13:28:44.779000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 830, 'paintings/nature/seascape', 0, 12, 446, '2012-09-25 13:28:44.779000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 830 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 831 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 831 THEN 830 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 830 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 831 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (369, 830)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (369, 831) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 369) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 369 AND "spree_option_types"."id" = 223 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" = 369) ORDER BY position 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 13:28:44.798000', 223, 1, 369, '2012-09-25 13:28:44.798000') 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" = 223 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.802000' WHERE "spree_products"."id" = 369 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 369, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.804000' WHERE "spree_products"."id" = 369  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1128, 354) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("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" != 369) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 369 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 223 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.816000' WHERE "spree_products"."id" = 369 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 369, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.818000' WHERE "spree_products"."id" = 369  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1129, 355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 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" != 369) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 369 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 223 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.831000' WHERE "spree_products"."id" = 369 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, 369, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.833000' WHERE "spree_products"."id" = 369  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1130, 356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("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" != 369) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 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" = 369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 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" = 1128 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1129 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1130 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" != 369) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.869000' WHERE "spree_products"."id" = 369  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1128 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.870000' WHERE "spree_products"."id" = 369 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.872000' WHERE "spree_products"."id" = 369  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1129 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.873000' WHERE "spree_products"."id" = 369 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 369 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.875000' WHERE "spree_products"."id" = 369  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1130 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.877000' WHERE "spree_products"."id" = 369 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 369) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:28:44.885000' WHERE "spree_products"."id" = 369 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:44.893000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:44.893000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.896000' WHERE "spree_products"."id" = 370 SQL (0.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, 370, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.898000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1131 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:44.903000' WHERE "spree_products"."id" = 370  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 370  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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 (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:44.909000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:44.909000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:44.912000', NULL, 275, '2012-09-25 13:28:44.912000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 370, "updated_at" = '2012-09-25 13:28:44.914000' WHERE "spree_product_properties"."id" = 328 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" != 370) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:44.919000', NULL, 274, '2012-09-25 13:28:44.919000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 370, "updated_at" = '2012-09-25 13:28:44.921000' WHERE "spree_product_properties"."id" = 329 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" != 370) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:44.924000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:44.924000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:44.927000', NULL, 276, '2012-09-25 13:28:44.927000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 370, "updated_at" = '2012-09-25 13:28:44.942000' WHERE "spree_product_properties"."id" = 330 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" != 370) LIMIT 1 Spree::Taxonomy Load (1.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 13:28:44.947000', 'Drawings', '2012-09-25 13:28:44.947000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 449 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 13:28:44.953000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 449, '2012-09-25 13:28:44.953000') 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" = 370 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (370, 832) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 370) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (18.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 446 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" = 826 AND "spree_taxons"."taxonomy_id" = 446 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" = 826 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 13:28:44.983000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 826, 'paintings/landscape', 0, 16, 446, '2012-09-25 13:28:44.983000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 826 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 833 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 833 THEN 826 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 826 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 833 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (370, 833)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (370, 826) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 370) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 370 AND "spree_option_types"."id" = 223 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" = 370) ORDER BY position 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 13:28:45.009000', 223, 1, 370, '2012-09-25 13:28:45.009000') 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" = 223 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.022000' WHERE "spree_products"."id" = 370 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 370, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.024000' WHERE "spree_products"."id" = 370  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1132, 354) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("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" != 370) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 370 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 223 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.045000' WHERE "spree_products"."id" = 370 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 370, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.047000' WHERE "spree_products"."id" = 370  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1133, 355) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("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" != 370) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 370 AND "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 223 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.059000' WHERE "spree_products"."id" = 370 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, 370, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.061000' WHERE "spree_products"."id" = 370  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1134, 356) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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" != 370) 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 13:28:45.069000', 'print_type', 0, 'Print type', '2012-09-25 13:28:45.069000') 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" = 370 AND "spree_option_types"."id" = 224 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" = 370) ORDER BY position 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 13:28:45.078000', 224, 2, 370, '2012-09-25 13:28:45.078000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 224 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 224) ORDER 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 13:28:45.082000', 'black_white', 224, 1, NULL, '2012-09-25 13:28:45.082000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.087000' WHERE "spree_products"."id" = 370 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 370, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.121000' WHERE "spree_products"."id" = 370  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1135, 357) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("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" != 370) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 370 AND "spree_option_types"."id" = 224 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 224 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 224) ORDER 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 13:28:45.132000', 'colour', 224, 2, NULL, '2012-09-25 13:28:45.132000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.142000' WHERE "spree_products"."id" = 370 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 370, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.145000' WHERE "spree_products"."id" = 370  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1136, 358) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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" != 370) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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" = 1132 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1133 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1134 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1135 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1136 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" != 370) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.171000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1132 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.173000' WHERE "spree_products"."id" = 370 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.175000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1133 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.177000' WHERE "spree_products"."id" = 370 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.178000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1134 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.180000' WHERE "spree_products"."id" = 370 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.182000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1135 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.184000' WHERE "spree_products"."id" = 370 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 370 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.186000' WHERE "spree_products"."id" = 370  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1136 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.188000' WHERE "spree_products"."id" = 370 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 370) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 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 13:28:45.192000' WHERE "spree_products"."id" = 370  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 369 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 370 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 368 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 368 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1124 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1125 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 223 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1126 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (29.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:45.287000', 'Paintings', '2012-09-25 13:28:45.287000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 450 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:45.292000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 450, '2012-09-25 13:28:45.292000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:28:45.301000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 450, '2012-09-25 13:28:45.301000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:28:45.324000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:45.324000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.328000' WHERE "spree_products"."id" = 371 SQL (0.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, 371, 'MV_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.330000' WHERE "spree_products"."id" = 371  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1137 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.332000' WHERE "spree_products"."id" = 371  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 371  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:28:45.366000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:45.366000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 371 AND "spree_option_types"."id" = 225 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" = 371) ORDER BY position 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 13:28:45.378000', 225, 1, 371, '2012-09-25 13:28:45.378000') 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 13:28:45.384000', 'print_type', 0, 'Print type', '2012-09-25 13:28:45.384000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 371 AND "spree_option_types"."id" = 226 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" = 371) ORDER BY position 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 13:28:45.443000', 226, 2, 371, '2012-09-25 13:28:45.443000') 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" = 225 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 225) ORDER 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 13:28:45.446000', 'jpeg', 225, 1, NULL, '2012-09-25 13:28:45.446000') 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" = 226 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 226) ORDER 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 13:28:45.455000', 'colour', 226, 1, NULL, '2012-09-25 13:28:45.455000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.459000' WHERE "spree_products"."id" = 371 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 371, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.461000' WHERE "spree_products"."id" = 371  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1138, 359)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1138, 360) 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" = 225 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 225) ORDER 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 13:28:45.468000', 'PDF', 225, 2, NULL, '2012-09-25 13:28:45.468000') 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" = 226 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.474000' WHERE "spree_products"."id" = 371 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, 371, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.476000' WHERE "spree_products"."id" = 371  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1139, 361)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1139, 360) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("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" != 371) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 371 AND "spree_option_types"."id" = 225 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 225 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 225) ORDER 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 13:28:45.492000', 'PNG', 225, 3, NULL, '2012-09-25 13:28:45.492000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.497000' WHERE "spree_products"."id" = 371 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 371, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.498000' WHERE "spree_products"."id" = 371  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1140, 362) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("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" != 371) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 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" = 371 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" = 371 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" = 1138 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1139 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1140 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" != 371) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.516000' WHERE "spree_products"."id" = 371  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1138 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.518000' WHERE "spree_products"."id" = 371 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.519000' WHERE "spree_products"."id" = 371  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1139 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.521000' WHERE "spree_products"."id" = 371 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 371 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.523000' WHERE "spree_products"."id" = 371  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1140 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.524000' WHERE "spree_products"."id" = 371 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 371) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 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 13:28:45.542000' WHERE "spree_products"."id" = 371 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:45.554000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:45.554000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.557000' WHERE "spree_products"."id" = 372 SQL (0.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, 372, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.560000' WHERE "spree_products"."id" = 372  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1141 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.563000' WHERE "spree_products"."id" = 372  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 372  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 372 AND "spree_option_types"."id" = 225 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" = 372) ORDER BY position 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 13:28:45.572000', 225, 1, 372, '2012-09-25 13:28:45.572000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 372 AND "spree_option_types"."id" = 226 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" = 372) ORDER BY position 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 13:28:45.583000', 226, 2, 372, '2012-09-25 13:28:45.583000') 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" = 226 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 226) 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 13:28:45.591000', 'black_white', 226, 2, NULL, '2012-09-25 13:28:45.591000') 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" = 225 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.595000' WHERE "spree_products"."id" = 372 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 372, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.598000' WHERE "spree_products"."id" = 372  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1142, 363)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1142, 359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("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" != 372) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 372 AND "spree_option_types"."id" = 225 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 372 AND "spree_option_types"."id" = 226 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 226 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 225 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.620000' WHERE "spree_products"."id" = 372 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 372, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.622000' WHERE "spree_products"."id" = 372  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1143, 363)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1143, 362) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("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" != 372) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 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" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 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" = 1142 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1143 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" != 372) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.640000' WHERE "spree_products"."id" = 372  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1142 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.642000' WHERE "spree_products"."id" = 372 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 372 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.644000' WHERE "spree_products"."id" = 372  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1143 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.646000' WHERE "spree_products"."id" = 372 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 372) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 372 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-25 13:28:45.651000' WHERE "spree_products"."id" = 372 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (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 13:28:45.659000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:45.659000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.663000' WHERE "spree_products"."id" = 373 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, 373, 'MV_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.667000' WHERE "spree_products"."id" = 373  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1144 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.674000' WHERE "spree_products"."id" = 373  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 373  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 373 AND "spree_option_types"."id" = 225 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" = 373) ORDER BY position 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 13:28:45.685000', 225, 1, 373, '2012-09-25 13:28:45.685000') Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 373 AND "spree_option_types"."id" = 226 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" = 373) ORDER BY position 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 13:28:45.691000', 226, 2, 373, '2012-09-25 13:28:45.691000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:28:45.694000', 'size', 0, 'Size', '2012-09-25 13:28:45.694000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 373 AND "spree_option_types"."id" = 227 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" = 373) ORDER BY position 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 13:28:45.699000', 227, 3, 373, '2012-09-25 13:28:45.699000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 226 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 227 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 227) ORDER 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 13:28:45.703000', 'large', 227, 1, NULL, '2012-09-25 13:28:45.703000') 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" = 225 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.708000' WHERE "spree_products"."id" = 373 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 373, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.710000' WHERE "spree_products"."id" = 373  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1145, 360)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1145, 364)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1145, 359) Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 226 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 226) ORDER 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 13:28:45.714000', 'sepia', 226, 3, NULL, '2012-09-25 13:28:45.714000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 227 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 225 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.746000' WHERE "spree_products"."id" = 373 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 373, 'MV_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.748000' WHERE "spree_products"."id" = 373  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1146, 365)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1146, 364)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1146, 359) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 373 AND "spree_option_types"."id" = 225 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 225 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 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" = 373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.761000' WHERE "spree_products"."id" = 373 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 373, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.764000' WHERE "spree_products"."id" = 373  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1147, 362) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("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" != 373) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 373 AND "spree_option_types"."id" = 225 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 225 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.779000' WHERE "spree_products"."id" = 373 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 373, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.782000' WHERE "spree_products"."id" = 373  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1148, 361) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 373 AND "spree_option_types"."id" = 226 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 226 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.793000' WHERE "spree_products"."id" = 373 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 373, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:45.795000' WHERE "spree_products"."id" = 373  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1149, 363) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 373 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("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" != 373) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 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" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 373) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 373 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" = 373 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 371 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 371 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1138 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 14/02/2011 Current value to assign : 399.99 Current value to assign : 320  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:28:46.183000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:46.183000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.187000' WHERE "spree_products"."id" = 374 SQL (0.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, 374, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.191000' WHERE "spree_products"."id" = 374  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1150 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.200000' WHERE "spree_products"."id" = 374  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 374  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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 13:28:46.219000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:28:46.219000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:46.221000', NULL, 277, '2012-09-25 13:28:46.221000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 374, "updated_at" = '2012-09-25 13:28:46.223000' WHERE "spree_product_properties"."id" = 331 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" != 374) 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 13:28:46.230000', 'Paintings', '2012-09-25 13:28:46.230000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 451 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 13:28:46.266000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 451, '2012-09-25 13:28:46.266000') 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" = 374 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (374, 836) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:28:46.276000', 'WaterColour', '2012-09-25 13:28:46.276000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 452 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 13:28:46.280000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 452, '2012-09-25 13:28:46.280000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (374, 837) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 374) LIMIT 1 Spree::OptionType Load (0.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 13:28:46.290000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:46.290000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 374 AND "spree_option_types"."id" = 228 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" = 374) ORDER BY position 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 13:28:46.298000', 228, 1, 374, '2012-09-25 13:28:46.298000') 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" = 228 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 228) ORDER 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 13:28:46.304000', 'jpeg', 228, 1, NULL, '2012-09-25 13:28:46.304000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.308000' WHERE "spree_products"."id" = 374 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, 374, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.336000' WHERE "spree_products"."id" = 374  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1151, 366) 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" = 228 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 228) ORDER 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 13:28:46.341000', 'PDF', 228, 2, NULL, '2012-09-25 13:28:46.341000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.344000' WHERE "spree_products"."id" = 374 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 374, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.346000' WHERE "spree_products"."id" = 374  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1152, 367) 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" = 228 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 228) ORDER 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 13:28:46.350000', 'PNG', 228, 3, NULL, '2012-09-25 13:28:46.350000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.354000' WHERE "spree_products"."id" = 374 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 374, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.356000' WHERE "spree_products"."id" = 374  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1153, 368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 AND ("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" != 374) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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" = 374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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" = 1151 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" = 1152 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1153 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" != 374) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.379000' WHERE "spree_products"."id" = 374  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1151 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.382000' WHERE "spree_products"."id" = 374 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.383000' WHERE "spree_products"."id" = 374  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1152 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.384000' WHERE "spree_products"."id" = 374 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.386000' WHERE "spree_products"."id" = 374  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1153 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:46.388000' WHERE "spree_products"."id" = 374 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 374) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 374 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" = 1150 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1150 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:28:46.472000', 240, 0, 'Spree::Image', 1150, 'Spree::Variant') Product assigned an Image : nil 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" != 374) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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 13:28:47.177000' WHERE "spree_products"."id" = 374 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:28:47.191000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:47.191000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.221000' WHERE "spree_products"."id" = 375 SQL (0.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, 375, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.223000' WHERE "spree_products"."id" = 375  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1154 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.252000' WHERE "spree_products"."id" = 375  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 375  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 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 13:28:47.258000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:47.258000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:47.260000', NULL, 278, '2012-09-25 13:28:47.260000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 375, "updated_at" = '2012-09-25 13:28:47.263000' WHERE "spree_product_properties"."id" = 332 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" != 375) 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" = 451 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" = 375 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (375, 836) 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 13:28:47.270000', 'Landscape', '2012-09-25 13:28:47.270000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 453 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 13:28:47.274000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 453, '2012-09-25 13:28:47.274000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (375, 838) 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 13:28:47.304000', 'Oils', '2012-09-25 13:28:47.304000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 454 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 13:28:47.309000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 454, '2012-09-25 13:28:47.309000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (375, 839) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 375) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 375 AND "spree_option_types"."id" = 228 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" = 375) 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 13:28:47.319000', 228, 1, 375, '2012-09-25 13:28:47.319000') 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" = 228 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.324000' WHERE "spree_products"."id" = 375 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 375, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.326000' WHERE "spree_products"."id" = 375  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1155, 366) 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" = 228 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.330000' WHERE "spree_products"."id" = 375 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 375, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.333000' WHERE "spree_products"."id" = 375  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1156, 367) 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" = 228 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.336000' WHERE "spree_products"."id" = 375 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 375, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.338000' WHERE "spree_products"."id" = 375  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1157, 368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 AND ("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" != 375) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 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" = 375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 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" = 1155 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1156 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1157 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" != 375) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.358000' WHERE "spree_products"."id" = 375  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1155 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.360000' WHERE "spree_products"."id" = 375 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.362000' WHERE "spree_products"."id" = 375  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1156 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.363000' WHERE "spree_products"."id" = 375 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.366000' WHERE "spree_products"."id" = 375  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1157 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:47.367000' WHERE "spree_products"."id" = 375 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 375) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 375 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" = 1154 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1154 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:28:47.431000', 2424, 0, 'Spree::Image', 1154, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 375) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 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 13:28:52.955000' WHERE "spree_products"."id" = 375 Current value 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 13:28:52.964000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:52.964000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:52.967000' WHERE "spree_products"."id" = 376 SQL (0.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, 376, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:52.970000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1158 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:52.972000' WHERE "spree_products"."id" = 376  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 376  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:52.979000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:52.979000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:52.981000', NULL, 279, '2012-09-25 13:28:52.981000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 376, "updated_at" = '2012-09-25 13:28:52.983000' WHERE "spree_product_properties"."id" = 333 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 13:28:52.986000', NULL, 278, '2012-09-25 13:28:52.986000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 376, "updated_at" = '2012-09-25 13:28:52.987000' WHERE "spree_product_properties"."id" = 334 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:52.989000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:52.989000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:52.992000', NULL, 280, '2012-09-25 13:28:52.992000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 376, "updated_at" = '2012-09-25 13:28:52.993000' WHERE "spree_product_properties"."id" = 335 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" != 376) 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 13:28:52.997000', 'Drawings', '2012-09-25 13:28:52.997000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 455 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 13:28:53.002000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 455, '2012-09-25 13:28:53.002000') 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" = 376 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (376, 840) 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" != 376) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 376 AND "spree_option_types"."id" = 228 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" = 376) 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 13:28:53.013000', 228, 1, 376, '2012-09-25 13:28:53.013000') 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" = 228 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.019000' WHERE "spree_products"."id" = 376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 376, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.021000' WHERE "spree_products"."id" = 376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1159, 366) 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" = 228 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.025000' WHERE "spree_products"."id" = 376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 376, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.028000' WHERE "spree_products"."id" = 376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1160, 367) 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" = 228 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.032000' WHERE "spree_products"."id" = 376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 376, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.034000' WHERE "spree_products"."id" = 376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1161, 368) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 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 13:28:53.037000', 'print_type', 0, 'Print type', '2012-09-25 13:28:53.037000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 376 AND "spree_option_types"."id" = 229 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" = 376) 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 13:28:53.042000', 229, 2, 376, '2012-09-25 13:28:53.042000') 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" = 229 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 229) ORDER 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 13:28:53.046000', 'black_white', 229, 1, NULL, '2012-09-25 13:28:53.046000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.052000' WHERE "spree_products"."id" = 376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 376, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.054000' WHERE "spree_products"."id" = 376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1162, 369) 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" = 229 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 229) ORDER 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 13:28:53.057000', 'colour', 229, 2, NULL, '2012-09-25 13:28:53.057000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.061000' WHERE "spree_products"."id" = 376 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 376, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.064000' WHERE "spree_products"."id" = 376  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1163, 370) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("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" != 376) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 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" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 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" = 1159 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1160 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1161 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1162 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1163 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" != 376) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.088000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1159 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.089000' WHERE "spree_products"."id" = 376 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.091000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1160 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.092000' WHERE "spree_products"."id" = 376 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.094000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1161 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.096000' WHERE "spree_products"."id" = 376 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.098000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1162 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.099000' WHERE "spree_products"."id" = 376 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.101000' WHERE "spree_products"."id" = 376  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1163 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:53.103000' WHERE "spree_products"."id" = 376 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 376) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 376 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" = 1158 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1158 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:28:53.112000', 240, 0, 'Spree::Image', 1158, 'Spree::Variant') Product assigned an Image : nil 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" != 376) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 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 13:28:53.782000' WHERE "spree_products"."id" = 376 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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 = 1150) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 374)) Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1150 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position Spree::Product Load (3.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 374 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 = 1150) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 374)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 375 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 = 1154) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 375)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 376 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 = 1158) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 376))  (1.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (27.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:28:54.038000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:28:54.038000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.070000' WHERE "spree_products"."id" = 377 SQL (0.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, 377, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.072000' WHERE "spree_products"."id" = 377  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1164 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.075000' WHERE "spree_products"."id" = 377  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 377  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 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 13:28:54.082000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:28:54.082000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:54.088000', NULL, 281, '2012-09-25 13:28:54.088000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 377, "updated_at" = '2012-09-25 13:28:54.093000' WHERE "spree_product_properties"."id" = 336 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" != 377) 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 13:28:54.096000', 'Paintings', '2012-09-25 13:28:54.096000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 456 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 13:28:54.101000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 456, '2012-09-25 13:28:54.101000') 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" = 377 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (377, 841) 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 13:28:54.108000', 'WaterColour', '2012-09-25 13:28:54.108000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 457 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 13:28:54.111000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 457, '2012-09-25 13:28:54.111000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (377, 842) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 377) 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 13:28:54.118000', 'mime_type', 0, 'Mime type', '2012-09-25 13:28:54.118000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 377 AND "spree_option_types"."id" = 230 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" = 377) ORDER BY position 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 13:28:54.124000', 230, 1, 377, '2012-09-25 13:28:54.124000') 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" = 230 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 230) ORDER 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 13:28:54.127000', 'jpeg', 230, 1, NULL, '2012-09-25 13:28:54.127000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.131000' WHERE "spree_products"."id" = 377 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 377, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.133000' WHERE "spree_products"."id" = 377  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1165, 371) 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" = 230 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 230) ORDER 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 13:28:54.137000', 'PDF', 230, 2, NULL, '2012-09-25 13:28:54.137000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.169000' WHERE "spree_products"."id" = 377 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, 377, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.172000' WHERE "spree_products"."id" = 377  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1166, 372) 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" = 230 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 230) ORDER 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 13:28:54.176000', 'PNG', 230, 3, NULL, '2012-09-25 13:28:54.176000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.180000' WHERE "spree_products"."id" = 377 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 377, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.183000' WHERE "spree_products"."id" = 377  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1167, 373) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 AND ("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" != 377) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 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" = 377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 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" = 1165 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1166 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1167 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" != 377) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.203000' WHERE "spree_products"."id" = 377  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1165 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.205000' WHERE "spree_products"."id" = 377 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.208000' WHERE "spree_products"."id" = 377  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1166 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.209000' WHERE "spree_products"."id" = 377 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.211000' WHERE "spree_products"."id" = 377  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1167 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.214000' WHERE "spree_products"."id" = 377 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 377) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 377 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" = 1164 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1164 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:28:54.221000', 240, 0, 'Spree::Image', 1164, 'Spree::Variant') Product assigned an Image : nil 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" != 377) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 377 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 13:28:54.889000' WHERE "spree_products"."id" = 377 Row org.apache.poi.hssf.usermodel.HSSFRow@138e583 succesfully SAVED : ID 377 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:28:54.900000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:28:54.900000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.904000' WHERE "spree_products"."id" = 378 SQL (0.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, 378, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.934000' WHERE "spree_products"."id" = 378  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1168 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.937000' WHERE "spree_products"."id" = 378  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 378  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 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 13:28:54.943000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:28:54.943000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:54.946000', NULL, 282, '2012-09-25 13:28:54.946000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 378, "updated_at" = '2012-09-25 13:28:54.948000' WHERE "spree_product_properties"."id" = 337 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" != 378) 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" = 456 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" = 378 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (378, 841) 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 13:28:54.955000', 'Landscape', '2012-09-25 13:28:54.955000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 458 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 13:28:54.959000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 458, '2012-09-25 13:28:54.959000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (378, 843) 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 13:28:54.965000', 'Oils', '2012-09-25 13:28:54.965000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 459 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 13:28:54.970000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 459, '2012-09-25 13:28:54.970000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (378, 844) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 378) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 378 AND "spree_option_types"."id" = 230 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" = 378) ORDER BY position 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 13:28:54.981000', 230, 1, 378, '2012-09-25 13:28:54.981000') 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" = 230 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.985000' WHERE "spree_products"."id" = 378 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 378, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.990000' WHERE "spree_products"."id" = 378  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1169, 371) 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" = 230 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.995000' WHERE "spree_products"."id" = 378 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 378, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:54.997000' WHERE "spree_products"."id" = 378  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1170, 372) 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" = 230 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.001000' WHERE "spree_products"."id" = 378 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 378, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.003000' WHERE "spree_products"."id" = 378  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1171, 373) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 AND ("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" != 378) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 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" = 378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 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" = 1169 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1170 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1171 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" != 378) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.020000' WHERE "spree_products"."id" = 378  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1169 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.022000' WHERE "spree_products"."id" = 378 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.024000' WHERE "spree_products"."id" = 378  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1170 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.025000' WHERE "spree_products"."id" = 378 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.027000' WHERE "spree_products"."id" = 378  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1171 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:55.029000' WHERE "spree_products"."id" = 378 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 378) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 378 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" = 1168 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1168 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:28:55.090000', 2424, 0, 'Spree::Image', 1168, 'Spree::Variant') Product assigned an Image : nil 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" != 378) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 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 13:28:58.968000' WHERE "spree_products"."id" = 378 Row org.apache.poi.hssf.usermodel.HSSFRow@623976 succesfully SAVED : ID 378 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:28:58.977000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:28:58.977000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:58.980000' WHERE "spree_products"."id" = 379 SQL (0.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, 379, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:58.983000' WHERE "spree_products"."id" = 379  (5.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1172 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:58.991000' WHERE "spree_products"."id" = 379  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 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" = 379 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 379  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:28:59.004000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:28:59.004000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:59.006000', NULL, 283, '2012-09-25 13:28:59.006000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 379, "updated_at" = '2012-09-25 13:28:59.008000' WHERE "spree_product_properties"."id" = 338 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 13:28:59.011000', NULL, 282, '2012-09-25 13:28:59.011000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 379, "updated_at" = '2012-09-25 13:28:59.013000' WHERE "spree_product_properties"."id" = 339 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 13:28:59.015000', 'yet_another_property', 'Yet another property', '2012-09-25 13:28:59.015000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:28:59.017000', NULL, 284, '2012-09-25 13:28:59.017000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 379, "updated_at" = '2012-09-25 13:28:59.023000' WHERE "spree_product_properties"."id" = 340 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" != 379) 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 13:28:59.028000', 'Drawings', '2012-09-25 13:28:59.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 460 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 13:28:59.036000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 460, '2012-09-25 13:28:59.036000') 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" = 379 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (379, 845) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 379) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 379 AND "spree_option_types"."id" = 230 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" = 379) ORDER BY position 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 13:28:59.071000', 230, 1, 379, '2012-09-25 13:28:59.071000') 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" = 230 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.080000' WHERE "spree_products"."id" = 379 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, 379, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.083000' WHERE "spree_products"."id" = 379  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1173, 371) 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" = 230 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.102000' WHERE "spree_products"."id" = 379 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 379, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.106000' WHERE "spree_products"."id" = 379  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1174, 372) 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" = 230 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.111000' WHERE "spree_products"."id" = 379 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 379, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.113000' WHERE "spree_products"."id" = 379  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1175, 373) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 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 13:28:59.116000', 'print_type', 0, 'Print type', '2012-09-25 13:28:59.116000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 379 AND "spree_option_types"."id" = 231 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" = 379) ORDER BY position 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 13:28:59.124000', 231, 2, 379, '2012-09-25 13:28:59.124000') 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" = 231 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 231) ORDER 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 13:28:59.127000', 'black_white', 231, 1, NULL, '2012-09-25 13:28:59.127000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.133000' WHERE "spree_products"."id" = 379 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 379, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.135000' WHERE "spree_products"."id" = 379  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1176, 374) 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" = 231 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 231) ORDER 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 13:28:59.138000', 'colour', 231, 2, NULL, '2012-09-25 13:28:59.138000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.142000' WHERE "spree_products"."id" = 379 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, 379, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.145000' WHERE "spree_products"."id" = 379  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1177, 375) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("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" != 379) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 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" = 379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 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" = 1173 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" = 1174 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1175 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1176 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1177 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" != 379) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.166000' WHERE "spree_products"."id" = 379  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1173 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.169000' WHERE "spree_products"."id" = 379 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.170000' WHERE "spree_products"."id" = 379  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1174 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.171000' WHERE "spree_products"."id" = 379 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.173000' WHERE "spree_products"."id" = 379  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1175 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.175000' WHERE "spree_products"."id" = 379 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.177000' WHERE "spree_products"."id" = 379  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1176 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.178000' WHERE "spree_products"."id" = 379 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.180000' WHERE "spree_products"."id" = 379  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1177 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:28:59.182000' WHERE "spree_products"."id" = 379 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 379) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 379 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" = 1172 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1172 AND position >= 0) SQL (1.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:28:59.194000', 240, 0, 'Spree::Image', 1172, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 379) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 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 13:28:59.867000' WHERE "spree_products"."id" = 379 Row org.apache.poi.hssf.usermodel.HSSFRow@d88a47 succesfully SAVED : ID 379 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 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" = 377 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 = 1164) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 377)) 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" = 377 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 = 1164) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 377)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 378 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 = 1168) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 378)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 379 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 = 1172) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 379))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (29.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:00.139000', 'Paintings', '2012-09-25 13:29:00.139000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 461 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 13:29:00.146000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 461, '2012-09-25 13:29:00.146000')  (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 13:29:00.153000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 461, '2012-09-25 13:29:00.153000')  (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 13:29:00.159000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 461, '2012-09-25 13:29:00.159000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:00.219000', 'Paintings', '2012-09-25 13:29:00.219000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 462 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 13:29:00.223000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 462, '2012-09-25 13:29:00.223000')  (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 13:29:00.230000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 462, '2012-09-25 13:29:00.230000')  (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 13:29:00.237000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 462, '2012-09-25 13:29:00.237000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 462 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 462 LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 462 LIMIT 1 Booted Spree using version 1.1.3 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:00.383000', 'Paintings', '2012-09-25 13:29:00.383000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 463 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 13:29:00.389000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 463, '2012-09-25 13:29:00.389000')  (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 13:29:00.397000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 463, '2012-09-25 13:29:00.397000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 852, "updated_at" = '2012-09-25 13:29:00.408000' WHERE "spree_taxons"."id" = 853 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 852 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 853 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 853 THEN 852 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 852 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 853 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 852 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:29:00.440000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:29:00.440000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.444000' WHERE "spree_products"."id" = 380 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, 380, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.448000' WHERE "spree_products"."id" = 380  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1178 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.477000' WHERE "spree_products"."id" = 380  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 380  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 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 13:29:00.485000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:29:00.485000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:00.487000', NULL, 285, '2012-09-25 13:29:00.487000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 380, "updated_at" = '2012-09-25 13:29:00.490000' WHERE "spree_product_properties"."id" = 341 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" != 380) 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" = 463 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" = 380 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (380, 852) 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 13:29:00.503000', 'WaterColour', '2012-09-25 13:29:00.503000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 464 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 13:29:00.508000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 464, '2012-09-25 13:29:00.508000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (380, 854) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 380) 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" != 380) LIMIT 1 Spree::OptionType Load (0.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 13:29:00.520000', 'mime_type', 0, 'Mime type', '2012-09-25 13:29:00.520000') 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" = 380 AND "spree_option_types"."id" = 232 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" = 380) 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 13:29:00.532000', 232, 1, 380, '2012-09-25 13:29:00.532000') 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" = 232 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 232) ORDER 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 13:29:00.536000', 'jpeg', 232, 1, NULL, '2012-09-25 13:29:00.536000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.540000' WHERE "spree_products"."id" = 380 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 380, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.542000' WHERE "spree_products"."id" = 380  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1179, 376) 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" = 232 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 232) ORDER 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 13:29:00.576000', 'PDF', 232, 2, NULL, '2012-09-25 13:29:00.576000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.580000' WHERE "spree_products"."id" = 380 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 380, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.582000' WHERE "spree_products"."id" = 380  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1180, 377) 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" = 232 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 232) ORDER 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 13:29:00.586000', 'PNG', 232, 3, NULL, '2012-09-25 13:29:00.586000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.590000' WHERE "spree_products"."id" = 380 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 380, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.593000' WHERE "spree_products"."id" = 380  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1181, 378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 AND ("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" != 380) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 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" = 380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 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" = 1179 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1180 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1181 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" != 380) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.619000' WHERE "spree_products"."id" = 380  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1179 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.621000' WHERE "spree_products"."id" = 380 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.623000' WHERE "spree_products"."id" = 380  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1180 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.624000' WHERE "spree_products"."id" = 380 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.627000' WHERE "spree_products"."id" = 380  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1181 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.630000' WHERE "spree_products"."id" = 380 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 380) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 380 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 13:29:00.637000' WHERE "spree_products"."id" = 380 Row org.apache.poi.hssf.usermodel.HSSFRow@fce23e succesfully SAVED : ID 380 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:29:00.663000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:29:00.663000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.666000' WHERE "spree_products"."id" = 381 SQL (0.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, 381, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.668000' WHERE "spree_products"."id" = 381  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1182 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.671000' WHERE "spree_products"."id" = 381  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 381  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 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 13:29:00.679000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:29:00.679000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:00.682000', NULL, 286, '2012-09-25 13:29:00.682000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 381, "updated_at" = '2012-09-25 13:29:00.684000' WHERE "spree_product_properties"."id" = 342 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" != 381) 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" = 463 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" = 381 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (381, 852) 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 13:29:00.696000', 'Oils', '2012-09-25 13:29:00.696000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 465 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 13:29:00.700000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 465, '2012-09-25 13:29:00.700000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (381, 855) 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" = 463 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" = 852 AND "spree_taxons"."taxonomy_id" = 463 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" = 852 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 13:29:00.710000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 852, 'paintings/nature', 0, 10, 463, '2012-09-25 13:29:00.710000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 852 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 856 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 856 THEN 852 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 852 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 856 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 856 AND "spree_taxons"."taxonomy_id" = 463 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" = 856 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 13:29:00.725000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 856, 'paintings/nature/seascape', 0, 12, 463, '2012-09-25 13:29:00.725000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 856 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 857 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 857 THEN 856 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 856 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 857 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (381, 856)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (381, 857) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 381) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 381 AND "spree_option_types"."id" = 232 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" = 381) ORDER BY position 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 13:29:00.741000', 232, 1, 381, '2012-09-25 13:29:00.741000') 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.746000' WHERE "spree_products"."id" = 381 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 381, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.748000' WHERE "spree_products"."id" = 381  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1183, 376) 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.752000' WHERE "spree_products"."id" = 381 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 381, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.754000' WHERE "spree_products"."id" = 381  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1184, 377) 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.758000' WHERE "spree_products"."id" = 381 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 381, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.760000' WHERE "spree_products"."id" = 381  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1185, 378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 AND ("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" != 381) 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" != 381) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 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" = 381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 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" = 1183 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1184 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1185 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" != 381) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.791000' WHERE "spree_products"."id" = 381  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1183 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.793000' WHERE "spree_products"."id" = 381 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.796000' WHERE "spree_products"."id" = 381  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1184 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.798000' WHERE "spree_products"."id" = 381 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.800000' WHERE "spree_products"."id" = 381  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1185 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.802000' WHERE "spree_products"."id" = 381 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 381) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 381 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 13:29:00.811000' WHERE "spree_products"."id" = 381 Row org.apache.poi.hssf.usermodel.HSSFRow@2cbbb2 succesfully SAVED : ID 381 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:00.821000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:29:00.821000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.825000' WHERE "spree_products"."id" = 382 SQL (0.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, 382, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.827000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1186 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.829000' WHERE "spree_products"."id" = 382  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 382  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:00.838000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:29:00.838000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:00.841000', NULL, 287, '2012-09-25 13:29:00.841000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 382, "updated_at" = '2012-09-25 13:29:00.843000' WHERE "spree_product_properties"."id" = 343 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 13:29:00.849000', NULL, 286, '2012-09-25 13:29:00.849000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 382, "updated_at" = '2012-09-25 13:29:00.851000' WHERE "spree_product_properties"."id" = 344 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:00.855000', 'yet_another_property', 'Yet another property', '2012-09-25 13:29:00.855000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:00.857000', NULL, 288, '2012-09-25 13:29:00.857000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 382, "updated_at" = '2012-09-25 13:29:00.859000' WHERE "spree_product_properties"."id" = 345 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" != 382) 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 13:29:00.862000', 'Drawings', '2012-09-25 13:29:00.862000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 466 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 13:29:00.867000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 466, '2012-09-25 13:29:00.867000') 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" = 382 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (382, 858) 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" = 463 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" = 852 AND "spree_taxons"."taxonomy_id" = 463 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (382, 853)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (382, 852) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 382) 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" != 382) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 382 AND "spree_option_types"."id" = 232 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" = 382) ORDER BY position 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 13:29:00.888000', 232, 1, 382, '2012-09-25 13:29:00.888000') 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.894000' WHERE "spree_products"."id" = 382 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 382, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.896000' WHERE "spree_products"."id" = 382  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1187, 376) 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.901000' WHERE "spree_products"."id" = 382 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 382, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.903000' WHERE "spree_products"."id" = 382  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1188, 377) 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" = 232 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.907000' WHERE "spree_products"."id" = 382 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 382, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.909000' WHERE "spree_products"."id" = 382  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1189, 378) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 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 13:29:00.912000', 'print_type', 0, 'Print type', '2012-09-25 13:29:00.912000') 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" = 382 AND "spree_option_types"."id" = 233 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" = 382) ORDER BY position 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 13:29:00.918000', 233, 2, 382, '2012-09-25 13:29:00.918000') 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" = 233 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 233) ORDER 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 13:29:00.921000', 'black_white', 233, 1, NULL, '2012-09-25 13:29:00.921000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.927000' WHERE "spree_products"."id" = 382 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 382, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.928000' WHERE "spree_products"."id" = 382  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1190, 379) 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" = 233 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 233) 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 13:29:00.932000', 'colour', 233, 2, NULL, '2012-09-25 13:29:00.932000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.960000' WHERE "spree_products"."id" = 382 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 382, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.962000' WHERE "spree_products"."id" = 382  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1191, 380) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("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" != 382) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 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" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 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" = 1187 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1188 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1189 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1190 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1191 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" != 382) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.984000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1187 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.986000' WHERE "spree_products"."id" = 382 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.988000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1188 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.990000' WHERE "spree_products"."id" = 382 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.993000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1189 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.995000' WHERE "spree_products"."id" = 382 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.998000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1190 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:00.999000' WHERE "spree_products"."id" = 382 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 382 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.001000' WHERE "spree_products"."id" = 382  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1191 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.004000' WHERE "spree_products"."id" = 382 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 382) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 382 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 13:29:01.008000' WHERE "spree_products"."id" = 382 Row org.apache.poi.hssf.usermodel.HSSFRow@1ed6045 succesfully SAVED : ID 382 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::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 380 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" = 380 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 381 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" = 381 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" = 463 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 852 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 463 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 856 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 856 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 857 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:01.170000', 'Paintings', '2012-09-25 13:29:01.170000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 467 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 13:29:01.175000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 467, '2012-09-25 13:29:01.175000')  (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 13:29:01.186000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 467, '2012-09-25 13:29:01.186000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 859, "updated_at" = '2012-09-25 13:29:01.193000' WHERE "spree_taxons"."id" = 860 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 859 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 860 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 860 THEN 859 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 859 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 860 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 859 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (27.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 13:29:01.264000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:29:01.264000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.268000' WHERE "spree_products"."id" = 383 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, 383, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.271000' WHERE "spree_products"."id" = 383  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1192 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.274000' WHERE "spree_products"."id" = 383  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 383  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 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 13:29:01.281000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:29:01.281000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:01.284000', NULL, 289, '2012-09-25 13:29:01.284000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 383, "updated_at" = '2012-09-25 13:29:01.286000' WHERE "spree_product_properties"."id" = 346 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" != 383) 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" != 383) 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" != 383) 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" = 467 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" = 383 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (383, 859) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 383) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:01.305000', 'WaterColour', '2012-09-25 13:29:01.305000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 468 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:29:01.309000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 468, '2012-09-25 13:29:01.309000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (383, 861) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 383) 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" != 383) LIMIT 1 Spree::OptionType Load (0.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 13:29:01.317000', 'mime_type', 0, 'Mime type', '2012-09-25 13:29:01.317000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 383 AND "spree_option_types"."id" = 234 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" = 383) ORDER BY position 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 13:29:01.323000', 234, 1, 383, '2012-09-25 13:29:01.323000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 234 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 234) 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 13:29:01.326000', 'jpeg', 234, 1, NULL, '2012-09-25 13:29:01.326000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.331000' WHERE "spree_products"."id" = 383 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 383, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.333000' WHERE "spree_products"."id" = 383  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1193, 381) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 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" != 383) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 383 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 234 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 234) ORDER 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 13:29:01.369000', 'PDF', 234, 2, NULL, '2012-09-25 13:29:01.369000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.374000' WHERE "spree_products"."id" = 383 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 383, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.377000' WHERE "spree_products"."id" = 383  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1194, 382) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("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" != 383) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 383 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 234 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 234) ORDER 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 13:29:01.400000', 'PNG', 234, 3, NULL, '2012-09-25 13:29:01.400000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.407000' WHERE "spree_products"."id" = 383 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 383, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.410000' WHERE "spree_products"."id" = 383  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1195, 383) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("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" != 383) 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" != 383) 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" != 383) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 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" = 383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 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" = 1193 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1194 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1195 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" != 383) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.432000' WHERE "spree_products"."id" = 383  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1193 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.434000' WHERE "spree_products"."id" = 383 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.435000' WHERE "spree_products"."id" = 383  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1194 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.438000' WHERE "spree_products"."id" = 383 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.440000' WHERE "spree_products"."id" = 383  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1195 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.441000' WHERE "spree_products"."id" = 383 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 383) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 383 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 13:29:01.446000' WHERE "spree_products"."id" = 383 Row org.apache.poi.hssf.usermodel.HSSFRow@a4c16b succesfully SAVED : ID 383 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:29:01.468000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:29:01.468000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.478000' WHERE "spree_products"."id" = 384 SQL (0.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, 384, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.480000' WHERE "spree_products"."id" = 384  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1196 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.483000' WHERE "spree_products"."id" = 384  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 384  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 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 13:29:01.491000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:29:01.491000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:01.511000', NULL, 290, '2012-09-25 13:29:01.511000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 384, "updated_at" = '2012-09-25 13:29:01.514000' WHERE "spree_product_properties"."id" = 347 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" != 384) 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" != 384) 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" != 384) 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" = 467 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" = 384 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (384, 859) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 384) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:01.527000', 'Oils', '2012-09-25 13:29:01.527000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 469 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 13:29:01.530000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 469, '2012-09-25 13:29:01.530000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (384, 862) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 384) 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" = 467 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" = 859 AND "spree_taxons"."taxonomy_id" = 467 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" = 859 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 13:29:01.546000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 859, 'paintings/nature', 0, 10, 467, '2012-09-25 13:29:01.546000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 859 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 863 THEN 859 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 859 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 863 AND "spree_taxons"."taxonomy_id" = 467 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 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 13:29:01.559000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 863, 'paintings/nature/seascape', 0, 12, 467, '2012-09-25 13:29:01.559000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 864 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 864 THEN 863 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 864 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (384, 863)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (384, 864) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 384) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 384 AND "spree_option_types"."id" = 234 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" = 384) 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 13:29:01.579000', 234, 1, 384, '2012-09-25 13:29:01.579000') 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" = 234 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.583000' WHERE "spree_products"."id" = 384 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 384, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.585000' WHERE "spree_products"."id" = 384  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1197, 381) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("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" != 384) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 384 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 234 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.603000' WHERE "spree_products"."id" = 384 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, 384, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.605000' WHERE "spree_products"."id" = 384  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1198, 382) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("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" != 384) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 384 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 234 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.617000' WHERE "spree_products"."id" = 384 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 384, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.619000' WHERE "spree_products"."id" = 384  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1199, 383) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("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" != 384) 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" != 384) 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" != 384) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 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" = 384 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" = 384 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" = 1197 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1198 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" = 1199 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" != 384) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.639000' WHERE "spree_products"."id" = 384  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1197 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.640000' WHERE "spree_products"."id" = 384 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.642000' WHERE "spree_products"."id" = 384  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1198 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.644000' WHERE "spree_products"."id" = 384 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.646000' WHERE "spree_products"."id" = 384  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1199 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.648000' WHERE "spree_products"."id" = 384 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 384) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 384 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 13:29:01.651000' WHERE "spree_products"."id" = 384 Row org.apache.poi.hssf.usermodel.HSSFRow@1f7ceaa succesfully SAVED : ID 384 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:01.660000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:29:01.660000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.663000' WHERE "spree_products"."id" = 385 SQL (0.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, 385, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.665000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1200 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.667000' WHERE "spree_products"."id" = 385  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 385  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:01.673000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:29:01.673000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:01.675000', NULL, 291, '2012-09-25 13:29:01.675000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 385, "updated_at" = '2012-09-25 13:29:01.676000' WHERE "spree_product_properties"."id" = 348 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" != 385) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:01.682000', NULL, 290, '2012-09-25 13:29:01.682000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 385, "updated_at" = '2012-09-25 13:29:01.684000' WHERE "spree_product_properties"."id" = 349 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" != 385) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:01.687000', 'yet_another_property', 'Yet another property', '2012-09-25 13:29:01.687000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:01.690000', NULL, 292, '2012-09-25 13:29:01.690000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 385, "updated_at" = '2012-09-25 13:29:01.691000' WHERE "spree_product_properties"."id" = 350 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" != 385) 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 13:29:01.695000', 'Drawings', '2012-09-25 13:29:01.695000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 470 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 13:29:01.698000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 470, '2012-09-25 13:29:01.698000') 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" = 385 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (385, 865) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 385) 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" = 467 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" = 859 AND "spree_taxons"."taxonomy_id" = 467 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (385, 860)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (385, 859) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 385) 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" != 385) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 385 AND "spree_option_types"."id" = 234 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" = 385) ORDER BY position 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 13:29:01.714000', 234, 1, 385, '2012-09-25 13:29:01.714000') 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" = 234 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.718000' WHERE "spree_products"."id" = 385 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 385, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.721000' WHERE "spree_products"."id" = 385  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1201, 381) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("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" != 385) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 385 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 234 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.731000' WHERE "spree_products"."id" = 385 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, 385, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.733000' WHERE "spree_products"."id" = 385  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1202, 382) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("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" != 385) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 385 AND "spree_option_types"."id" = 234 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 234 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.743000' WHERE "spree_products"."id" = 385 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 385, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.747000' WHERE "spree_products"."id" = 385  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1203, 383) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("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" != 385) 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 13:29:01.753000', 'print_type', 0, 'Print type', '2012-09-25 13:29:01.753000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 385 AND "spree_option_types"."id" = 235 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" = 385) ORDER BY position 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 13:29:01.759000', 235, 2, 385, '2012-09-25 13:29:01.759000') 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" = 235 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 235) ORDER 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 13:29:01.762000', 'black_white', 235, 1, NULL, '2012-09-25 13:29:01.762000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.767000' WHERE "spree_products"."id" = 385 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 385, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.769000' WHERE "spree_products"."id" = 385  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1204, 384) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("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" != 385) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 385 AND "spree_option_types"."id" = 235 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 235 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 235) ORDER 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 13:29:01.806000', 'colour', 235, 2, NULL, '2012-09-25 13:29:01.806000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.811000' WHERE "spree_products"."id" = 385 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 385, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.813000' WHERE "spree_products"."id" = 385  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1205, 385) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("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" != 385) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 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" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 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" = 1201 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1202 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1203 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1204 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1205 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" != 385) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.845000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1201 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.847000' WHERE "spree_products"."id" = 385 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.850000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1202 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.852000' WHERE "spree_products"."id" = 385 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.854000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1203 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.855000' WHERE "spree_products"."id" = 385 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.858000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1204 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.859000' WHERE "spree_products"."id" = 385 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 385 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.861000' WHERE "spree_products"."id" = 385  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1205 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:01.863000' WHERE "spree_products"."id" = 385 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 385) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 385 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 13:29:01.867000' WHERE "spree_products"."id" = 385 Row org.apache.poi.hssf.usermodel.HSSFRow@cff60d succesfully SAVED : ID 385 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 383 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 383 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 384 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" = 384 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" = 467 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 859 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 467 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 863 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 863 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 864 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (27.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:02.040000', 'Paintings', '2012-09-25 13:29:02.040000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:29:02.046000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 471, '2012-09-25 13:29:02.046000')  (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 13:29:02.055000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 471, '2012-09-25 13:29:02.055000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 866, "updated_at" = '2012-09-25 13:29:02.062000' WHERE "spree_taxons"."id" = 867 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 866 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 867 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 867 THEN 866 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 866 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 867 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 866 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:29:02.091000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:29:02.091000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.094000' WHERE "spree_products"."id" = 386 SQL (0.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, 386, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.096000' WHERE "spree_products"."id" = 386  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1206 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.099000' WHERE "spree_products"."id" = 386  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 386  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 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 13:29:02.130000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:29:02.130000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:02.132000', NULL, 293, '2012-09-25 13:29:02.132000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 386, "updated_at" = '2012-09-25 13:29:02.136000' WHERE "spree_product_properties"."id" = 351 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 386) 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" = 471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 386 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (386, 866) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 386) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:02.159000', 'WaterColour', '2012-09-25 13:29:02.159000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 472 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 13:29:02.163000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 472, '2012-09-25 13:29:02.163000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (386, 868) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 386) LIMIT 1 Spree::OptionType Load (0.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 13:29:02.177000', 'mime_type', 0, 'Mime type', '2012-09-25 13:29:02.177000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 386 AND "spree_option_types"."id" = 236 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" = 386) ORDER BY position 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 13:29:02.184000', 236, 1, 386, '2012-09-25 13:29:02.184000') 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" = 236 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 236) ORDER 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 13:29:02.188000', 'jpeg', 236, 1, NULL, '2012-09-25 13:29:02.188000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.195000' WHERE "spree_products"."id" = 386 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 386, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.197000' WHERE "spree_products"."id" = 386  (24.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1207, 386) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("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" != 386) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 386 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 236 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 236) ORDER 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 13:29:02.233000', 'PDF', 236, 2, NULL, '2012-09-25 13:29:02.233000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.239000' WHERE "spree_products"."id" = 386 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 386, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.240000' WHERE "spree_products"."id" = 386  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1208, 387) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("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" != 386) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 386 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 236 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 236) ORDER 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 13:29:02.251000', 'PNG', 236, 3, NULL, '2012-09-25 13:29:02.251000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 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" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.256000' WHERE "spree_products"."id" = 386 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 386, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.258000' WHERE "spree_products"."id" = 386  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1209, 388) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("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" != 386) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 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" = 386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 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" = 1207 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1208 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1209 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" != 386) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.287000' WHERE "spree_products"."id" = 386  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1207 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.289000' WHERE "spree_products"."id" = 386 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.291000' WHERE "spree_products"."id" = 386  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1208 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.311000' WHERE "spree_products"."id" = 386 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.313000' WHERE "spree_products"."id" = 386  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1209 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.314000' WHERE "spree_products"."id" = 386 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 386) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 386 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 13:29:02.319000' WHERE "spree_products"."id" = 386 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:29:02.326000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:29:02.326000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.331000' WHERE "spree_products"."id" = 387 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, 387, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.333000' WHERE "spree_products"."id" = 387  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1210 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.335000' WHERE "spree_products"."id" = 387  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 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" = 387 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 387  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 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 (2.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:02.347000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:29:02.347000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:02.351000', NULL, 294, '2012-09-25 13:29:02.351000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 387, "updated_at" = '2012-09-25 13:29:02.353000' WHERE "spree_product_properties"."id" = 352 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 387) 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" = 471 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" = 387 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (387, 866) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 387) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:02.373000', 'Oils', '2012-09-25 13:29:02.373000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 473 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 13:29:02.376000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 473, '2012-09-25 13:29:02.376000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (387, 869) 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" != 387) 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" = 471 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" = 866 AND "spree_taxons"."taxonomy_id" = 471 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" = 866 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 13:29:02.388000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 866, 'paintings/nature', 0, 10, 471, '2012-09-25 13:29:02.388000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 866 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 870 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 870 THEN 866 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 866 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 870 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 870 AND "spree_taxons"."taxonomy_id" = 471 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" = 870 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:29:02.398000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 870, 'paintings/nature/seascape', 0, 12, 471, '2012-09-25 13:29:02.398000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 870 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 871 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 871 THEN 870 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 870 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 871 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (387, 870)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (387, 871) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 387) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 387 AND "spree_option_types"."id" = 236 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" = 387) ORDER BY position 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 13:29:02.413000', 236, 1, 387, '2012-09-25 13:29:02.413000') 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" = 236 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.418000' WHERE "spree_products"."id" = 387 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 387, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.420000' WHERE "spree_products"."id" = 387  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1211, 386) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("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" != 387) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 387 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 236 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.434000' WHERE "spree_products"."id" = 387 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, 387, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.436000' WHERE "spree_products"."id" = 387  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1212, 387) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("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" != 387) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 387 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 236 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.449000' WHERE "spree_products"."id" = 387 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 387, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.451000' WHERE "spree_products"."id" = 387  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1213, 388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("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" != 387) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 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" = 387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 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" = 1211 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1212 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1213 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" != 387) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.486000' WHERE "spree_products"."id" = 387  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1211 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.489000' WHERE "spree_products"."id" = 387 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.499000' WHERE "spree_products"."id" = 387  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1212 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.502000' WHERE "spree_products"."id" = 387 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.504000' WHERE "spree_products"."id" = 387  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1213 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.509000' WHERE "spree_products"."id" = 387 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 387) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 387 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 13:29:02.520000' WHERE "spree_products"."id" = 387 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:02.529000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:29:02.529000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.533000' WHERE "spree_products"."id" = 388 SQL (0.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, 388, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.536000' WHERE "spree_products"."id" = 388  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1214 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.539000' WHERE "spree_products"."id" = 388  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 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" = 388 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 388  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:02.548000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:29:02.548000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:02.551000', NULL, 295, '2012-09-25 13:29:02.551000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 388, "updated_at" = '2012-09-25 13:29:02.552000' WHERE "spree_product_properties"."id" = 353 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" != 388) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:02.557000', NULL, 294, '2012-09-25 13:29:02.557000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 388, "updated_at" = '2012-09-25 13:29:02.559000' WHERE "spree_product_properties"."id" = 354 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" != 388) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:29:02.567000', 'yet_another_property', 'Yet another property', '2012-09-25 13:29:02.567000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:29:02.572000', NULL, 296, '2012-09-25 13:29:02.572000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 388, "updated_at" = '2012-09-25 13:29:02.579000' WHERE "spree_product_properties"."id" = 355 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" != 388) 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 13:29:02.585000', 'Drawings', '2012-09-25 13:29:02.585000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 474 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 13:29:02.590000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 474, '2012-09-25 13:29:02.590000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 388 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (388, 872) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 388) 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" = 471 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" = 866 AND "spree_taxons"."taxonomy_id" = 471 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (388, 867)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (388, 866) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 388) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 388 AND "spree_option_types"."id" = 236 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" = 388) ORDER BY position 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 13:29:02.612000', 236, 1, 388, '2012-09-25 13:29:02.612000') 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" = 236 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.617000' WHERE "spree_products"."id" = 388 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 388, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.619000' WHERE "spree_products"."id" = 388  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1215, 386) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("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" != 388) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 388 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 236 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.631000' WHERE "spree_products"."id" = 388 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 388, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.633000' WHERE "spree_products"."id" = 388  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1216, 387) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("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" != 388) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 388 AND "spree_option_types"."id" = 236 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 236 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.651000' WHERE "spree_products"."id" = 388 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 388, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.654000' WHERE "spree_products"."id" = 388  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1217, 388) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("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" != 388) 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 13:29:02.660000', 'print_type', 0, 'Print type', '2012-09-25 13:29:02.660000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 388 AND "spree_option_types"."id" = 237 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" = 388) ORDER BY position 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 13:29:02.672000', 237, 2, 388, '2012-09-25 13:29:02.672000') 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" = 237 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 237) ORDER 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 13:29:02.675000', 'black_white', 237, 1, NULL, '2012-09-25 13:29:02.675000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.680000' WHERE "spree_products"."id" = 388 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 388, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.682000' WHERE "spree_products"."id" = 388  (26.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1218, 389) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("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" != 388) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 388 AND "spree_option_types"."id" = 237 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 237 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 237) ORDER 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 13:29:02.720000', 'colour', 237, 2, NULL, '2012-09-25 13:29:02.720000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.727000' WHERE "spree_products"."id" = 388 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 388, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.729000' WHERE "spree_products"."id" = 388  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1219, 390) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("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" != 388) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 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" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 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" = 1215 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1216 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1217 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1218 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1219 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" != 388) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.753000' WHERE "spree_products"."id" = 388  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1215 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.755000' WHERE "spree_products"."id" = 388 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.757000' WHERE "spree_products"."id" = 388  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1216 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.759000' WHERE "spree_products"."id" = 388 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.761000' WHERE "spree_products"."id" = 388  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1217 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.762000' WHERE "spree_products"."id" = 388 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.764000' WHERE "spree_products"."id" = 388  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1218 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.765000' WHERE "spree_products"."id" = 388 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 388 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.767000' WHERE "spree_products"."id" = 388  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1219 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.768000' WHERE "spree_products"."id" = 388 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 388) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 388 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 13:29:02.773000' WHERE "spree_products"."id" = 388 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 386 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" = 386 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 387 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" = 387 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" = 471 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 866 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 471 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 870 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 870 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 871 ORDER BY "lft" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (28.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:29:02.889000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:29:02.889000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 389 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.895000' WHERE "spree_products"."id" = 389 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, 389, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.897000' WHERE "spree_products"."id" = 389  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1220 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.923000' WHERE "spree_products"."id" = 389  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 389 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 389  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 389 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:02.929000', 'Paintings', '2012-09-25 13:29:02.929000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 475 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 13:29:02.933000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 475, '2012-09-25 13:29:02.933000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 873 AND "spree_taxons"."taxonomy_id" = 475 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" = 873 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 13:29:02.942000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 873, 'paintings/landscape', 0, 4, 475, '2012-09-25 13:29:02.942000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 873 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 874 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 874 THEN 873 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 873 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 874 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 389 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (389, 874)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (389, 873) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 389) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:02.969000', 'WaterColour', '2012-09-25 13:29:02.969000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 476 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 13:29:02.976000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 476, '2012-09-25 13:29:02.976000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (389, 875) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 389) 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" != 389) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1220 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" != 389) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:29:02.986000' WHERE "spree_products"."id" = 389  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1220 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:02.989000' WHERE "spree_products"."id" = 389 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 389 Row org.apache.poi.hssf.usermodel.HSSFRow@589034 succesfully SAVED : ID 389 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:29:03.007000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:29:03.007000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 390 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.011000' WHERE "spree_products"."id" = 390 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, 390, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.013000' WHERE "spree_products"."id" = 390  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1221 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.016000' WHERE "spree_products"."id" = 390  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 390 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 390  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 390 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 475 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" = 390 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (390, 873) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 390) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.028000', 'Oils', '2012-09-25 13:29:03.028000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 477 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 13:29:03.033000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 477, '2012-09-25 13:29:03.033000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (390, 876) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 390) 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" = 475 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" = 873 AND "spree_taxons"."taxonomy_id" = 475 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" = 873 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 13:29:03.044000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 873, 'paintings/nature', 0, 10, 475, '2012-09-25 13:29:03.044000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 873 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 877 THEN 873 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 873 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 877 AND "spree_taxons"."taxonomy_id" = 475 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" = 877 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 13:29:03.072000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 877, 'paintings/nature/landscape', 0, 12, 475, '2012-09-25 13:29:03.072000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 878 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 878 THEN 877 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 878 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (390, 877)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (390, 878) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 390) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1221 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 390) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:29:03.086000' WHERE "spree_products"."id" = 390  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1221 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.089000' WHERE "spree_products"."id" = 390 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 390 Row org.apache.poi.hssf.usermodel.HSSFRow@bc63dc succesfully SAVED : ID 390 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (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 13:29:03.104000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:29:03.104000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 391 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.107000' WHERE "spree_products"."id" = 391 SQL (0.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, 391, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.110000' WHERE "spree_products"."id" = 391  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1222 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.112000' WHERE "spree_products"."id" = 391  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 391 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 391  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 391 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.118000', 'Drawings', '2012-09-25 13:29:03.118000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 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 13:29:03.124000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 478, '2012-09-25 13:29:03.124000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 879 AND "spree_taxons"."taxonomy_id" = 478 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" = 879 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 13:29:03.130000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 879, 'drawings/landscape', 0, 16, 478, '2012-09-25 13:29:03.130000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 879 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 880 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 880 THEN 879 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 879 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 880 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" = 391 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (391, 880)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (391, 879) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 391) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.144000', 'Landscape', '2012-09-25 13:29:03.144000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 479 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 13:29:03.150000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 479, '2012-09-25 13:29:03.150000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (391, 881) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 391) 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" != 391) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1222 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" != 391) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:29:03.160000' WHERE "spree_products"."id" = 391  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1222 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.162000' WHERE "spree_products"."id" = 391 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 391 Row org.apache.poi.hssf.usermodel.HSSFRow@e2c815 succesfully SAVED : ID 391 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:03.171000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:29:03.171000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 392 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.174000' WHERE "spree_products"."id" = 392 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 392, 'test_ct_004', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.176000' WHERE "spree_products"."id" = 392  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1223 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.179000' WHERE "spree_products"."id" = 392  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 392 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 392  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 392 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 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" = 879 AND "spree_taxons"."taxonomy_id" = 478 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" = 392 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 880)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 879) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 392) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 392) 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" = 475 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" = 873 AND "spree_taxons"."taxonomy_id" = 475 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 877 AND "spree_taxons"."taxonomy_id" = 475 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" = 877 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 13:29:03.195000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 877, 'paintings/nature/seascape', 0, 20, 475, '2012-09-25 13:29:03.195000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 882 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 882 THEN 877 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 882 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 882 AND "spree_taxons"."taxonomy_id" = 475 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" = 882 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 13:29:03.205000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 882, 'paintings/nature/seascape/cliffs', 0, 22, 475, '2012-09-25 13:29:03.205000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 882 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 883 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 883 THEN 882 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 882 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 883 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 877)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 882)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 883)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (392, 873) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 392) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1223 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 392) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:29:03.218000' WHERE "spree_products"."id" = 392  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1223 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.221000' WHERE "spree_products"."id" = 392 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 392 Row org.apache.poi.hssf.usermodel.HSSFRow@fa2904 succesfully SAVED : ID 392 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:03.232000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:29:03.232000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 393 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.237000' WHERE "spree_products"."id" = 393 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 393, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.239000' WHERE "spree_products"."id" = 393  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1224 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.246000' WHERE "spree_products"."id" = 393  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 393 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 393  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 393 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 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" = 879 AND "spree_taxons"."taxonomy_id" = 478 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 880 AND "spree_taxons"."taxonomy_id" = 478 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" = 880 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 13:29:03.257000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 880, 'drawings/landscape/bristol', 0, 24, 478, '2012-09-25 13:29:03.257000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 880 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 884 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 884 THEN 880 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 880 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 884 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" = 393 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (393, 880)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (393, 884)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (393, 879) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 393) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 477 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 (393, 876) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 393) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 393) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1224 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 393) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:29:03.281000' WHERE "spree_products"."id" = 393  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1224 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.283000' WHERE "spree_products"."id" = 393 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 393 Row org.apache.poi.hssf.usermodel.HSSFRow@dcbc89 succesfully SAVED : ID 393 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 475 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 476 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 479 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 475 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 475 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 873 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 873) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 877 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 877) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 877) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 873 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 877 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 882 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 883 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 882) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 478 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 880 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 880 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 884 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 884) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 477 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 477 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 876 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 479 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 479 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 881 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (26.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:29:03.473000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:29:03.473000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 394 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.478000' WHERE "spree_products"."id" = 394 SQL (0.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, 394, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.480000' WHERE "spree_products"."id" = 394  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1225 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.483000' WHERE "spree_products"."id" = 394  (23.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 394 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" = 394 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 394  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 394 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.515000', 'Paintings', '2012-09-25 13:29:03.515000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 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 13:29:03.523000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 480, '2012-09-25 13:29:03.523000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 885 AND "spree_taxons"."taxonomy_id" = 480 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" = 885 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 13:29:03.530000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 885, 'paintings/landscape', 0, 4, 480, '2012-09-25 13:29:03.530000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 885 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 886 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 886 THEN 885 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 885 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 886 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" = 394 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (394, 886)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (394, 885) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 394) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.547000', 'WaterColour', '2012-09-25 13:29:03.547000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 481 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 13:29:03.551000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 481, '2012-09-25 13:29:03.551000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (394, 887) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 394) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1225 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 394) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:29:03.566000' WHERE "spree_products"."id" = 394  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1225 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.569000' WHERE "spree_products"."id" = 394 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 394 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (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 13:29:03.576000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:29:03.576000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 395 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.580000' WHERE "spree_products"."id" = 395 SQL (0.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, 395, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.582000' WHERE "spree_products"."id" = 395  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1226 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.586000' WHERE "spree_products"."id" = 395  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 395 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 395  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 395 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 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" = 395 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (395, 885) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 395) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.596000', 'Oils', '2012-09-25 13:29:03.596000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 482 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 13:29:03.600000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 482, '2012-09-25 13:29:03.600000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (395, 888) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 395) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 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" = 885 AND "spree_taxons"."taxonomy_id" = 480 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" = 885 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 13:29:03.610000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 885, 'paintings/nature', 0, 10, 480, '2012-09-25 13:29:03.610000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 885 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 889 THEN 885 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 885 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 889 AND "spree_taxons"."taxonomy_id" = 480 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" = 889 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 13:29:03.621000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 889, 'paintings/nature/landscape', 0, 12, 480, '2012-09-25 13:29:03.621000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 890 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 890 THEN 889 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 890 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (395, 889)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (395, 890) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 395) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1226 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 395) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:29:03.634000' WHERE "spree_products"."id" = 395  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1226 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.636000' WHERE "spree_products"."id" = 395 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 395 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (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 13:29:03.643000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:29:03.643000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 396 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.646000' WHERE "spree_products"."id" = 396 SQL (0.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, 396, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.649000' WHERE "spree_products"."id" = 396  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1227 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.651000' WHERE "spree_products"."id" = 396  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 396 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 396  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 396 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.658000', 'Drawings', '2012-09-25 13:29:03.658000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 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 13:29:03.661000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 483, '2012-09-25 13:29:03.661000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 891 AND "spree_taxons"."taxonomy_id" = 483 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" = 891 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 13:29:03.668000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 891, 'drawings/landscape', 0, 16, 483, '2012-09-25 13:29:03.668000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 891 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 892 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 892 THEN 891 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 891 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 892 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" = 396 Product assigned to Taxons : ["Landscape", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (396, 892)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (396, 891) 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" != 396) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:29:03.680000', 'Landscape', '2012-09-25 13:29:03.680000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 484 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 13:29:03.684000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 484, '2012-09-25 13:29:03.684000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (396, 893) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 396) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1227 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 396) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:29:03.698000' WHERE "spree_products"."id" = 396  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1227 SQL (2.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.700000' WHERE "spree_products"."id" = 396 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 396 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:03.713000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:29:03.713000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 397 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.716000' WHERE "spree_products"."id" = 397 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 397, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.719000' WHERE "spree_products"."id" = 397  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1228 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.722000' WHERE "spree_products"."id" = 397  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 397 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" = 397 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 397  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 397 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 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" = 891 AND "spree_taxons"."taxonomy_id" = 483 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" = 397 Product assigned to Taxons : ["Landscape", "Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 892)  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 891) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 397) 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" = 480 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" = 885 AND "spree_taxons"."taxonomy_id" = 480 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 889 AND "spree_taxons"."taxonomy_id" = 480 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" = 889 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 13:29:03.754000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 889, 'paintings/nature/seascape', 0, 20, 480, '2012-09-25 13:29:03.754000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 894 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 894 THEN 889 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 894 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 894 AND "spree_taxons"."taxonomy_id" = 480 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" = 894 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 13:29:03.769000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 894, 'paintings/nature/seascape/cliffs', 0, 22, 480, '2012-09-25 13:29:03.769000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 894 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 895 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 895 THEN 894 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 894 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 895 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 889)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 894)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 895)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (397, 885) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 397) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1228 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 397) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:29:03.789000' WHERE "spree_products"."id" = 397  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1228 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.793000' WHERE "spree_products"."id" = 397 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 397 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:29:03.802000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:29:03.802000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 398 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.808000' WHERE "spree_products"."id" = 398 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 (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 398, 'test_ct_005', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.810000' WHERE "spree_products"."id" = 398  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1229 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.812000' WHERE "spree_products"."id" = 398  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 398 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" = 398 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 398  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 398 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 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" = 891 AND "spree_taxons"."taxonomy_id" = 483 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 892 AND "spree_taxons"."taxonomy_id" = 483 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" = 892 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:29:03.847000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 892, 'drawings/landscape/bristol', 0, 24, 483, '2012-09-25 13:29:03.847000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 892 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 896 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 896 THEN 892 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 892 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 896 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 398 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (398, 892)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (398, 896)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (398, 891) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 398) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 482 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 (398, 888) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 398) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1229 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 398) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:29:03.876000' WHERE "spree_products"."id" = 398  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1229 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:29:03.879000' WHERE "spree_products"."id" = 398 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 398  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 481 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 484 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 480 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 885 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 885) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 889 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 889) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 889) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 885 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 889 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 894 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 895 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 894) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 483 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 892 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 892 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 896 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 896) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 482 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 482 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 888 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 484 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 484 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 893 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (30.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (5.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (26.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (25.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (26.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (28.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (24.0ms) DELETE FROM "spree_taxons" SQL (4.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:51.737000', 'Paintings', '2012-09-25 13:30:51.737000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 485 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 13:30:52.187000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 485, '2012-09-25 13:30:52.187000')  (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 13:30:52.222000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 485, '2012-09-25 13:30:52.222000')  (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 13:30:52.246000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 485, '2012-09-25 13:30:52.246000') ExcelGenerator creating template with associations for class Spree::Taxonomy ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxonomy_export_spec.xls ExcelGenerator creating template with associations for class Spree::Taxon ExcelGenerator saving generated template /home/stattert/SoftwareDev/git/datashift_spree/spec/fixtures/results/taxon_export_spec.xls SQL (14.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:52.878000', 'Paintings', '2012-09-25 13:30:52.878000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 486 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 13:30:53.012000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 486, '2012-09-25 13:30:53.012000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (2.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:30:53.052000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 486, '2012-09-25 13:30:53.052000')  (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 13:30:53.094000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 486, '2012-09-25 13:30:53.094000') ExcelGenerator creating template with associations for class Spree::Product SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (4.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:53.209000', 'Paintings', '2012-09-25 13:30:53.209000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 487 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 13:30:53.254000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 487, '2012-09-25 13:30:53.254000')  (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 13:30:53.278000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 487, '2012-09-25 13:30:53.278000')  (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 13:30:53.301000', NULL, NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 487, '2012-09-25 13:30:53.301000') ExcelGenerator creating template with associations for class Spree::Product Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_zones" Excel Loader processing 70 rows Current value to assign : ROW Current value to assign : Rest of World Spree::Zone Exists (1.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:53.791000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:30:53.791000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 67 Row org.apache.poi.hssf.usermodel.HSSFRow@7548c succesfully SAVED : ID 67 Current value to assign : UK Current value to assign : United Kingdom Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:53.876000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:30:53.876000', 0) Spree::ZoneMember Load (0.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 68 Row org.apache.poi.hssf.usermodel.HSSFRow@b4a6dc succesfully SAVED : ID 68 Current value to assign : EUR Current value to assign : Europe Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'EUR' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:53.888000', 'f', 'Europe', 'EUR', '2012-09-25 13:30:53.888000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 69 Row org.apache.poi.hssf.usermodel.HSSFRow@1e48459 succesfully SAVED : ID 69 Current value to assign : NA Current value to assign : North America Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:53.907000', 'f', 'North America', 'NA', '2012-09-25 13:30:53.907000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 70 Row org.apache.poi.hssf.usermodel.HSSFRow@19974bd succesfully SAVED : ID 70 Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (27.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_zones" Current value to assign : ROW Current value to assign : Rest of World Saving csv row ROWRest of World to table object : # Spree::Zone Exists (0.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'ROW' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:54.038000', 'f', 'Rest of World', 'ROW', '2012-09-25 13:30:54.038000', 0) Spree::ZoneMember Load (0.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'UK' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:54.051000', 'f', 'United Kingdom', 'UK', '2012-09-25 13:30:54.051000', 0) Spree::ZoneMember Load (1.0ms) 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.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:54.091000', 'f', 'Europe', 'EUR', '2012-09-25 13:30:54.091000', 0) Spree::ZoneMember Load (1.0ms) 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.0ms) SELECT 1 AS one FROM "spree_zones" WHERE "spree_zones"."name" = 'NA' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_zones" ("created_at", "default_tax", "description", "name", "updated_at", "zone_members_count") VALUES ('2012-09-25 13:30:54.131000', 'f', 'North America', 'NA', '2012-09-25 13:30:54.131000', 0) Spree::ZoneMember Load (1.0ms) SELECT "spree_zone_members".* FROM "spree_zone_members" WHERE "spree_zone_members"."zone_id" = 74  (0.0ms) SELECT COUNT(*) FROM "spree_zones"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (27.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (27.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (27.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (1.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:30:54.521000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:54.521000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 399 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.547000' WHERE "spree_products"."id" = 399 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 399, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.558000' WHERE "spree_products"."id" = 399  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1230 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.573000' WHERE "spree_products"."id" = 399  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 399 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 399  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1230 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 399) LIMIT 1 Spree::OptionType Load (0.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 13:30:54.700000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:54.700000') 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" = 399 AND "spree_option_types"."id" = 238 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" = 399) 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 13:30:54.801000', 238, 1, 399, '2012-09-25 13:30:54.801000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 399) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:30:54.812000' WHERE "spree_products"."id" = 399  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1230 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.819000' WHERE "spree_products"."id" = 399 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 399 Row org.apache.poi.hssf.usermodel.HSSFRow@4e410d succesfully SAVED : ID 399 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:30:54.852000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:54.852000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 400 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.887000' WHERE "spree_products"."id" = 400 SQL (0.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, 400, 'SIMPLE_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.894000' WHERE "spree_products"."id" = 400  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1231 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:54.900000' WHERE "spree_products"."id" = 400  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 400 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 400 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 400  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 400 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1231 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 400) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 400 AND "spree_option_types"."id" = 238 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" = 400) 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 13:30:54.976000', 238, 1, 400, '2012-09-25 13:30:54.976000') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 400) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:30:54.991000' WHERE "spree_products"."id" = 400  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1231 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.000000' WHERE "spree_products"."id" = 400 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 400 Row org.apache.poi.hssf.usermodel.HSSFRow@f3fe4a succesfully SAVED : ID 400 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:30:55.027000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:30:55.027000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 401 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.048000' WHERE "spree_products"."id" = 401 SQL (0.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, 401, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.053000' WHERE "spree_products"."id" = 401  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1232 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.060000' WHERE "spree_products"."id" = 401  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 401 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 401 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 401  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 401 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1232 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 401) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 401 AND "spree_option_types"."id" = 238 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" = 401) 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 13:30:55.103000', 238, 1, 401, '2012-09-25 13:30:55.103000') 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 13:30:55.110000', 'print_type', 0, 'Print type', '2012-09-25 13:30:55.110000') Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 401 AND "spree_option_types"."id" = 239 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" = 401) ORDER BY position 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 13:30:55.173000', 239, 2, 401, '2012-09-25 13:30:55.173000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 401) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:30:55.182000' WHERE "spree_products"."id" = 401  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1232 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.201000' WHERE "spree_products"."id" = 401 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 401 Row org.apache.poi.hssf.usermodel.HSSFRow@197d937 succesfully SAVED : ID 401 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:30:55.303000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:30:55.304000')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 399 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 399 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 399 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 401 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (27.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # Current value to assign : SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 345.78 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:30:55.512000', NULL, 'blah blah', NULL, NULL, 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:55.512000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 402 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.530000' WHERE "spree_products"."id" = 402 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (320.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 402, 'SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.534000' WHERE "spree_products"."id" = 402  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1233 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.539000' WHERE "spree_products"."id" = 402  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 402 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 402 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 402  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 402 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1233 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 402) LIMIT 1 Spree::OptionType Load (0.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 13:30:55.602000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:55.602000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 402 AND "spree_option_types"."id" = 240 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" = 402) ORDER BY position 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 13:30:55.662000', 240, 1, 402, '2012-09-25 13:30:55.662000') Saving csv row SIMPLE_001Simple Product for AR Loaderblah blah2011-02-14345.78320.0012mime_type to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 402) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 12, "updated_at" = '2012-09-25 13:30:55.686000' WHERE "spree_products"."id" = 402  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1233 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.697000' WHERE "spree_products"."id" = 402 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 402 Current value to assign : SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:30:55.735000', NULL, 'less blah', NULL, NULL, 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:55.735000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 403 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:55.741000' WHERE "spree_products"."id" = 403 SQL (0.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, 403, 'SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.067000' WHERE "spree_products"."id" = 403  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1234 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.072000' WHERE "spree_products"."id" = 403  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 403 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" = 403 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 403  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 403 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1234 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 403) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 403 AND "spree_option_types"."id" = 240 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" = 403) ORDER BY position 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 13:30:56.136000', 240, 1, 403, '2012-09-25 13:30:56.136000') Saving csv row SIMPLE_002Simple Excel Load via Jrubyless blah2011-05-14100.0030.005mime_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 403) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:30:56.144000' WHERE "spree_products"."id" = 403  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1234 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.154000' WHERE "spree_products"."id" = 403 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 403 Current value to assign : SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 2112-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2112-07-01 00:00:00.000000', 0, '2012-09-25 13:30:56.175000', NULL, 'more blah blah', NULL, NULL, 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:30:56.175000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 404 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.197000' WHERE "spree_products"."id" = 404 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, 404, 'SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.202000' WHERE "spree_products"."id" = 404  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1235 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.225000' WHERE "spree_products"."id" = 404  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 404 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 404 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 404  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 404 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1235 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 404) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 404 AND "spree_option_types"."id" = 240 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" = 404) ORDER BY position 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 13:30:56.289000', 240, 1, 404, '2012-09-25 13:30:56.289000') 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 13:30:56.295000', 'print_type', 0, 'Print type', '2012-09-25 13:30:56.295000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 404 AND "spree_option_types"."id" = 241 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" = 404) ORDER BY position 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 13:30:56.355000', 241, 2, 404, '2012-09-25 13:30:56.355000') Saving csv row SIMPLE_003Simple third row avail in futuremore blah blah2112-07-0150.3423.3423mime_type|print_type to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 404) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 23, "updated_at" = '2012-09-25 13:30:56.362000' WHERE "spree_products"."id" = 404  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 23 WHERE "spree_variants"."id" = 1235 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.368000' WHERE "spree_products"."id" = 404 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 404  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND ("spree_products".available_on <= '2012-09-25 13:30:56.387000')  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE ("spree_products".available_on <= '2012-09-25 13:30:56.388000')  (1.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 402 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 402 ORDER BY spree_option_types.position  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 402 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" ORDER BY "spree_products"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 404 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (27.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (4.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:30:56.000000', 0, '2012-09-25 13:30:56.587000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:56.587000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 405 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.594000' WHERE "spree_products"."id" = 405 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 405, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.600000' WHERE "spree_products"."id" = 405  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1236 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.605000' WHERE "spree_products"."id" = 405  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 405 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 405 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 405  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 405 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:30:56.627000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:56.627000') 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" = 405 AND "spree_option_types"."id" = 242 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" = 405) ORDER BY position 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 13:30:56.643000', 242, 1, 405, '2012-09-25 13:30:56.643000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 405) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1f313c5 succesfully SAVED : ID 405 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  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:30:56.000000', 0, '2012-09-25 13:30:56.710000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:56.710000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 406 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.716000' WHERE "spree_products"."id" = 406 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 406, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.786000' WHERE "spree_products"."id" = 406  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1237 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.810000' WHERE "spree_products"."id" = 406  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 406 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" = 406 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 406  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 406 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 406 AND "spree_option_types"."id" = 242 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" = 406) 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 13:30:56.832000', 242, 1, 406, '2012-09-25 13:30:56.832000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 406) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@b3a966 succesfully SAVED : ID 406 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-09-25 14:30:56.000000', 0, '2012-09-25 13:30:56.890000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:30:56.890000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 407 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.894000' WHERE "spree_products"."id" = 407 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 407, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.897000' WHERE "spree_products"."id" = 407  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1238 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:56.903000' WHERE "spree_products"."id" = 407  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 407 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 407 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 407  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 407 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 407 AND "spree_option_types"."id" = 242 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" = 407) 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 13:30:56.926000', 242, 1, 407, '2012-09-25 13:30:56.926000') 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 13:30:56.931000', 'print_type', 0, 'Print type', '2012-09-25 13:30:56.931000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 407 AND "spree_option_types"."id" = 243 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" = 407) ORDER BY position 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 13:30:56.938000', 243, 2, 407, '2012-09-25 13:30:56.938000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 407) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@de050f succesfully SAVED : ID 407 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 405 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (27.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Read Datashift loading config: {"Spree::Product"=>{"datashift_defaults"=>{"available_on"=>"Time.now.to_s(:db)", "cost_price"=>1.0, "meta_description"=>"super duper meta desc.", "meta_keywords"=>"techno dubstep d&b"}}} Assigning defaults and over rides from config Loader Options : {:instance_methods=>true} Excel Loader processing 70 rows Current value to assign : SPEC_SIMPLE_001 Current value to assign : Simple Product for AR Loader Current value to assign : blah blah Current value to assign : 345.78  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:30:57.109000', NULL, 'blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Product for AR Loader', 'simple-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:57.109000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 408 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.114000' WHERE "spree_products"."id" = 408 SQL (1.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 345.78, 408, 'SPEC_SIMPLE_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.117000' WHERE "spree_products"."id" = 408  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1239 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.176000' WHERE "spree_products"."id" = 408  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 408 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 408 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 408  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 408 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:30:57.197000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:57.197000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 408 AND "spree_option_types"."id" = 244 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" = 408) ORDER BY position 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 13:30:57.216000', 244, 1, 408, '2012-09-25 13:30:57.216000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-product-for-ar-loader' AND "spree_products"."id" != 408) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1ae20eb succesfully SAVED : ID 408 Current value to assign : SPEC_SIMPLE_002 Current value to assign : Simple Excel Load via Jruby Current value to assign : less blah Current value to assign : 100.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:30:57.261000', NULL, 'less blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple Excel Load via Jruby', 'simple-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:57.261000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 409 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.267000' WHERE "spree_products"."id" = 409 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 100.0, 409, 'SPEC_SIMPLE_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.271000' WHERE "spree_products"."id" = 409  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1240 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.280000' WHERE "spree_products"."id" = 409  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 409 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 409 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 409  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 409 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 409 AND "spree_option_types"."id" = 244 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" = 409) ORDER BY position 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 13:30:57.297000', 244, 1, 409, '2012-09-25 13:30:57.297000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-excel-load-via-jruby' AND "spree_products"."id" != 409) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1986866 succesfully SAVED : ID 409 Current value to assign : SPEC_SIMPLE_003 Current value to assign : Simple third row avail in future Current value to assign : more blah blah Current value to assign : 50.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'simple-third-row-avail-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'simple-third-row-avail-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:30:57.334000', NULL, 'more blah blah', 'super duper meta desc.', 'techno dubstep d&b', 'Simple third row avail in future', 'simple-third-row-avail-in-future', NULL, NULL, '2012-09-25 13:30:57.334000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 410 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.339000' WHERE "spree_products"."id" = 410 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (1.0, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 410, 'SPEC_SIMPLE_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.344000' WHERE "spree_products"."id" = 410  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1241 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.348000' WHERE "spree_products"."id" = 410  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 410 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" = 410 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 410  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 410 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 410 AND "spree_option_types"."id" = 244 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" = 410) ORDER BY position 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 13:30:57.364000', 244, 1, 410, '2012-09-25 13:30:57.364000') 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 13:30:57.369000', 'print_type', 0, 'Print type', '2012-09-25 13:30:57.369000') 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" = 410 AND "spree_option_types"."id" = 245 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" = 410) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 13:30:57.380000', 245, 2, 410, '2012-09-25 13:30:57.380000') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'simple-third-row-avail-in-future' AND "spree_products"."id" != 410) LIMIT 1 Row org.apache.poi.hssf.usermodel.HSSFRow@1ca7b00 succesfully SAVED : ID 410 Current value to assign : SPEC_ Current value to assign : Current value to assign : Current value to assign :  (26.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 408 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (54.0ms) DELETE FROM "spree_option_values" SQL (4.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:30:57.562000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:30:57.562000')  (0.0ms) SELECT COUNT(*) FROM "spree_properties"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:30:57.598000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:57.598000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.633000' WHERE "spree_products"."id" = 411 SQL (0.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, 411, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.636000' WHERE "spree_products"."id" = 411  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1242 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.647000' WHERE "spree_products"."id" = 411  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 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" = 411 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 411  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:57.707000', NULL, 297, '2012-09-25 13:30:57.707000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 411, "updated_at" = '2012-09-25 13:30:57.718000' WHERE "spree_product_properties"."id" = 356 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" != 411) 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 13:30:57.726000', 'Paintings', '2012-09-25 13:30:57.726000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 488 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 13:30:57.734000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 488, '2012-09-25 13:30:57.734000') 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" = 411 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (411, 906) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:57.748000', 'WaterColour', '2012-09-25 13:30:57.748000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 489 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 13:30:57.760000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 489, '2012-09-25 13:30:57.760000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (411, 907) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 411) 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" != 411) LIMIT 1 Spree::OptionType Load (0.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 13:30:57.781000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:57.781000') 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" = 411 AND "spree_option_types"."id" = 246 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" = 411) ORDER BY position DESC LIMIT 1 SQL (31.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 13:30:57.804000', 246, 1, 411, '2012-09-25 13:30:57.804000') 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" = 246 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 246) 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 13:30:57.864000', 'jpeg', 246, 1, NULL, '2012-09-25 13:30:57.864000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.870000' WHERE "spree_products"."id" = 411 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, 411, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.876000' WHERE "spree_products"."id" = 411  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1243, 391) 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" = 246 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 246) ORDER 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 13:30:57.886000', 'PDF', 246, 2, NULL, '2012-09-25 13:30:57.886000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.893000' WHERE "spree_products"."id" = 411 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 411, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.895000' WHERE "spree_products"."id" = 411  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1244, 392) 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" = 246 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 246) ORDER 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 13:30:57.900000', 'PNG', 246, 3, NULL, '2012-09-25 13:30:57.900000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.915000' WHERE "spree_products"."id" = 411 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, 411, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.923000' WHERE "spree_products"."id" = 411  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1245, 393) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 AND ("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" != 411) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 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" = 411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 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" = 1243 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1244 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1245 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" != 411) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.964000' WHERE "spree_products"."id" = 411  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1243 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.967000' WHERE "spree_products"."id" = 411 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.969000' WHERE "spree_products"."id" = 411  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1244 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.971000' WHERE "spree_products"."id" = 411 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 411 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.973000' WHERE "spree_products"."id" = 411  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1245 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:57.975000' WHERE "spree_products"."id" = 411 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 411) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 411 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 13:30:57.984000' WHERE "spree_products"."id" = 411 Row org.apache.poi.hssf.usermodel.HSSFRow@1c26da0 succesfully SAVED : ID 411 Current value to assign : DEMO_002 Current value to 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 13:30:58.036000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:58.036000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.041000' WHERE "spree_products"."id" = 412 SQL (0.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, 412, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.046000' WHERE "spree_products"."id" = 412  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1246 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.051000' WHERE "spree_products"."id" = 412  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 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" = 412 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 412  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 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 13:30:58.060000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:30:58.060000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:58.063000', NULL, 298, '2012-09-25 13:30:58.063000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 412, "updated_at" = '2012-09-25 13:30:58.068000' WHERE "spree_product_properties"."id" = 357 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" != 412) 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" = 488 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" = 412 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (412, 906) 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 13:30:58.081000', 'Oils', '2012-09-25 13:30:58.081000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 490 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 13:30:58.088000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 490, '2012-09-25 13:30:58.088000') Product assigned to Taxons : ["Oils"]  (2.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (412, 908) 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" = 488 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" = 906 AND "spree_taxons"."taxonomy_id" = 488 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" = 906 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:30:58.103000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 906, 'paintings/nature', 0, 8, 488, '2012-09-25 13:30:58.103000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 906 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 909 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 = 909 THEN 906 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 906 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 909 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 909 AND "spree_taxons"."taxonomy_id" = 488 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" = 909 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:30:58.121000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 909, 'paintings/nature/seascape', 0, 10, 488, '2012-09-25 13:30:58.121000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 909 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 910 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 = 910 THEN 909 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 909 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 910 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (412, 909)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (412, 910) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 412) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 412 AND "spree_option_types"."id" = 246 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" = 412) ORDER BY position 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 13:30:58.154000', 246, 1, 412, '2012-09-25 13:30:58.154000') 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" = 246 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.168000' WHERE "spree_products"."id" = 412 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 412, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.173000' WHERE "spree_products"."id" = 412  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1247, 391) 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" = 246 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.179000' WHERE "spree_products"."id" = 412 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 412, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.183000' WHERE "spree_products"."id" = 412  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1248, 392) 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" = 246 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.192000' WHERE "spree_products"."id" = 412 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 412, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.195000' WHERE "spree_products"."id" = 412  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1249, 393) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 AND ("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" != 412) 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" != 412) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 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" = 412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 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" = 1247 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1248 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1249 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" != 412) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.228000' WHERE "spree_products"."id" = 412  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1247 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.232000' WHERE "spree_products"."id" = 412 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.234000' WHERE "spree_products"."id" = 412  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1248 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.236000' WHERE "spree_products"."id" = 412 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 412 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.238000' WHERE "spree_products"."id" = 412  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1249 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.240000' WHERE "spree_products"."id" = 412 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 412) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 412 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:30:58.252000' WHERE "spree_products"."id" = 412 Row org.apache.poi.hssf.usermodel.HSSFRow@61bf94 succesfully SAVED : ID 412 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:30:58.277000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:30:58.277000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.284000' WHERE "spree_products"."id" = 413 SQL (0.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, 413, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.287000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1250 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.312000' WHERE "spree_products"."id" = 413  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 413  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 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 13:30:58.322000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:30:58.322000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:58.330000', NULL, 299, '2012-09-25 13:30:58.330000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 413, "updated_at" = '2012-09-25 13:30:58.333000' WHERE "spree_product_properties"."id" = 358 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 13:30:58.338000', NULL, 298, '2012-09-25 13:30:58.338000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 413, "updated_at" = '2012-09-25 13:30:58.340000' WHERE "spree_product_properties"."id" = 359 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 13:30:58.352000', 'yet_another_property', 'Yet another property', '2012-09-25 13:30:58.352000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:58.358000', NULL, 300, '2012-09-25 13:30:58.358000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 413, "updated_at" = '2012-09-25 13:30:58.360000' WHERE "spree_product_properties"."id" = 360 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" != 413) 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 13:30:58.367000', 'Drawings', '2012-09-25 13:30:58.367000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 491 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 13:30:58.372000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 491, '2012-09-25 13:30:58.372000') 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" = 413 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (413, 911) 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" = 488 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" = 906 AND "spree_taxons"."taxonomy_id" = 488 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" = 906 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 13:30:58.390000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 906, 'paintings/landscape', 0, 14, 488, '2012-09-25 13:30:58.390000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 906 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 912 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 = 912 THEN 906 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 906 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 912 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (413, 912)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (413, 906) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 413) 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" != 413) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 413 AND "spree_option_types"."id" = 246 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" = 413) ORDER BY position 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 13:30:58.414000', 246, 1, 413, '2012-09-25 13:30:58.414000') 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" = 246 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.423000' WHERE "spree_products"."id" = 413 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 413, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.425000' WHERE "spree_products"."id" = 413  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1251, 391) 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" = 246 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.451000' WHERE "spree_products"."id" = 413 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 413, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.455000' WHERE "spree_products"."id" = 413  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1252, 392) 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" = 246 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.468000' WHERE "spree_products"."id" = 413 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 413, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.471000' WHERE "spree_products"."id" = 413  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1253, 393) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:30:58.476000', 'print_type', 0, 'Print type', '2012-09-25 13:30:58.476000') 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" = 413 AND "spree_option_types"."id" = 247 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" = 413) ORDER BY position 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 13:30:58.491000', 247, 2, 413, '2012-09-25 13:30:58.491000') 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" = 247 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 247) ORDER 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 13:30:58.497000', 'black_white', 247, 1, NULL, '2012-09-25 13:30:58.497000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.531000' WHERE "spree_products"."id" = 413 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 413, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.534000' WHERE "spree_products"."id" = 413  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1254, 394) 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" = 247 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 247) ORDER 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 13:30:58.538000', 'colour', 247, 2, NULL, '2012-09-25 13:30:58.538000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.544000' WHERE "spree_products"."id" = 413 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 413, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.547000' WHERE "spree_products"."id" = 413  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1255, 395) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("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" != 413) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 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" = 413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 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" = 1251 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1252 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" = 1253 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" = 1254 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" = 1255 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" != 413) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.587000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1251 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.589000' WHERE "spree_products"."id" = 413 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.591000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1252 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.592000' WHERE "spree_products"."id" = 413 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.595000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1253 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.598000' WHERE "spree_products"."id" = 413 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.600000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1254 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.619000' WHERE "spree_products"."id" = 413 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 413 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.622000' WHERE "spree_products"."id" = 413  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1255 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.624000' WHERE "spree_products"."id" = 413 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 413) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 413 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 13:30:58.634000' WHERE "spree_products"."id" = 413 Row org.apache.poi.hssf.usermodel.HSSFRow@12b710e succesfully SAVED : ID 413 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (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"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 411 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 413 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (1.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 413 SQL (5.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (29.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:30:58.829000', 'test_pp_001', 'Test PP 001', '2012-09-25 13:30:58.829000')  (1.0ms) SELECT COUNT(*) FROM "spree_properties" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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 13:30:58.901000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:30:58.901000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.907000' WHERE "spree_products"."id" = 414 SQL (0.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, 414, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.912000' WHERE "spree_products"."id" = 414  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1256 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:58.915000' WHERE "spree_products"."id" = 414  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 414  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:58.926000', NULL, 301, '2012-09-25 13:30:58.926000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 414, "updated_at" = '2012-09-25 13:30:58.929000' WHERE "spree_product_properties"."id" = 361 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 414) 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" != 414) 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" != 414) 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 13:30:58.958000', 'Paintings', '2012-09-25 13:30:58.958000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 492 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 13:30:58.964000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 492, '2012-09-25 13:30:58.964000') 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" = 414 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (414, 913) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 414) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:58.989000', 'WaterColour', '2012-09-25 13:30:58.989000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 493 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 13:30:58.996000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 493, '2012-09-25 13:30:58.996000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (414, 914) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 414) 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" != 414) LIMIT 1 Spree::OptionType Load (0.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 13:30:59.017000', 'mime_type', 0, 'Mime type', '2012-09-25 13:30:59.017000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 414 AND "spree_option_types"."id" = 248 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" = 414) 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 13:30:59.033000', 248, 1, 414, '2012-09-25 13:30:59.033000') 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" = 248 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 248) ORDER 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 13:30:59.038000', 'jpeg', 248, 1, NULL, '2012-09-25 13:30:59.038000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.082000' WHERE "spree_products"."id" = 414 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 414, 'DEMO_001_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.088000' WHERE "spree_products"."id" = 414  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1257, 396) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("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" != 414) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 414 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 248 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 248) ORDER 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 13:30:59.108000', 'PDF', 248, 2, NULL, '2012-09-25 13:30:59.108000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.133000' WHERE "spree_products"."id" = 414 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 414, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.135000' WHERE "spree_products"."id" = 414  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1258, 397) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("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" != 414) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 414 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 248 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 248) ORDER 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 13:30:59.147000', 'PNG', 248, 3, NULL, '2012-09-25 13:30:59.147000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.154000' WHERE "spree_products"."id" = 414 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 414, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.157000' WHERE "spree_products"."id" = 414  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1259, 398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("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" != 414) 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" != 414) 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" != 414) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 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" = 414 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" = 414 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" = 1257 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1258 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1259 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" != 414) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.217000' WHERE "spree_products"."id" = 414  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1257 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.221000' WHERE "spree_products"."id" = 414 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.223000' WHERE "spree_products"."id" = 414  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1258 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.227000' WHERE "spree_products"."id" = 414 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 414 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.230000' WHERE "spree_products"."id" = 414  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1259 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.232000' WHERE "spree_products"."id" = 414 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 414) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 414 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 13:30:59.236000' WHERE "spree_products"."id" = 414 Row org.apache.poi.hssf.usermodel.HSSFRow@19289fb succesfully SAVED : ID 414 Current value to assign : DEMO_002 Current value to 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 13:30:59.249000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:30:59.249000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.253000' WHERE "spree_products"."id" = 415 SQL (0.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, 415, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.255000' WHERE "spree_products"."id" = 415  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1260 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.258000' WHERE "spree_products"."id" = 415  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 415  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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 13:30:59.272000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:30:59.272000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:59.276000', NULL, 302, '2012-09-25 13:30:59.276000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 415, "updated_at" = '2012-09-25 13:30:59.281000' WHERE "spree_product_properties"."id" = 362 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" != 415) 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" != 415) 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" != 415) 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" = 492 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" = 415 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (415, 913) 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" != 415) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:30:59.310000', 'Oils', '2012-09-25 13:30:59.310000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 494 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 13:30:59.317000', NULL, NULL, NULL, NULL, NULL, 5, 'Oils', NULL, 'oils', 0, 6, 494, '2012-09-25 13:30:59.317000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (415, 915) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 415) 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" = 492 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" = 913 AND "spree_taxons"."taxonomy_id" = 492 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" = 913 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 13:30:59.336000', NULL, NULL, NULL, NULL, NULL, 7, 'Nature', 913, 'paintings/nature', 0, 8, 492, '2012-09-25 13:30:59.336000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 913 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 916 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 = 916 THEN 913 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 913 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 916 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 916 AND "spree_taxons"."taxonomy_id" = 492 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" = 916 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 13:30:59.352000', NULL, NULL, NULL, NULL, NULL, 9, 'Seascape', 916, 'paintings/nature/seascape', 0, 10, 492, '2012-09-25 13:30:59.352000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 916 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 917 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 3 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 3 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 917 THEN 916 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 916 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 917 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (415, 916)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (415, 917) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 415) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 415 AND "spree_option_types"."id" = 248 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" = 415) ORDER BY position 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 13:30:59.377000', 248, 1, 415, '2012-09-25 13:30:59.377000') 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" = 248 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.386000' WHERE "spree_products"."id" = 415 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 415, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.388000' WHERE "spree_products"."id" = 415  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1261, 396) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("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" != 415) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 415 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 248 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.409000' WHERE "spree_products"."id" = 415 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 415, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.412000' WHERE "spree_products"."id" = 415  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1262, 397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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" != 415) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 415 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 248 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.445000' WHERE "spree_products"."id" = 415 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, 415, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.448000' WHERE "spree_products"."id" = 415  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1263, 398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("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" != 415) 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" != 415) 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" != 415) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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" = 415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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" = 1261 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1262 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1263 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" != 415) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.482000' WHERE "spree_products"."id" = 415  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1261 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.484000' WHERE "spree_products"."id" = 415 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.490000' WHERE "spree_products"."id" = 415  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1262 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.492000' WHERE "spree_products"."id" = 415 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 415 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.496000' WHERE "spree_products"."id" = 415  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1263 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.498000' WHERE "spree_products"."id" = 415 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 415) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 415 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 13:30:59.504000' WHERE "spree_products"."id" = 415 Row org.apache.poi.hssf.usermodel.HSSFRow@1cc2c10 succesfully SAVED : ID 415 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:30:59.525000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:30:59.525000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.537000' WHERE "spree_products"."id" = 416 SQL (0.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, 416, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.540000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1264 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.545000' WHERE "spree_products"."id" = 416  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 416  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:30:59.557000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:30:59.557000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:59.562000', NULL, 303, '2012-09-25 13:30:59.562000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 416, "updated_at" = '2012-09-25 13:30:59.564000' WHERE "spree_product_properties"."id" = 363 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" != 416) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:59.570000', NULL, 302, '2012-09-25 13:30:59.570000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 416, "updated_at" = '2012-09-25 13:30:59.573000' WHERE "spree_product_properties"."id" = 364 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" != 416) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:30:59.579000', 'yet_another_property', 'Yet another property', '2012-09-25 13:30:59.579000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:30:59.583000', NULL, 304, '2012-09-25 13:30:59.583000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 416, "updated_at" = '2012-09-25 13:30:59.590000' WHERE "spree_product_properties"."id" = 365 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" != 416) 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 13:30:59.596000', 'Drawings', '2012-09-25 13:30:59.596000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 495 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 13:30:59.601000', NULL, NULL, NULL, NULL, NULL, 11, 'Drawings', NULL, 'drawings', 0, 12, 495, '2012-09-25 13:30:59.601000') 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" = 416 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (416, 918) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 416) 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" = 492 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" = 913 AND "spree_taxons"."taxonomy_id" = 492 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" = 913 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 13:30:59.615000', NULL, NULL, NULL, NULL, NULL, 13, 'Landscape', 913, 'paintings/landscape', 0, 14, 492, '2012-09-25 13:30:59.615000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 913 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 919 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 = 919 THEN 913 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 913 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 919 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (416, 919)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (416, 913) 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" != 416) 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" != 416) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 416 AND "spree_option_types"."id" = 248 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" = 416) ORDER BY position 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 13:30:59.638000', 248, 1, 416, '2012-09-25 13:30:59.638000') 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" = 248 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.643000' WHERE "spree_products"."id" = 416 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, 416, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.646000' WHERE "spree_products"."id" = 416  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1265, 396) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("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" != 416) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 416 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 248 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.661000' WHERE "spree_products"."id" = 416 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 416, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.665000' WHERE "spree_products"."id" = 416  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1266, 397) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("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" != 416) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 416 AND "spree_option_types"."id" = 248 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 248 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.681000' WHERE "spree_products"."id" = 416 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 416, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.684000' WHERE "spree_products"."id" = 416  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1267, 398) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 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" != 416) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:30:59.693000', 'print_type', 0, 'Print type', '2012-09-25 13:30:59.693000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 416 AND "spree_option_types"."id" = 249 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" = 416) ORDER BY position DESC LIMIT 1 SQL (2.0ms) INSERT INTO "spree_product_option_types" ("created_at", "option_type_id", "position", "product_id", "updated_at") VALUES ('2012-09-25 13:30:59.712000', 249, 2, 416, '2012-09-25 13:30:59.712000') 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" = 249 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 249) ORDER 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 13:30:59.745000', 'black_white', 249, 1, NULL, '2012-09-25 13:30:59.745000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.755000' WHERE "spree_products"."id" = 416 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 416, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.757000' WHERE "spree_products"."id" = 416  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1268, 399) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("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" != 416) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 416 AND "spree_option_types"."id" = 249 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 249 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 249) ORDER 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 13:30:59.771000', 'colour', 249, 2, NULL, '2012-09-25 13:30:59.771000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.776000' WHERE "spree_products"."id" = 416 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 416, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.780000' WHERE "spree_products"."id" = 416  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1269, 400) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("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" != 416) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 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" = 416 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" = 416 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" = 1265 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1266 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1267 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1268 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1269 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" != 416) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.819000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1265 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.821000' WHERE "spree_products"."id" = 416 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.823000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1266 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.825000' WHERE "spree_products"."id" = 416 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.827000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1267 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.829000' WHERE "spree_products"."id" = 416 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.832000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1268 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.833000' WHERE "spree_products"."id" = 416 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 416 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.837000' WHERE "spree_products"."id" = 416  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1269 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:30:59.838000' WHERE "spree_products"."id" = 416 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 416) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 416 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 13:30:59.843000' WHERE "spree_products"."id" = 416 Row org.apache.poi.hssf.usermodel.HSSFRow@1985c76 succesfully SAVED : ID 416 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 414 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" INNER JOIN "spree_product_properties" ON "spree_properties"."id" = "spree_product_properties"."property_id" WHERE "spree_product_properties"."product_id" = 416 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 Spree::ProductProperty Load (0.0ms) SELECT "spree_product_properties".* FROM "spree_product_properties" WHERE "spree_product_properties"."product_id" = 416 SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (7.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (9.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (28.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" PRODUCT # MASTER: # SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (30.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (6.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:00.425000', 'Paintings', '2012-09-25 13:31:00.425000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 496 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 13:31:00.439000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 496, '2012-09-25 13:31:00.439000')  (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 13:31:00.455000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 496, '2012-09-25 13:31:00.455000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:00.487000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:00.487000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.519000' WHERE "spree_products"."id" = 417 SQL (0.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, 417, 'DEMO_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.523000' WHERE "spree_products"."id" = 417  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1270 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.529000' WHERE "spree_products"."id" = 417  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 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" = 417 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 417  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 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 13:31:00.545000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:00.545000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:00.548000', NULL, 305, '2012-09-25 13:31:00.548000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 417, "updated_at" = '2012-09-25 13:31:00.551000' WHERE "spree_product_properties"."id" = 366 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" != 417) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 496 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" = 417 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (417, 920) 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 13:31:00.562000', 'WaterColour', '2012-09-25 13:31:00.562000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 497 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 13:31:00.603000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 497, '2012-09-25 13:31:00.603000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (417, 922) 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" != 417) 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" != 417) LIMIT 1 Spree::OptionType Load (0.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 13:31:00.621000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:00.621000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 417 AND "spree_option_types"."id" = 250 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" = 417) ORDER BY position 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 13:31:00.639000', 250, 1, 417, '2012-09-25 13:31:00.639000') 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" = 250 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 250) ORDER 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 13:31:00.676000', 'jpeg', 250, 1, NULL, '2012-09-25 13:31:00.676000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.687000' WHERE "spree_products"."id" = 417 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, 417, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.691000' WHERE "spree_products"."id" = 417  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1271, 401) 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" = 250 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 250) ORDER 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 13:31:00.697000', 'PDF', 250, 2, NULL, '2012-09-25 13:31:00.697000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.704000' WHERE "spree_products"."id" = 417 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 417, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.708000' WHERE "spree_products"."id" = 417  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1272, 402) 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" = 250 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 250) ORDER 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 13:31:00.713000', 'PNG', 250, 3, NULL, '2012-09-25 13:31:00.713000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.723000' WHERE "spree_products"."id" = 417 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 417, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.728000' WHERE "spree_products"."id" = 417  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1273, 403) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 AND ("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" != 417) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 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" = 417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 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" = 1271 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1272 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1273 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" != 417) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.752000' WHERE "spree_products"."id" = 417  (4.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1271 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.779000' WHERE "spree_products"."id" = 417 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.786000' WHERE "spree_products"."id" = 417  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1272 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.788000' WHERE "spree_products"."id" = 417 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 417 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.790000' WHERE "spree_products"."id" = 417  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1273 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.794000' WHERE "spree_products"."id" = 417 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 417) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 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 13:31:00.799000' WHERE "spree_products"."id" = 417 Row org.apache.poi.hssf.usermodel.HSSFRow@b69761 succesfully SAVED : ID 417 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:00.816000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:00.816000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.821000' WHERE "spree_products"."id" = 418 SQL (0.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, 418, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.827000' WHERE "spree_products"."id" = 418  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1274 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.830000' WHERE "spree_products"."id" = 418  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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" = 418 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 418  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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 13:31:00.836000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:00.836000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:00.840000', NULL, 306, '2012-09-25 13:31:00.840000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 418, "updated_at" = '2012-09-25 13:31:00.841000' WHERE "spree_product_properties"."id" = 367 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" != 418) 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" = 496 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" = 418 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (418, 920) 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 13:31:00.850000', 'Oils', '2012-09-25 13:31:00.850000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 498 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (2.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:00.858000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 498, '2012-09-25 13:31:00.858000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (418, 923) 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" = 496 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" = 920 AND "spree_taxons"."taxonomy_id" = 496 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" = 920 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 13:31:00.875000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 920, 'paintings/nature', 0, 10, 496, '2012-09-25 13:31:00.875000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 920 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 924 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 924 THEN 920 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 920 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 924 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 924 AND "spree_taxons"."taxonomy_id" = 496 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" = 924 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 13:31:00.904000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 924, 'paintings/nature/seascape', 0, 12, 496, '2012-09-25 13:31:00.904000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 924 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 925 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 925 THEN 924 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 924 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 925 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (418, 924)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (418, 925) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 418) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 418 AND "spree_option_types"."id" = 250 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" = 418) ORDER BY position 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 13:31:00.925000', 250, 1, 418, '2012-09-25 13:31:00.925000') 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" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.930000' WHERE "spree_products"."id" = 418 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 418, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.933000' WHERE "spree_products"."id" = 418  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1275, 401) 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" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.945000' WHERE "spree_products"."id" = 418 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 418, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.947000' WHERE "spree_products"."id" = 418  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1276, 402) 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" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.952000' WHERE "spree_products"."id" = 418 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 418, 'DEMO_002_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:00.954000' WHERE "spree_products"."id" = 418  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1277, 403) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 Spree::Variant Load (3.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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" != 418) 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" != 418) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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" = 418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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" = 1275 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1276 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1277 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" != 418) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.015000' WHERE "spree_products"."id" = 418  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1275 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.016000' WHERE "spree_products"."id" = 418 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.019000' WHERE "spree_products"."id" = 418  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1276 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.020000' WHERE "spree_products"."id" = 418 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 418 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.023000' WHERE "spree_products"."id" = 418  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1277 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.024000' WHERE "spree_products"."id" = 418 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 418) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 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 13:31:01.029000' WHERE "spree_products"."id" = 418 Row org.apache.poi.hssf.usermodel.HSSFRow@bb0c51 succesfully SAVED : ID 418 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:01.039000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:01.039000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.066000' WHERE "spree_products"."id" = 419 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, 419, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.068000' WHERE "spree_products"."id" = 419  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1278 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.071000' WHERE "spree_products"."id" = 419  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 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" = 419 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 419  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:01.084000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:01.084000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:01.086000', NULL, 307, '2012-09-25 13:31:01.086000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 419, "updated_at" = '2012-09-25 13:31:01.090000' WHERE "spree_product_properties"."id" = 368 Created New ProductProperty # Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:01.115000', NULL, 306, '2012-09-25 13:31:01.115000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 419, "updated_at" = '2012-09-25 13:31:01.118000' WHERE "spree_product_properties"."id" = 369 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 13:31:01.129000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:01.129000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:01.131000', NULL, 308, '2012-09-25 13:31:01.131000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 419, "updated_at" = '2012-09-25 13:31:01.133000' WHERE "spree_product_properties"."id" = 370 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" != 419) 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 13:31:01.138000', 'Drawings', '2012-09-25 13:31:01.138000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 499 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 13:31:01.147000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 499, '2012-09-25 13:31:01.147000') 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" = 419 Product assigned to Taxons : ["Drawings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (419, 926) 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" = 496 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 920 AND "spree_taxons"."taxonomy_id" = 496 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" = 920 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 13:31:01.168000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 920, 'paintings/landscape', 0, 16, 496, '2012-09-25 13:31:01.168000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 920 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 927 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 927 THEN 920 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 920 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 927 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (419, 927)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (419, 920) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 419) 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" != 419) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 419 AND "spree_option_types"."id" = 250 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" = 419) 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 13:31:01.195000', 250, 1, 419, '2012-09-25 13:31:01.195000') 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" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.204000' WHERE "spree_products"."id" = 419 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 419, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.209000' WHERE "spree_products"."id" = 419  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1279, 401) 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" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.216000' WHERE "spree_products"."id" = 419 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 419, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.219000' WHERE "spree_products"."id" = 419  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1280, 402) Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 250 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.226000' WHERE "spree_products"."id" = 419 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 419, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.228000' WHERE "spree_products"."id" = 419  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1281, 403) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 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 13:31:01.233000', 'print_type', 0, 'Print type', '2012-09-25 13:31:01.233000') 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" = 419 AND "spree_option_types"."id" = 251 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" = 419) ORDER BY position 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 13:31:01.293000', 251, 2, 419, '2012-09-25 13:31:01.293000') 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" = 251 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 251) 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 13:31:01.298000', 'black_white', 251, 1, NULL, '2012-09-25 13:31:01.298000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.316000' WHERE "spree_products"."id" = 419 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, 419, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.319000' WHERE "spree_products"."id" = 419  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1282, 404) 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" = 251 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 251) ORDER 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 13:31:01.324000', 'colour', 251, 2, NULL, '2012-09-25 13:31:01.324000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.329000' WHERE "spree_products"."id" = 419 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 419, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.331000' WHERE "spree_products"."id" = 419  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1283, 405) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("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" != 419) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 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" = 419 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" = 419 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" = 1279 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1280 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1281 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1282 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1283 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" != 419) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 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" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.369000' WHERE "spree_products"."id" = 419  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1279 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.371000' WHERE "spree_products"."id" = 419 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.374000' WHERE "spree_products"."id" = 419  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1280 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.381000' WHERE "spree_products"."id" = 419 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.383000' WHERE "spree_products"."id" = 419  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1281 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.386000' WHERE "spree_products"."id" = 419 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.388000' WHERE "spree_products"."id" = 419  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1282 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.390000' WHERE "spree_products"."id" = 419 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 419 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.394000' WHERE "spree_products"."id" = 419  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1283 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.397000' WHERE "spree_products"."id" = 419 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 419) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 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 13:31:01.410000' WHERE "spree_products"."id" = 419 Row org.apache.poi.hssf.usermodel.HSSFRow@17e77fc succesfully SAVED : ID 419 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 418 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 419 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 417 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 417 ORDER BY spree_option_types.position Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1271 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1272 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 250 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (2.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1273 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (29.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:01.621000', 'Paintings', '2012-09-25 13:31:01.621000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 500 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 13:31:01.634000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 500, '2012-09-25 13:31:01.634000')  (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 13:31:01.644000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 500, '2012-09-25 13:31:01.644000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: #  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:01.674000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:01.674000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (26.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.679000' WHERE "spree_products"."id" = 420 SQL (0.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, 420, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.708000' WHERE "spree_products"."id" = 420  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1284 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.715000' WHERE "spree_products"."id" = 420  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 420  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 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 13:31:01.725000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:01.725000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:01.728000', NULL, 309, '2012-09-25 13:31:01.728000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 420, "updated_at" = '2012-09-25 13:31:01.730000' WHERE "spree_product_properties"."id" = 371 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" != 420) 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" != 420) 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" != 420) 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" = 500 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 420 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (420, 928) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 420) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:01.750000', 'WaterColour', '2012-09-25 13:31:01.750000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 501 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 13:31:01.774000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 501, '2012-09-25 13:31:01.774000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (420, 930) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 420) 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" != 420) 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 13:31:01.823000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:01.823000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 420 AND "spree_option_types"."id" = 252 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" = 420) 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 13:31:01.839000', 252, 1, 420, '2012-09-25 13:31:01.839000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 252 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 252) ORDER 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 13:31:01.897000', 'jpeg', 252, 1, NULL, '2012-09-25 13:31:01.897000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.904000' WHERE "spree_products"."id" = 420 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 420, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.907000' WHERE "spree_products"."id" = 420  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1285, 406) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("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" != 420) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 420 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 252 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 252) ORDER 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 13:31:01.932000', 'PDF', 252, 2, NULL, '2012-09-25 13:31:01.932000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.953000' WHERE "spree_products"."id" = 420 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 420, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.955000' WHERE "spree_products"."id" = 420  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1286, 407) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("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" != 420) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 420 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 252 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 252) ORDER 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 13:31:01.969000', 'PNG', 252, 3, NULL, '2012-09-25 13:31:01.969000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.974000' WHERE "spree_products"."id" = 420 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 420, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:01.976000' WHERE "spree_products"."id" = 420  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1287, 408) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("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" != 420) 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" != 420) 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" != 420) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 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" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 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" = 1285 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1286 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1287 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" != 420) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.011000' WHERE "spree_products"."id" = 420  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1285 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.013000' WHERE "spree_products"."id" = 420 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.015000' WHERE "spree_products"."id" = 420  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1286 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.017000' WHERE "spree_products"."id" = 420 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 420 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.019000' WHERE "spree_products"."id" = 420  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1287 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.020000' WHERE "spree_products"."id" = 420 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 420) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 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 13:31:02.025000' WHERE "spree_products"."id" = 420 Row org.apache.poi.hssf.usermodel.HSSFRow@194169a succesfully SAVED : ID 420 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:02.037000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:02.037000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.041000' WHERE "spree_products"."id" = 421 SQL (0.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, 421, 'DEMO_002', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.044000' WHERE "spree_products"."id" = 421  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1288 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.048000' WHERE "spree_products"."id" = 421  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 421  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:02.057000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:02.057000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:02.059000', NULL, 310, '2012-09-25 13:31:02.059000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 421, "updated_at" = '2012-09-25 13:31:02.063000' WHERE "spree_product_properties"."id" = 372 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" != 421) 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" != 421) 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" != 421) 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" = 500 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" = 421 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (421, 928) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 421) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:02.080000', 'Oils', '2012-09-25 13:31:02.080000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 502 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 13:31:02.084000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 502, '2012-09-25 13:31:02.084000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (421, 931) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 421) 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" = 500 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" = 928 AND "spree_taxons"."taxonomy_id" = 500 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" = 928 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 13:31:02.098000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 928, 'paintings/nature', 0, 10, 500, '2012-09-25 13:31:02.098000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 928 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 932 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 932 THEN 928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 928 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 932 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 932 AND "spree_taxons"."taxonomy_id" = 500 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 932 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 13:31:02.134000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 932, 'paintings/nature/seascape', 0, 12, 500, '2012-09-25 13:31:02.134000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 932 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 933 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 933 THEN 932 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 932 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 933 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (421, 932)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (421, 933) 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" != 421) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 421 AND "spree_option_types"."id" = 252 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" = 421) ORDER BY position 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 13:31:02.152000', 252, 1, 421, '2012-09-25 13:31:02.152000') 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" = 252 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.158000' WHERE "spree_products"."id" = 421 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 421, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.161000' WHERE "spree_products"."id" = 421  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1289, 406) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 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" != 421) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 421 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 252 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.172000' WHERE "spree_products"."id" = 421 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 421, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.174000' WHERE "spree_products"."id" = 421  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1290, 407) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("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" != 421) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 421 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 252 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.189000' WHERE "spree_products"."id" = 421 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, 421, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.191000' WHERE "spree_products"."id" = 421  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1291, 408) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("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" != 421) 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" != 421) 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" != 421) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 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" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 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" = 1289 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1290 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1291 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" != 421) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.218000' WHERE "spree_products"."id" = 421  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1289 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.221000' WHERE "spree_products"."id" = 421 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.223000' WHERE "spree_products"."id" = 421  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1290 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.226000' WHERE "spree_products"."id" = 421 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 421 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.228000' WHERE "spree_products"."id" = 421  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1291 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.230000' WHERE "spree_products"."id" = 421 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 421) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 11, "updated_at" = '2012-09-25 13:31:02.235000' WHERE "spree_products"."id" = 421 Row org.apache.poi.hssf.usermodel.HSSFRow@1f57b35 succesfully SAVED : ID 421 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:02.247000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:02.247000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.251000' WHERE "spree_products"."id" = 422 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, 422, 'DEMO_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.254000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1292 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.257000' WHERE "spree_products"."id" = 422  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 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" = 422 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 422  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:02.263000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:02.263000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:02.273000', NULL, 311, '2012-09-25 13:31:02.273000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 422, "updated_at" = '2012-09-25 13:31:02.275000' WHERE "spree_product_properties"."id" = 373 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" != 422) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:02.279000', NULL, 310, '2012-09-25 13:31:02.279000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 422, "updated_at" = '2012-09-25 13:31:02.281000' WHERE "spree_product_properties"."id" = 374 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" != 422) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:02.287000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:02.287000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:02.290000', NULL, 312, '2012-09-25 13:31:02.290000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 422, "updated_at" = '2012-09-25 13:31:02.294000' WHERE "spree_product_properties"."id" = 375 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" != 422) 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 13:31:02.300000', 'Drawings', '2012-09-25 13:31:02.300000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 503 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 13:31:02.305000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 503, '2012-09-25 13:31:02.305000') 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" = 422 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (422, 934) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 422) 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" = 500 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 928 AND "spree_taxons"."taxonomy_id" = 500 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 928 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:02.318000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 928, 'paintings/landscape', 0, 16, 500, '2012-09-25 13:31:02.318000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 928 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 935 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 935 THEN 928 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 928 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 935 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (422, 935)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (422, 928) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 422) 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" != 422) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 422 AND "spree_option_types"."id" = 252 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" = 422) ORDER BY position 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 13:31:02.342000', 252, 1, 422, '2012-09-25 13:31:02.342000') 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" = 252 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.349000' WHERE "spree_products"."id" = 422 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, 422, 'DEMO_003_1', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.351000' WHERE "spree_products"."id" = 422  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1293, 406) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("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" != 422) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 422 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 252 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.369000' WHERE "spree_products"."id" = 422 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, 422, 'DEMO_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.371000' WHERE "spree_products"."id" = 422  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1294, 407) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("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" != 422) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 422 AND "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 252 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.385000' WHERE "spree_products"."id" = 422 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, 422, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.387000' WHERE "spree_products"."id" = 422  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1295, 408) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("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" != 422) 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 13:31:02.396000', 'print_type', 0, 'Print type', '2012-09-25 13:31:02.396000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 422 AND "spree_option_types"."id" = 253 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" = 422) ORDER BY position 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 13:31:02.445000', 253, 2, 422, '2012-09-25 13:31:02.445000') 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" = 253 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 253) ORDER 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 13:31:02.450000', 'black_white', 253, 1, NULL, '2012-09-25 13:31:02.450000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.459000' WHERE "spree_products"."id" = 422 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 422, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.462000' WHERE "spree_products"."id" = 422  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1296, 409) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("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" != 422) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 422 AND "spree_option_types"."id" = 253 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 253 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 253) 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 13:31:02.480000', 'colour', 253, 2, NULL, '2012-09-25 13:31:02.480000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.494000' WHERE "spree_products"."id" = 422 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 422, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.496000' WHERE "spree_products"."id" = 422  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1297, 410) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("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" != 422) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 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" = 422 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" = 422 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" = 1293 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1294 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1295 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1296 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1297 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" != 422) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.545000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1293 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.548000' WHERE "spree_products"."id" = 422 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.550000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1294 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.551000' WHERE "spree_products"."id" = 422 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.556000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1295 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.558000' WHERE "spree_products"."id" = 422 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.560000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1296 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.562000' WHERE "spree_products"."id" = 422 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 422 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.563000' WHERE "spree_products"."id" = 422  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1297 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.565000' WHERE "spree_products"."id" = 422 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 422) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 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 13:31:02.569000' WHERE "spree_products"."id" = 422 Row org.apache.poi.hssf.usermodel.HSSFRow@4752a9 succesfully SAVED : ID 422 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 421 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 422 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 420 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 420 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1285 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1286 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 252 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1287 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (30.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:02.829000', 'Paintings', '2012-09-25 13:31:02.829000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 504 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 13:31:02.834000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 504, '2012-09-25 13:31:02.834000')  (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 13:31:02.845000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 504, '2012-09-25 13:31:02.845000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: #  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (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 13:31:02.892000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:02.892000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.897000' WHERE "spree_products"."id" = 423 SQL (0.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, 423, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.899000' WHERE "spree_products"."id" = 423  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1298 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:02.902000' WHERE "spree_products"."id" = 423  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 423  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 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 13:31:02.938000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:02.938000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:02.943000', NULL, 313, '2012-09-25 13:31:02.943000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 423, "updated_at" = '2012-09-25 13:31:02.945000' WHERE "spree_product_properties"."id" = 376 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 423) 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" = 504 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" = 423 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (423, 936) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 423) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:02.967000', 'WaterColour', '2012-09-25 13:31:02.967000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 505 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 13:31:02.970000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 505, '2012-09-25 13:31:02.970000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (423, 938) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 423) LIMIT 1 Spree::OptionType Load (0.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 13:31:02.985000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:02.985000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 423 AND "spree_option_types"."id" = 254 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" = 423) ORDER BY position 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 13:31:02.993000', 254, 1, 423, '2012-09-25 13:31:02.993000') 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" = 254 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 254) ORDER 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 13:31:02.998000', 'jpeg', 254, 1, NULL, '2012-09-25 13:31:02.998000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.004000' WHERE "spree_products"."id" = 423 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 423, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.006000' WHERE "spree_products"."id" = 423  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1299, 411) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("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" != 423) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 423 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 254 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 254) ORDER 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 13:31:03.044000', 'PDF', 254, 2, NULL, '2012-09-25 13:31:03.044000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.053000' WHERE "spree_products"."id" = 423 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 423, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.056000' WHERE "spree_products"."id" = 423  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1300, 412) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("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" != 423) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 423 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 254 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 254) ORDER 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 13:31:03.072000', 'PNG', 254, 3, NULL, '2012-09-25 13:31:03.072000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 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" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.078000' WHERE "spree_products"."id" = 423 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 423, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.080000' WHERE "spree_products"."id" = 423  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1301, 413) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("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" != 423) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 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" = 423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 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" = 1299 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1300 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1301 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" != 423) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.120000' WHERE "spree_products"."id" = 423  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1299 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.121000' WHERE "spree_products"."id" = 423 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.124000' WHERE "spree_products"."id" = 423  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1300 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.125000' WHERE "spree_products"."id" = 423 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 423 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.127000' WHERE "spree_products"."id" = 423  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1301 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.130000' WHERE "spree_products"."id" = 423 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 423) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 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 13:31:03.137000' WHERE "spree_products"."id" = 423 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:03.147000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:03.147000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.150000' WHERE "spree_products"."id" = 424 SQL (0.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, 424, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.154000' WHERE "spree_products"."id" = 424  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1302 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.156000' WHERE "spree_products"."id" = 424  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 424  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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 13:31:03.170000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:03.170000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:03.173000', NULL, 314, '2012-09-25 13:31:03.173000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 424, "updated_at" = '2012-09-25 13:31:03.177000' WHERE "spree_product_properties"."id" = 377 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 424) 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" = 504 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" = 424 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (424, 936) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 424) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:03.194000', 'Oils', '2012-09-25 13:31:03.194000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 506 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 13:31:03.198000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 506, '2012-09-25 13:31:03.198000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (424, 939) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 424) 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" = 504 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" = 936 AND "spree_taxons"."taxonomy_id" = 504 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" = 936 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:03.209000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 936, 'paintings/nature', 0, 10, 504, '2012-09-25 13:31:03.209000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 936 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 940 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 2 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 2 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 940 THEN 936 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 936 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 940 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 940 AND "spree_taxons"."taxonomy_id" = 504 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" = 940 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 13:31:03.224000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 940, 'paintings/nature/seascape', 0, 12, 504, '2012-09-25 13:31:03.224000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 940 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 941 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 3 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 3 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 3 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 3 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 941 THEN 940 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 940 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 941 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (424, 940)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (424, 941) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 424) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 424 AND "spree_option_types"."id" = 254 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" = 424) ORDER BY position 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 13:31:03.246000', 254, 1, 424, '2012-09-25 13:31:03.246000') 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" = 254 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.251000' WHERE "spree_products"."id" = 424 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 424, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.254000' WHERE "spree_products"."id" = 424  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1303, 411) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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" != 424) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 424 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 254 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.267000' WHERE "spree_products"."id" = 424 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 424, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.270000' WHERE "spree_products"."id" = 424  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1304, 412) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("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" != 424) 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" = 424 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 254 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.282000' WHERE "spree_products"."id" = 424 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 424, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.284000' WHERE "spree_products"."id" = 424  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1305, 413) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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" != 424) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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" = 424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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" = 1303 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1304 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" = 1305 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" != 424) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.321000' WHERE "spree_products"."id" = 424  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1303 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.324000' WHERE "spree_products"."id" = 424 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.326000' WHERE "spree_products"."id" = 424  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1304 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.328000' WHERE "spree_products"."id" = 424 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 424 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.330000' WHERE "spree_products"."id" = 424  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1305 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.332000' WHERE "spree_products"."id" = 424 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 424) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 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 13:31:03.339000' WHERE "spree_products"."id" = 424 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value 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  (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 13:31:03.349000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:03.349000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.352000' WHERE "spree_products"."id" = 425 SQL (0.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, 425, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.354000' WHERE "spree_products"."id" = 425  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1306 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.360000' WHERE "spree_products"."id" = 425  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 425  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:03.366000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:03.366000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:03.369000', NULL, 315, '2012-09-25 13:31:03.369000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 425, "updated_at" = '2012-09-25 13:31:03.372000' WHERE "spree_product_properties"."id" = 378 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" != 425) LIMIT 1 Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:03.378000', NULL, 314, '2012-09-25 13:31:03.378000', 'Example free value')  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 425, "updated_at" = '2012-09-25 13:31:03.380000' WHERE "spree_product_properties"."id" = 379 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" != 425) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:03.385000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:03.385000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:03.387000', NULL, 316, '2012-09-25 13:31:03.387000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 425, "updated_at" = '2012-09-25 13:31:03.404000' WHERE "spree_product_properties"."id" = 380 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" != 425) 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 13:31:03.411000', 'Drawings', '2012-09-25 13:31:03.411000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 507 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 13:31:03.416000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 507, '2012-09-25 13:31:03.416000') 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" = 425 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (425, 942) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 425) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 504 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" = 936 AND "spree_taxons"."taxonomy_id" = 504 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" = 936 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 13:31:03.427000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 936, 'paintings/landscape', 0, 16, 504, '2012-09-25 13:31:03.427000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 936 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 943 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 6 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 6 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 6 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 6 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 943 THEN 936 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 936 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 943 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (425, 943)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (425, 936) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 425) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 425 AND "spree_option_types"."id" = 254 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" = 425) ORDER BY position 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 13:31:03.465000', 254, 1, 425, '2012-09-25 13:31:03.465000') 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" = 254 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.471000' WHERE "spree_products"."id" = 425 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 425, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.473000' WHERE "spree_products"."id" = 425  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1307, 411) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("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" != 425) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 425 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 254 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.494000' WHERE "spree_products"."id" = 425 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 425, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.496000' WHERE "spree_products"."id" = 425  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1308, 412) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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" != 425) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 425 AND "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 254 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.511000' WHERE "spree_products"."id" = 425 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 425, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.513000' WHERE "spree_products"."id" = 425  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1309, 413) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("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" != 425) 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 13:31:03.520000', 'print_type', 0, 'Print type', '2012-09-25 13:31:03.520000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 425 AND "spree_option_types"."id" = 255 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" = 425) ORDER BY position 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 13:31:03.578000', 255, 2, 425, '2012-09-25 13:31:03.578000') Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 255 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 255) ORDER 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 13:31:03.582000', 'black_white', 255, 1, NULL, '2012-09-25 13:31:03.582000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.586000' WHERE "spree_products"."id" = 425 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 425, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.589000' WHERE "spree_products"."id" = 425  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1310, 414) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("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" != 425) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 425 AND "spree_option_types"."id" = 255 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 255 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 255) ORDER 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 13:31:03.602000', 'colour', 255, 2, NULL, '2012-09-25 13:31:03.602000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.610000' WHERE "spree_products"."id" = 425 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 425, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.613000' WHERE "spree_products"."id" = 425  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1311, 415) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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" != 425) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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" = 425 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" = 425 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" = 1307 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1308 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1309 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1310 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1311 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" != 425) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.641000' WHERE "spree_products"."id" = 425  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1307 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.643000' WHERE "spree_products"."id" = 425 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.645000' WHERE "spree_products"."id" = 425  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1308 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.647000' WHERE "spree_products"."id" = 425 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.649000' WHERE "spree_products"."id" = 425  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1309 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.650000' WHERE "spree_products"."id" = 425 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.652000' WHERE "spree_products"."id" = 425  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1310 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.654000' WHERE "spree_products"."id" = 425 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 425 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.656000' WHERE "spree_products"."id" = 425  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1311 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.658000' WHERE "spree_products"."id" = 425 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 425) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 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 13:31:03.662000' WHERE "spree_products"."id" = 425  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 424 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 425 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 423 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 423 ORDER BY spree_option_types.position Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1299 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1300 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."id" = 254 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1301 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" ORDER BY "spree_variants"."id" DESC LIMIT 1 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (25.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_variants"  SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:03.766000', 'Paintings', '2012-09-25 13:31:03.766000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 508 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 13:31:03.771000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 508, '2012-09-25 13:31:03.771000')  (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 13:31:03.781000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 508, '2012-09-25 13:31:03.781000')  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # Current value to assign : MV_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (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 13:31:03.805000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:03.805000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.809000' WHERE "spree_products"."id" = 426 SQL (0.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, 426, 'MV_001', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.811000' WHERE "spree_products"."id" = 426  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1312 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.840000' WHERE "spree_products"."id" = 426  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 426  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:31:03.849000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:03.849000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 426 AND "spree_option_types"."id" = 256 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" = 426) ORDER BY position 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 13:31:03.859000', 256, 1, 426, '2012-09-25 13:31:03.859000') 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 13:31:03.864000', 'print_type', 0, 'Print type', '2012-09-25 13:31:03.864000') 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" = 426 AND "spree_option_types"."id" = 257 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" = 426) ORDER BY position 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 13:31:03.870000', 257, 2, 426, '2012-09-25 13:31:03.870000') 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" = 256 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 256) ORDER 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 13:31:03.930000', 'jpeg', 256, 1, NULL, '2012-09-25 13:31:03.930000') 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" = 257 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 257) ORDER 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 13:31:03.939000', 'colour', 257, 1, NULL, '2012-09-25 13:31:03.939000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.943000' WHERE "spree_products"."id" = 426 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, 426, 'MV_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.947000' WHERE "spree_products"."id" = 426  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1313, 416)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1313, 417) 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" = 256 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 256) 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 13:31:03.954000', 'PDF', 256, 2, NULL, '2012-09-25 13:31:03.954000') 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" = 257 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.961000' WHERE "spree_products"."id" = 426 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 426, 'MV_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.963000' WHERE "spree_products"."id" = 426  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1314, 418)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1314, 417) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 Current value to assign : Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("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" != 426) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 426 AND "spree_option_types"."id" = 256 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 256 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 256) ORDER 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 13:31:03.984000', 'PNG', 256, 3, NULL, '2012-09-25 13:31:03.984000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.989000' WHERE "spree_products"."id" = 426 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, 426, 'MV_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:03.991000' WHERE "spree_products"."id" = 426  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1315, 419) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("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" != 426) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 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" = 426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 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" = 1313 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1314 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1315 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" != 426) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 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" = 426 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.008000' WHERE "spree_products"."id" = 426  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1313 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.010000' WHERE "spree_products"."id" = 426 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.011000' WHERE "spree_products"."id" = 426  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1314 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.014000' WHERE "spree_products"."id" = 426 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 426 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.015000' WHERE "spree_products"."id" = 426  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1315 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.017000' WHERE "spree_products"."id" = 426 Saving csv row MV_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00mime_type:jpeg, PDF;print_type:colourmime_type:PNG12|6|7 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 426) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 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 13:31:04.031000' WHERE "spree_products"."id" = 426 Current value to assign : MV_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:04.043000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:04.043000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.046000' WHERE "spree_products"."id" = 427 SQL (0.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, 427, 'MV_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.049000' WHERE "spree_products"."id" = 427  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1316 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.051000' WHERE "spree_products"."id" = 427  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 427  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (1.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 427 AND "spree_option_types"."id" = 256 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" = 427) ORDER BY position 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 13:31:04.060000', 256, 1, 427, '2012-09-25 13:31:04.060000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 427 AND "spree_option_types"."id" = 257 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" = 427) ORDER BY position 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 13:31:04.072000', 257, 2, 427, '2012-09-25 13:31:04.072000') 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" = 257 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 257) 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 13:31:04.079000', 'black_white', 257, 2, NULL, '2012-09-25 13:31:04.079000') 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" = 256 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.085000' WHERE "spree_products"."id" = 427 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 427, 'MV_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.088000' WHERE "spree_products"."id" = 427  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1317, 420)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1317, 416) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("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" != 427) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 427 AND "spree_option_types"."id" = 256 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 427 AND "spree_option_types"."id" = 257 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 257 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 256 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.109000' WHERE "spree_products"."id" = 427 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 427, 'MV_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.111000' WHERE "spree_products"."id" = 427  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1318, 420)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1318, 419) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("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" != 427) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 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" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 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" = 1317 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1318 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" != 427) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.133000' WHERE "spree_products"."id" = 427  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1317 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.135000' WHERE "spree_products"."id" = 427 Spree::Product Load (2.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 427 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.139000' WHERE "spree_products"."id" = 427  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1318 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.140000' WHERE "spree_products"."id" = 427 Saving csv row MV_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00mime_type:jpeg;print_type:black_whitemime_type:PNG;print_type:black_white5|4 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 427) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 427 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 9, "updated_at" = '2012-09-25 13:31:04.145000' WHERE "spree_products"."id" = 427 Current value to assign : MV_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:04.153000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:04.153000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.156000' WHERE "spree_products"."id" = 428 SQL (0.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, 428, 'MV_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.161000' WHERE "spree_products"."id" = 428  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1319 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.164000' WHERE "spree_products"."id" = 428  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 428  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 428 AND "spree_option_types"."id" = 256 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" = 428) ORDER BY position 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 13:31:04.176000', 256, 1, 428, '2012-09-25 13:31:04.176000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 428 AND "spree_option_types"."id" = 257 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" = 428) ORDER BY position 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 13:31:04.182000', 257, 2, 428, '2012-09-25 13:31:04.182000') Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'size' ORDER BY spree_option_types.position LIMIT 1 SQL (0.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:31:04.186000', 'size', 0, 'Size', '2012-09-25 13:31:04.186000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 428 AND "spree_option_types"."id" = 258 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" = 428) ORDER BY position 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 13:31:04.191000', 258, 3, 428, '2012-09-25 13:31:04.191000') 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" = 257 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 258 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 258) ORDER 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 13:31:04.197000', 'large', 258, 1, NULL, '2012-09-25 13:31:04.197000') 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" = 256 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.203000' WHERE "spree_products"."id" = 428 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 428, 'MV_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.204000' WHERE "spree_products"."id" = 428  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1320, 417)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1320, 421)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1320, 416) Spree::OptionValue Load (30.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'sepia' AND "spree_option_values"."option_type_id" = 257 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 257) ORDER 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 13:31:04.241000', 'sepia', 257, 3, NULL, '2012-09-25 13:31:04.241000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'large' AND "spree_option_values"."option_type_id" = 258 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 256 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.265000' WHERE "spree_products"."id" = 428 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 428, 'MV_003_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.267000' WHERE "spree_products"."id" = 428  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1321, 422)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1321, 421)  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1321, 416) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 428 AND "spree_option_types"."id" = 256 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 256 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.277000' WHERE "spree_products"."id" = 428 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 428, 'MV_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.280000' WHERE "spree_products"."id" = 428  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1322, 419) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("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" != 428) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 428 AND "spree_option_types"."id" = 256 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 256 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 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" = 428 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.298000' WHERE "spree_products"."id" = 428 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 428, 'MV_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.303000' WHERE "spree_products"."id" = 428  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1323, 418) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 428 AND "spree_option_types"."id" = 257 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'black_white' AND "spree_option_values"."option_type_id" = 257 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.315000' WHERE "spree_products"."id" = 428 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 428, 'MV_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.317000' WHERE "spree_products"."id" = 428  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1324, 420) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 428 LIMIT 1 Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("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" != 428) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 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" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Saving csv row MV_003Demo third row in futuremore blah blah2012-07-0150.3423.34mime_type:jpeg;print_type:colour, sepia;size:large|mime_type:PNGmime_type:PDF|print_type:black_white12|4|7|12 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 428) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 428 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" = 428 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL)  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_variants" Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 426 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) ORDER BY "spree_variants".position ASC Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 426 ORDER BY spree_option_types.position Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" INNER JOIN "spree_option_values_variants" ON "spree_option_values"."id" = "spree_option_values_variants"."option_value_id" WHERE "spree_option_values_variants"."variant_id" = 1313 Booted Spree using version 1.1.3 SQL (35.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (3.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (0.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Current value to assign : 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  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:31:04.733000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:04.733000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.740000' WHERE "spree_products"."id" = 429 SQL (0.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, 429, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.742000' WHERE "spree_products"."id" = 429  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1325 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.750000' WHERE "spree_products"."id" = 429  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 429  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 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 13:31:04.769000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:04.769000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:04.772000', NULL, 317, '2012-09-25 13:31:04.772000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 429, "updated_at" = '2012-09-25 13:31:04.773000' WHERE "spree_product_properties"."id" = 381 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" != 429) 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 13:31:04.781000', 'Paintings', '2012-09-25 13:31:04.781000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 509 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 13:31:04.811000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 509, '2012-09-25 13:31:04.811000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 429 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (429, 946) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:04.821000', 'WaterColour', '2012-09-25 13:31:04.821000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 510 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 13:31:04.824000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 510, '2012-09-25 13:31:04.824000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (429, 947) 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" != 429) LIMIT 1 Spree::OptionType Load (0.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 13:31:04.837000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:04.837000') 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" = 429 AND "spree_option_types"."id" = 259 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" = 429) ORDER BY position 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 13:31:04.847000', 259, 1, 429, '2012-09-25 13:31:04.847000') 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" = 259 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 259) ORDER 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 13:31:04.852000', 'jpeg', 259, 1, NULL, '2012-09-25 13:31:04.852000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.856000' WHERE "spree_products"."id" = 429 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, 429, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.885000' WHERE "spree_products"."id" = 429  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1326, 423) 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" = 259 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 259) ORDER 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 13:31:04.890000', 'PDF', 259, 2, NULL, '2012-09-25 13:31:04.890000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.893000' WHERE "spree_products"."id" = 429 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 429, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.895000' WHERE "spree_products"."id" = 429  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1327, 424) 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" = 259 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 259) ORDER 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 13:31:04.899000', 'PNG', 259, 3, NULL, '2012-09-25 13:31:04.899000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.903000' WHERE "spree_products"."id" = 429 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 429, 'DEMO_001_3', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.905000' WHERE "spree_products"."id" = 429  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1328, 425) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 AND ("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" != 429) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 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" = 429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 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" = 1326 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1327 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1328 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" != 429) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.929000' WHERE "spree_products"."id" = 429  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1326 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.932000' WHERE "spree_products"."id" = 429 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.934000' WHERE "spree_products"."id" = 429  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1327 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.936000' WHERE "spree_products"."id" = 429 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.940000' WHERE "spree_products"."id" = 429  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1328 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:04.942000' WHERE "spree_products"."id" = 429 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" != 429) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 429 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" = 1325 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1325 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:31:05.027000', 240, 0, 'Spree::Image', 1325, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_001Demo Product for AR Loaderblah blah14/02/2011399.99320test_pp_001Paintings|WaterColourmime_type:jpeg,PDF,PNG12|6|7fixtures/images/DEMO_001_ror_bag.jpeg to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 429) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 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 13:31:05.731000' WHERE "spree_products"."id" = 429 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 14/05/2011 Current value to assign : 100 Current value to assign : 30  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES (NULL, 0, '2012-09-25 13:31:05.744000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:05.744000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.780000' WHERE "spree_products"."id" = 430 SQL (0.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, 430, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.783000' WHERE "spree_products"."id" = 430  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1329 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.786000' WHERE "spree_products"."id" = 430  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 430  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 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 13:31:05.794000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:05.794000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:05.798000', NULL, 318, '2012-09-25 13:31:05.798000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 430, "updated_at" = '2012-09-25 13:31:05.801000' WHERE "spree_product_properties"."id" = 382 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" != 430) 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" = 509 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" = 430 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (430, 946) 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 13:31:05.810000', 'Landscape', '2012-09-25 13:31:05.810000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 511 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 13:31:05.813000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 511, '2012-09-25 13:31:05.813000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (430, 948) 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 13:31:05.820000', 'Oils', '2012-09-25 13:31:05.820000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 512 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 13:31:05.824000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 512, '2012-09-25 13:31:05.824000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (430, 949) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 430) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 430 AND "spree_option_types"."id" = 259 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" = 430) ORDER BY position 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 13:31:05.834000', 259, 1, 430, '2012-09-25 13:31:05.834000') 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" = 259 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.839000' WHERE "spree_products"."id" = 430 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 430, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.841000' WHERE "spree_products"."id" = 430  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1330, 423) 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" = 259 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.846000' WHERE "spree_products"."id" = 430 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 430, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.848000' WHERE "spree_products"."id" = 430  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1331, 424) 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" = 259 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.853000' WHERE "spree_products"."id" = 430 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 430, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.855000' WHERE "spree_products"."id" = 430  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1332, 425) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 AND ("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" != 430) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 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" = 430 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" = 430 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" = 1330 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1331 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" = 1332 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" != 430) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.877000' WHERE "spree_products"."id" = 430  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1330 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.878000' WHERE "spree_products"."id" = 430 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.880000' WHERE "spree_products"."id" = 430  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1331 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.882000' WHERE "spree_products"."id" = 430 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.884000' WHERE "spree_products"."id" = 430  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1332 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:05.886000' WHERE "spree_products"."id" = 430 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 430) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 430 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" = 1329 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1329 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:31:05.954000', 2424, 0, 'Spree::Image', 1329, 'Spree::Variant') Product assigned an Image : nil Saving csv row DEMO_002Demo Excel Load via Jrubyless blah14/05/201110030test_pp_003Paintings|Landscape|Oilsmime_type:jpeg, PDF,PNG5|4|2fixtures/images/DEMO_002_Powerstation.jpg to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 430) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 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 13:31:10.044000' WHERE "spree_products"."id" = 430 Current value 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 (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-01-07 00:00:00.000000', 0, '2012-09-25 13:31:10.054000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:10.054000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.058000' WHERE "spree_products"."id" = 431 SQL (0.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, 431, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.060000' WHERE "spree_products"."id" = 431  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1333 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.062000' WHERE "spree_products"."id" = 431  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 431  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:10.071000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:10.071000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:10.074000', NULL, 319, '2012-09-25 13:31:10.074000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 431, "updated_at" = '2012-09-25 13:31:10.075000' WHERE "spree_product_properties"."id" = 383 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 13:31:10.079000', NULL, 318, '2012-09-25 13:31:10.079000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 431, "updated_at" = '2012-09-25 13:31:10.081000' WHERE "spree_product_properties"."id" = 384 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 13:31:10.083000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:10.083000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:10.085000', NULL, 320, '2012-09-25 13:31:10.085000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 431, "updated_at" = '2012-09-25 13:31:10.087000' WHERE "spree_product_properties"."id" = 385 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" != 431) 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 13:31:10.091000', 'Drawings', '2012-09-25 13:31:10.091000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 513 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 13:31:10.097000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 513, '2012-09-25 13:31:10.097000') 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" = 431 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (431, 950) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 431) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 431 AND "spree_option_types"."id" = 259 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" = 431) ORDER BY position 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 13:31:10.113000', 259, 1, 431, '2012-09-25 13:31:10.113000') 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" = 259 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.117000' WHERE "spree_products"."id" = 431 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 431, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.119000' WHERE "spree_products"."id" = 431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1334, 423) 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" = 259 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.124000' WHERE "spree_products"."id" = 431 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 431, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.127000' WHERE "spree_products"."id" = 431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1335, 424) 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" = 259 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.131000' WHERE "spree_products"."id" = 431 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 431, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.133000' WHERE "spree_products"."id" = 431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1336, 425) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 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 13:31:10.136000', 'print_type', 0, 'Print type', '2012-09-25 13:31:10.136000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 431 AND "spree_option_types"."id" = 260 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" = 431) ORDER BY position 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 13:31:10.142000', 260, 2, 431, '2012-09-25 13:31:10.142000') 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" = 260 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 260) ORDER 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 13:31:10.147000', 'black_white', 260, 1, NULL, '2012-09-25 13:31:10.147000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.155000' WHERE "spree_products"."id" = 431 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 431, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.157000' WHERE "spree_products"."id" = 431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1337, 426) 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" = 260 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 260) ORDER 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 13:31:10.161000', 'colour', 260, 2, NULL, '2012-09-25 13:31:10.161000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.164000' WHERE "spree_products"."id" = 431 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 431, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.166000' WHERE "spree_products"."id" = 431  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1338, 427) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 AND ("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" != 431) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 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" = 431 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 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" = 1334 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1335 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1336 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1337 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1338 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" != 431) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 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" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.190000' WHERE "spree_products"."id" = 431  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1334 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.192000' WHERE "spree_products"."id" = 431 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.194000' WHERE "spree_products"."id" = 431  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1335 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.195000' WHERE "spree_products"."id" = 431 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.198000' WHERE "spree_products"."id" = 431  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1336 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.199000' WHERE "spree_products"."id" = 431 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.201000' WHERE "spree_products"."id" = 431  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1337 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.202000' WHERE "spree_products"."id" = 431 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.204000' WHERE "spree_products"."id" = 431  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1338 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:10.206000' WHERE "spree_products"."id" = 431 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 431) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 431 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" = 1333 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1333 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:31:10.234000', 240, 0, 'Spree::Image', 1333, 'Spree::Variant') Product assigned an Image : nil 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" != 431) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 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 13:31:10.975000' WHERE "spree_products"."id" = 431 Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."name" = 'Demo Product for AR Loader' LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 429 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 = 1325) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 429)) Spree::Image Load (1.0ms) SELECT "spree_assets".* FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') AND "spree_assets"."viewable_id" = 1325 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" = 429 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 = 1325) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 429)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 430 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 = 1329) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 430)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 431 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 = 1333) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 431))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (28.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products"  PRODUCT # MASTER: # Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:11.208000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:11.208000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.244000' WHERE "spree_products"."id" = 432 SQL (0.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, 432, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.247000' WHERE "spree_products"."id" = 432  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1339 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.254000' WHERE "spree_products"."id" = 432  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 432  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (1.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_001' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:11.267000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:11.267000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:11.276000', NULL, 321, '2012-09-25 13:31:11.276000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 432, "updated_at" = '2012-09-25 13:31:11.280000' WHERE "spree_product_properties"."id" = 386 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" != 432) 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 13:31:11.286000', 'Paintings', '2012-09-25 13:31:11.286000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 514 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 13:31:11.292000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 514, '2012-09-25 13:31:11.292000') 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" = 432 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (432, 951) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:11.299000', 'WaterColour', '2012-09-25 13:31:11.299000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 515 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 13:31:11.303000', NULL, NULL, NULL, NULL, NULL, 3, 'WaterColour', NULL, 'watercolour', 0, 4, 515, '2012-09-25 13:31:11.303000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (432, 952) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 432) LIMIT 1 Spree::OptionType Load (0.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 13:31:11.312000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:11.312000') 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" = 432 AND "spree_option_types"."id" = 261 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" = 432) ORDER BY position 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 13:31:11.320000', 261, 1, 432, '2012-09-25 13:31:11.320000') 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" = 261 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 261) ORDER 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 13:31:11.326000', 'jpeg', 261, 1, NULL, '2012-09-25 13:31:11.326000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.331000' WHERE "spree_products"."id" = 432 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 432, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.334000' WHERE "spree_products"."id" = 432  (2.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1340, 428) 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" = 261 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 261) ORDER 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 13:31:11.364000', 'PDF', 261, 2, NULL, '2012-09-25 13:31:11.364000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.369000' WHERE "spree_products"."id" = 432 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 432, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.371000' WHERE "spree_products"."id" = 432  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1341, 429) 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" = 261 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 261) ORDER 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 13:31:11.375000', 'PNG', 261, 3, NULL, '2012-09-25 13:31:11.375000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.379000' WHERE "spree_products"."id" = 432 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 432, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.382000' WHERE "spree_products"."id" = 432  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1342, 430) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 AND ("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" != 432) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 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" = 432 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" = 432 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" = 1340 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" = 1341 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1342 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" != 432) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 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" = 432 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.408000' WHERE "spree_products"."id" = 432  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1340 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.409000' WHERE "spree_products"."id" = 432 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.413000' WHERE "spree_products"."id" = 432  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1341 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.414000' WHERE "spree_products"."id" = 432 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.416000' WHERE "spree_products"."id" = 432  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1342 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:11.419000' WHERE "spree_products"."id" = 432 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 432) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 432 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" = 1339 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (1.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1339 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Product for AR Loader', 'image/jpeg', 'DEMO_001_ror_bag.jpeg', 16307, 240, '2012-09-25 13:31:11.426000', 240, 0, 'Spree::Image', 1339, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 432) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 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 13:31:12.186000' WHERE "spree_products"."id" = 432 Row org.apache.poi.hssf.usermodel.HSSFRow@2aa8ef succesfully SAVED : ID 432 Current value to assign : DEMO_002 Current value to 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 13:31:12.232000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:12.232000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.238000' WHERE "spree_products"."id" = 433 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, 433, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.241000' WHERE "spree_products"."id" = 433  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1343 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.245000' WHERE "spree_products"."id" = 433  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 433  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 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 13:31:12.256000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:12.256000') Created New Property # SQL (1.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:12.261000', NULL, 322, '2012-09-25 13:31:12.261000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 433, "updated_at" = '2012-09-25 13:31:12.262000' WHERE "spree_product_properties"."id" = 387 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" != 433) 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" = 514 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 433 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (433, 951) 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 13:31:12.273000', 'Landscape', '2012-09-25 13:31:12.273000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 516 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 13:31:12.277000', NULL, NULL, NULL, NULL, NULL, 5, 'Landscape', NULL, 'landscape', 0, 6, 516, '2012-09-25 13:31:12.277000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (433, 953) 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 13:31:12.283000', 'Oils', '2012-09-25 13:31:12.283000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 517 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 13:31:12.288000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 517, '2012-09-25 13:31:12.288000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (433, 954) 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" != 433) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 433 AND "spree_option_types"."id" = 261 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" = 433) ORDER BY position 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 13:31:12.299000', 261, 1, 433, '2012-09-25 13:31:12.299000') 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" = 261 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.304000' WHERE "spree_products"."id" = 433 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, 433, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.307000' WHERE "spree_products"."id" = 433  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1344, 428) 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" = 261 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.311000' WHERE "spree_products"."id" = 433 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 433, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.314000' WHERE "spree_products"."id" = 433  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1345, 429) 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" = 261 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.321000' WHERE "spree_products"."id" = 433 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 433, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.323000' WHERE "spree_products"."id" = 433  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1346, 430) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 AND ("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" != 433) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 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" = 433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 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" = 1344 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1345 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1346 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" != 433) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.346000' WHERE "spree_products"."id" = 433  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1344 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.349000' WHERE "spree_products"."id" = 433 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.351000' WHERE "spree_products"."id" = 433  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1345 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.353000' WHERE "spree_products"."id" = 433 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.355000' WHERE "spree_products"."id" = 433  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1346 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:12.357000' WHERE "spree_products"."id" = 433 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 433) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 433 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" = 1343 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1343 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo Excel Load via Jruby', 'image/jpeg', 'DEMO_002_Powerstation.jpg', 3702557, 1584, '2012-09-25 13:31:12.419000', 2424, 0, 'Spree::Image', 1343, 'Spree::Variant') Product assigned an Image : nil 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" != 433) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 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 13:31:16.526000' WHERE "spree_products"."id" = 433 Row org.apache.poi.hssf.usermodel.HSSFRow@128166e succesfully SAVED : ID 433 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:16.535000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:16.535000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.539000' WHERE "spree_products"."id" = 434 SQL (0.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, 434, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.541000' WHERE "spree_products"."id" = 434  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1347 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.543000' WHERE "spree_products"."id" = 434  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 434  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:16.550000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:16.550000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:16.553000', NULL, 323, '2012-09-25 13:31:16.553000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 434, "updated_at" = '2012-09-25 13:31:16.555000' WHERE "spree_product_properties"."id" = 388 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 13:31:16.558000', NULL, 322, '2012-09-25 13:31:16.558000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 434, "updated_at" = '2012-09-25 13:31:16.560000' WHERE "spree_product_properties"."id" = 389 Created New ProductProperty # Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:16.562000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:16.562000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:16.564000', NULL, 324, '2012-09-25 13:31:16.564000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 434, "updated_at" = '2012-09-25 13:31:16.566000' WHERE "spree_product_properties"."id" = 390 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" != 434) 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 13:31:16.569000', 'Drawings', '2012-09-25 13:31:16.569000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 518 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 13:31:16.573000', NULL, NULL, NULL, NULL, NULL, 9, 'Drawings', NULL, 'drawings', 0, 10, 518, '2012-09-25 13:31:16.573000') 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" = 434 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (434, 955) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 434) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 434 AND "spree_option_types"."id" = 261 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" = 434) ORDER BY position 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 13:31:16.610000', 261, 1, 434, '2012-09-25 13:31:16.610000') 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" = 261 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.618000' WHERE "spree_products"."id" = 434 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 434, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.621000' WHERE "spree_products"."id" = 434  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1348, 428) 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" = 261 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.625000' WHERE "spree_products"."id" = 434 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 434, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.627000' WHERE "spree_products"."id" = 434  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1349, 429) 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" = 261 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.632000' WHERE "spree_products"."id" = 434 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, 434, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.634000' WHERE "spree_products"."id" = 434  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1350, 430) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 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 13:31:16.638000', 'print_type', 0, 'Print type', '2012-09-25 13:31:16.638000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 434 AND "spree_option_types"."id" = 262 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" = 434) ORDER BY position 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 13:31:16.646000', 262, 2, 434, '2012-09-25 13:31:16.646000') 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" = 262 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 262) 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 13:31:16.649000', 'black_white', 262, 1, NULL, '2012-09-25 13:31:16.649000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.656000' WHERE "spree_products"."id" = 434 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 434, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.658000' WHERE "spree_products"."id" = 434  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1351, 431) 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" = 262 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 262) ORDER 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 13:31:16.662000', 'colour', 262, 2, NULL, '2012-09-25 13:31:16.662000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.667000' WHERE "spree_products"."id" = 434 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 434, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.669000' WHERE "spree_products"."id" = 434  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1352, 432) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("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" != 434) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 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" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 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" = 1348 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1349 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1350 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1351 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1352 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" != 434) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.692000' WHERE "spree_products"."id" = 434  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1348 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.694000' WHERE "spree_products"."id" = 434 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.696000' WHERE "spree_products"."id" = 434  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1349 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.698000' WHERE "spree_products"."id" = 434 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.700000' WHERE "spree_products"."id" = 434  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1350 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.701000' WHERE "spree_products"."id" = 434 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.703000' WHERE "spree_products"."id" = 434  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1351 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.705000' WHERE "spree_products"."id" = 434 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.706000' WHERE "spree_products"."id" = 434  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1352 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:16.708000' WHERE "spree_products"."id" = 434 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 434) LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 434 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" = 1347 AND "spree_assets"."viewable_type" = 'Spree::Variant' ORDER BY position SQL (0.0ms) UPDATE "spree_assets" SET position = (position + 1) WHERE ("spree_assets"."viewable_id" = 1347 AND position >= 0) SQL (0.0ms) INSERT INTO "spree_assets" ("alt", "attachment_content_type", "attachment_file_name", "attachment_file_size", "attachment_height", "attachment_updated_at", "attachment_width", "position", "type", "viewable_id", "viewable_type") VALUES ('Demo third row in future', 'image/jpeg', 'DEMO_003_ror_mug.jpeg', 11841, 240, '2012-09-25 13:31:16.721000', 240, 0, 'Spree::Image', 1347, 'Spree::Variant') Product assigned an Image : nil Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 434) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 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 13:31:17.415000' WHERE "spree_products"."id" = 434 Row org.apache.poi.hssf.usermodel.HSSFRow@d118b8 succesfully SAVED : ID 434 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" 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 (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 432 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 = 1339) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 432)) 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" = 432 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 = 1339) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 432)) Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 433 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 = 1343) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 433)) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 434 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 = 1347) OR ("spree_assets".viewable_type = 'Spree::Product' AND "spree_assets".viewable_id = 434))  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (3.0ms) DELETE FROM "spree_products" SQL (2.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (28.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image')  (1.0ms) SELECT COUNT(*) FROM "spree_products" PRODUCT # MASTER: # Booted Spree using version 1.1.3 SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (3.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:17.755000', 'Paintings', '2012-09-25 13:31:17.755000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 519 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 13:31:17.762000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 519, '2012-09-25 13:31:17.762000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:17.769000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 519, '2012-09-25 13:31:17.769000')  (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 13:31:17.775000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 519, '2012-09-25 13:31:17.775000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (24.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:17.853000', 'Paintings', '2012-09-25 13:31:17.853000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 520 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 13:31:17.857000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 520, '2012-09-25 13:31:17.857000')  (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 13:31:17.866000', 'Nice paintings', NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 520, '2012-09-25 13:31:17.866000')  (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 13:31:17.873000', 'Waves and sand', NULL, NULL, NULL, NULL, 5, 'Sea', NULL, 'sea', 0, 6, 520, '2012-09-25 13:31:17.873000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 520 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 520 LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."id" = 520 LIMIT 1 Booted Spree using version 1.1.3 SQL (28.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (3.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:18.011000', 'Paintings', '2012-09-25 13:31:18.011000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 521 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 13:31:18.017000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 521, '2012-09-25 13:31:18.017000')  (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 13:31:18.026000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 521, '2012-09-25 13:31:18.026000')  (1.0ms) UPDATE "spree_taxons" SET "parent_id" = 962, "updated_at" = '2012-09-25 13:31:18.037000' WHERE "spree_taxons"."id" = 963 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 962 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 963 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 963 THEN 962 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 962 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 963 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 962 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (2.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:18.073000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:18.073000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.077000' WHERE "spree_products"."id" = 435 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, 435, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.107000' WHERE "spree_products"."id" = 435  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1353 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.111000' WHERE "spree_products"."id" = 435  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (2.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 435  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 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 13:31:18.121000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:18.121000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:18.127000', NULL, 325, '2012-09-25 13:31:18.127000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 435, "updated_at" = '2012-09-25 13:31:18.129000' WHERE "spree_product_properties"."id" = 391 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" != 435) LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 521 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" = 435 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (435, 962) 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 13:31:18.144000', 'WaterColour', '2012-09-25 13:31:18.144000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 522 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 13:31:18.148000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 522, '2012-09-25 13:31:18.148000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (435, 964) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 435) 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" != 435) LIMIT 1 Spree::OptionType Load (0.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 13:31:18.159000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:18.159000') 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" = 435 AND "spree_option_types"."id" = 263 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" = 435) ORDER BY position 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 13:31:18.167000', 263, 1, 435, '2012-09-25 13:31:18.167000') 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" = 263 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 263) 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 13:31:18.191000', 'jpeg', 263, 1, NULL, '2012-09-25 13:31:18.191000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.222000' WHERE "spree_products"."id" = 435 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 435, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.224000' WHERE "spree_products"."id" = 435  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1354, 433) 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" = 263 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 263) ORDER 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 13:31:18.229000', 'PDF', 263, 2, NULL, '2012-09-25 13:31:18.229000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.232000' WHERE "spree_products"."id" = 435 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 435, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.235000' WHERE "spree_products"."id" = 435  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1355, 434) 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" = 263 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 263) ORDER 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 13:31:18.240000', 'PNG', 263, 3, NULL, '2012-09-25 13:31:18.240000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.244000' WHERE "spree_products"."id" = 435 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, 435, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.247000' WHERE "spree_products"."id" = 435  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1356, 435) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 AND ("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" != 435) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 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" = 435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 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" = 1354 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1355 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1356 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" != 435) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.268000' WHERE "spree_products"."id" = 435  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1354 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.270000' WHERE "spree_products"."id" = 435 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.272000' WHERE "spree_products"."id" = 435  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1355 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.273000' WHERE "spree_products"."id" = 435 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.276000' WHERE "spree_products"."id" = 435  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1356 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.277000' WHERE "spree_products"."id" = 435 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 435) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 435 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 13:31:18.281000' WHERE "spree_products"."id" = 435 Row org.apache.poi.hssf.usermodel.HSSFRow@1fbc3fb succesfully SAVED : ID 435 Current value to assign : DEMO_002 Current value to 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 13:31:18.289000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:18.289000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.293000' WHERE "spree_products"."id" = 436 SQL (0.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, 436, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.295000' WHERE "spree_products"."id" = 436  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1357 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.298000' WHERE "spree_products"."id" = 436  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 436  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 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 13:31:18.307000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:18.307000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:18.310000', NULL, 326, '2012-09-25 13:31:18.310000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 436, "updated_at" = '2012-09-25 13:31:18.311000' WHERE "spree_product_properties"."id" = 392 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" != 436) 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" = 521 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" = 436 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (436, 962) 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 13:31:18.323000', 'Oils', '2012-09-25 13:31:18.323000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 523 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 13:31:18.328000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 523, '2012-09-25 13:31:18.328000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (436, 965) 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" = 521 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" = 962 AND "spree_taxons"."taxonomy_id" = 521 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" = 962 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 13:31:18.336000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 962, 'paintings/nature', 0, 10, 521, '2012-09-25 13:31:18.336000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 962 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 966 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 966 THEN 962 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 962 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 966 AND "spree_taxons"."taxonomy_id" = 521 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" = 966 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 13:31:18.349000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 966, 'paintings/nature/seascape', 0, 12, 521, '2012-09-25 13:31:18.349000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 966 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 967 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 967 THEN 966 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 967 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (436, 966)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (436, 967) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 436) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 436 AND "spree_option_types"."id" = 263 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" = 436) ORDER BY position 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 13:31:18.363000', 263, 1, 436, '2012-09-25 13:31:18.363000') 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" = 263 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.368000' WHERE "spree_products"."id" = 436 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 436, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.370000' WHERE "spree_products"."id" = 436  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1358, 433) 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" = 263 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.374000' WHERE "spree_products"."id" = 436 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 436, 'DEMO_002_2', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.376000' WHERE "spree_products"."id" = 436  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1359, 434) 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" = 263 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.380000' WHERE "spree_products"."id" = 436 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 436, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.382000' WHERE "spree_products"."id" = 436  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1360, 435) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 AND ("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" != 436) 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" != 436) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 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" = 436 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" = 436 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" = 1358 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1359 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1360 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" != 436) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.413000' WHERE "spree_products"."id" = 436  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1358 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.414000' WHERE "spree_products"."id" = 436 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.418000' WHERE "spree_products"."id" = 436  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1359 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.420000' WHERE "spree_products"."id" = 436 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.422000' WHERE "spree_products"."id" = 436  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1360 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.424000' WHERE "spree_products"."id" = 436 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 436) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 436 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 13:31:18.427000' WHERE "spree_products"."id" = 436 Row org.apache.poi.hssf.usermodel.HSSFRow@977faf succesfully SAVED : ID 436 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:18.437000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:18.437000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.440000' WHERE "spree_products"."id" = 437 SQL (0.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, 437, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.442000' WHERE "spree_products"."id" = 437  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1361 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.445000' WHERE "spree_products"."id" = 437  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 437  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 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 13:31:18.453000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:18.453000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:18.455000', NULL, 327, '2012-09-25 13:31:18.455000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 437, "updated_at" = '2012-09-25 13:31:18.457000' WHERE "spree_product_properties"."id" = 393 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 13:31:18.459000', NULL, 326, '2012-09-25 13:31:18.459000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 437, "updated_at" = '2012-09-25 13:31:18.461000' WHERE "spree_product_properties"."id" = 394 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 13:31:18.464000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:18.464000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:18.468000', NULL, 328, '2012-09-25 13:31:18.468000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 437, "updated_at" = '2012-09-25 13:31:18.470000' WHERE "spree_product_properties"."id" = 395 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" != 437) 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 13:31:18.474000', 'Drawings', '2012-09-25 13:31:18.474000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 524 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 13:31:18.478000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 524, '2012-09-25 13:31:18.478000') 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" = 437 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (437, 968) 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" = 521 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" = 962 AND "spree_taxons"."taxonomy_id" = 521 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (437, 963)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (437, 962) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 437) 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" != 437) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 437 AND "spree_option_types"."id" = 263 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" = 437) ORDER BY position 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 13:31:18.499000', 263, 1, 437, '2012-09-25 13:31:18.499000') 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" = 263 LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.507000' WHERE "spree_products"."id" = 437 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 437, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.509000' WHERE "spree_products"."id" = 437  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1362, 433) 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" = 263 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.513000' WHERE "spree_products"."id" = 437 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 437, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.515000' WHERE "spree_products"."id" = 437  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1363, 434) 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" = 263 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.520000' WHERE "spree_products"."id" = 437 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 437, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.522000' WHERE "spree_products"."id" = 437  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1364, 435) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 SQL (1.0ms) INSERT INTO "spree_option_types" ("created_at", "name", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:31:18.525000', 'print_type', 0, 'Print type', '2012-09-25 13:31:18.525000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 437 AND "spree_option_types"."id" = 264 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" = 437) ORDER BY position 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 13:31:18.531000', 264, 2, 437, '2012-09-25 13:31:18.531000') 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" = 264 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 264) ORDER 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 13:31:18.534000', 'black_white', 264, 1, NULL, '2012-09-25 13:31:18.534000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 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" = 437 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.541000' WHERE "spree_products"."id" = 437 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 437, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.542000' WHERE "spree_products"."id" = 437  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1365, 436) 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" = 264 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 264) ORDER BY position DESC LIMIT 1 SQL (23.0ms) INSERT INTO "spree_option_values" ("created_at", "name", "option_type_id", "position", "presentation", "updated_at") VALUES ('2012-09-25 13:31:18.546000', 'colour', 264, 2, NULL, '2012-09-25 13:31:18.546000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.574000' WHERE "spree_products"."id" = 437 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, 437, 'DEMO_003_5', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.576000' WHERE "spree_products"."id" = 437  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1366, 437) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 AND ("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" != 437) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 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" = 437 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" = 437 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" = 1362 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1363 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1364 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1365 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1366 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" != 437) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.600000' WHERE "spree_products"."id" = 437  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1362 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.603000' WHERE "spree_products"."id" = 437 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.605000' WHERE "spree_products"."id" = 437  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1363 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.606000' WHERE "spree_products"."id" = 437 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.608000' WHERE "spree_products"."id" = 437  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1364 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.610000' WHERE "spree_products"."id" = 437 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.613000' WHERE "spree_products"."id" = 437  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1365 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.616000' WHERE "spree_products"."id" = 437 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 437 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.618000' WHERE "spree_products"."id" = 437  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1366 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.620000' WHERE "spree_products"."id" = 437 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 437) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 437 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 13:31:18.625000' WHERE "spree_products"."id" = 437 Row org.apache.poi.hssf.usermodel.HSSFRow@13f5e7b succesfully SAVED : ID 437 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_products" Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 435 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" = 435 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 436 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 436 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" = 521 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 962 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 521 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 966 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 966 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 967 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (27.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  PRODUCT # MASTER: # SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:18.784000', 'Paintings', '2012-09-25 13:31:18.784000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 525 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 13:31:18.790000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 525, '2012-09-25 13:31:18.790000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:18.800000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 525, '2012-09-25 13:31:18.800000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 969, "updated_at" = '2012-09-25 13:31:18.807000' WHERE "spree_taxons"."id" = 970 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 969 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 970 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 970 THEN 969 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 969 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 970 LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 969 ORDER BY "lft" Excel Loader processing 70 rows Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:18.841000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:18.841000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.867000' WHERE "spree_products"."id" = 438 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, 438, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.870000' WHERE "spree_products"."id" = 438  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1367 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.873000' WHERE "spree_products"."id" = 438  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 438  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 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 13:31:18.880000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:18.880000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:18.882000', NULL, 329, '2012-09-25 13:31:18.882000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 438, "updated_at" = '2012-09-25 13:31:18.884000' WHERE "spree_product_properties"."id" = 396 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" != 438) 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" != 438) 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" != 438) 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" = 525 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" = 438 Product assigned to Taxons : ["Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (438, 969) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 438) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:18.904000', 'WaterColour', '2012-09-25 13:31:18.904000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 526 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 13:31:18.908000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 526, '2012-09-25 13:31:18.908000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (438, 971) 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" != 438) 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" != 438) 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 13:31:18.915000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:18.915000') 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" = 438 AND "spree_option_types"."id" = 265 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" = 438) ORDER BY position 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 13:31:18.922000', 265, 1, 438, '2012-09-25 13:31:18.922000') 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" = 265 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 265) ORDER 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 13:31:18.926000', 'jpeg', 265, 1, NULL, '2012-09-25 13:31:18.926000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.931000' WHERE "spree_products"."id" = 438 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 438, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.933000' WHERE "spree_products"."id" = 438  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1368, 438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("spree_variants".is_master = 't') LIMIT 1 Spree::Product Exists (24.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 438) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 438 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 265 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 265) ORDER 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 13:31:18.966000', 'PDF', 265, 2, NULL, '2012-09-25 13:31:18.966000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.972000' WHERE "spree_products"."id" = 438 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 438, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:18.974000' WHERE "spree_products"."id" = 438  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1369, 439) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("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" != 438) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 438 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 265 LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 265) ORDER 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 13:31:18.996000', 'PNG', 265, 3, NULL, '2012-09-25 13:31:18.996000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 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" = 438 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.003000' WHERE "spree_products"."id" = 438 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 438, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.006000' WHERE "spree_products"."id" = 438  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1370, 440) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 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" != 438) 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" != 438) 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" != 438) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 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" = 438 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" = 438 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" = 1368 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1369 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1370 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" != 438) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.045000' WHERE "spree_products"."id" = 438  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1368 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.047000' WHERE "spree_products"."id" = 438 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.049000' WHERE "spree_products"."id" = 438  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1369 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.050000' WHERE "spree_products"."id" = 438 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.059000' WHERE "spree_products"."id" = 438  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1370 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.060000' WHERE "spree_products"."id" = 438 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 438) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 438 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 13:31:19.064000' WHERE "spree_products"."id" = 438 Row org.apache.poi.hssf.usermodel.HSSFRow@9e7ea3 succesfully SAVED : ID 438 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:19.081000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:19.081000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.084000' WHERE "spree_products"."id" = 439 SQL (0.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, 439, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.086000' WHERE "spree_products"."id" = 439  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1371 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.090000' WHERE "spree_products"."id" = 439  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 439  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 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 13:31:19.099000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:19.099000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.102000', NULL, 330, '2012-09-25 13:31:19.102000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 439, "updated_at" = '2012-09-25 13:31:19.104000' WHERE "spree_product_properties"."id" = 397 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" != 439) 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" != 439) 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" != 439) 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" = 525 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" = 439 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (439, 969) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 439) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:19.115000', 'Oils', '2012-09-25 13:31:19.115000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 527 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 13:31:19.119000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 527, '2012-09-25 13:31:19.119000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (439, 972) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 439) 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" = 525 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" = 969 AND "spree_taxons"."taxonomy_id" = 525 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" = 969 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 13:31:19.129000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 969, 'paintings/nature', 0, 10, 525, '2012-09-25 13:31:19.129000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 969 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 973 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 973 THEN 969 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 969 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 973 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 973 AND "spree_taxons"."taxonomy_id" = 525 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" = 973 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 13:31:19.142000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 973, 'paintings/nature/seascape', 0, 12, 525, '2012-09-25 13:31:19.142000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 973 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 974 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 974 THEN 973 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 973 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 974 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (439, 973)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (439, 974) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 439) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 439 AND "spree_option_types"."id" = 265 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" = 439) ORDER BY position 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 13:31:19.157000', 265, 1, 439, '2012-09-25 13:31:19.157000') Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'jpeg' AND "spree_option_values"."option_type_id" = 265 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.162000' WHERE "spree_products"."id" = 439 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 439, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.164000' WHERE "spree_products"."id" = 439  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1372, 438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("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" != 439) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 439 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 265 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.179000' WHERE "spree_products"."id" = 439 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 439, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.181000' WHERE "spree_products"."id" = 439  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1373, 439) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("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" != 439) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 439 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 265 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.191000' WHERE "spree_products"."id" = 439 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 439, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.193000' WHERE "spree_products"."id" = 439  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1374, 440) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("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" != 439) 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" != 439) 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" != 439) LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 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" = 439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 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" = 1372 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" = 1373 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1374 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" != 439) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.213000' WHERE "spree_products"."id" = 439  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1372 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.215000' WHERE "spree_products"."id" = 439 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.217000' WHERE "spree_products"."id" = 439  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1373 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.218000' WHERE "spree_products"."id" = 439 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.221000' WHERE "spree_products"."id" = 439  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1374 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.222000' WHERE "spree_products"."id" = 439 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 439) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 439 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 13:31:19.227000' WHERE "spree_products"."id" = 439 Row org.apache.poi.hssf.usermodel.HSSFRow@3d6798 succesfully SAVED : ID 439 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:19.237000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:19.237000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.240000' WHERE "spree_products"."id" = 440 SQL (0.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, 440, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.242000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1375 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.245000' WHERE "spree_products"."id" = 440  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 440  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:19.251000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:19.251000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.253000', NULL, 331, '2012-09-25 13:31:19.253000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 440, "updated_at" = '2012-09-25 13:31:19.255000' WHERE "spree_product_properties"."id" = 398 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" != 440) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.261000', NULL, 330, '2012-09-25 13:31:19.261000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 440, "updated_at" = '2012-09-25 13:31:19.263000' WHERE "spree_product_properties"."id" = 399 Created New ProductProperty # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 440) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:19.266000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:19.266000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.268000', NULL, 332, '2012-09-25 13:31:19.268000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 440, "updated_at" = '2012-09-25 13:31:19.270000' WHERE "spree_product_properties"."id" = 400 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" != 440) 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 13:31:19.274000', 'Drawings', '2012-09-25 13:31:19.274000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 528 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 13:31:19.279000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 528, '2012-09-25 13:31:19.279000') 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" = 440 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (440, 975) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 440) 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" = 525 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" = 969 AND "spree_taxons"."taxonomy_id" = 525 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (440, 970)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (440, 969) 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" != 440) 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" != 440) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 440 AND "spree_option_types"."id" = 265 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" = 440) ORDER BY position 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 13:31:19.297000', 265, 1, 440, '2012-09-25 13:31:19.297000') 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" = 265 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.300000' WHERE "spree_products"."id" = 440 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 440, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.302000' WHERE "spree_products"."id" = 440  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1376, 438) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("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" != 440) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 440 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 265 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 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" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.318000' WHERE "spree_products"."id" = 440 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 440, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.320000' WHERE "spree_products"."id" = 440  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1377, 439) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("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" != 440) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 440 AND "spree_option_types"."id" = 265 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 265 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.332000' WHERE "spree_products"."id" = 440 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 440, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.334000' WHERE "spree_products"."id" = 440  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1378, 440) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("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" != 440) 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 13:31:19.340000', 'print_type', 0, 'Print type', '2012-09-25 13:31:19.340000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 440 AND "spree_option_types"."id" = 266 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" = 440) ORDER BY position 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 13:31:19.347000', 266, 2, 440, '2012-09-25 13:31:19.347000') 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" = 266 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 266) ORDER 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 13:31:19.350000', 'black_white', 266, 1, NULL, '2012-09-25 13:31:19.350000')  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.356000' WHERE "spree_products"."id" = 440 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 440, 'DEMO_003_4', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.358000' WHERE "spree_products"."id" = 440  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1379, 441) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("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" != 440) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 440 AND "spree_option_types"."id" = 266 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 266 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 266) 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 13:31:19.394000', 'colour', 266, 2, NULL, '2012-09-25 13:31:19.394000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.399000' WHERE "spree_products"."id" = 440 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, 440, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.402000' WHERE "spree_products"."id" = 440  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1380, 442) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("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" != 440) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 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" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 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" = 1376 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1377 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1378 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1379 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1380 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" != 440) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.430000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1376 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.431000' WHERE "spree_products"."id" = 440 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.433000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1377 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.435000' WHERE "spree_products"."id" = 440 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.437000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1378 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.438000' WHERE "spree_products"."id" = 440 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.440000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1379 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.441000' WHERE "spree_products"."id" = 440 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 440 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.443000' WHERE "spree_products"."id" = 440  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1380 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.444000' WHERE "spree_products"."id" = 440 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 440) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 440 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 13:31:19.448000' WHERE "spree_products"."id" = 440 Row org.apache.poi.hssf.usermodel.HSSFRow@9bbe3e succesfully SAVED : ID 440 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 438 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" = 438 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 439 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" = 439 Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 525 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 969 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 525 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 973 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 973 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 974 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (27.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:19.615000', 'Paintings', '2012-09-25 13:31:19.615000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 529 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 13:31:19.619000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 529, '2012-09-25 13:31:19.619000')  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:19.629000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', NULL, 'landscape', 0, 4, 529, '2012-09-25 13:31:19.629000')  (0.0ms) UPDATE "spree_taxons" SET "parent_id" = 976, "updated_at" = '2012-09-25 13:31:19.635000' WHERE "spree_taxons"."id" = 977 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 976 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 977 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 977 THEN 976 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 976 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 977 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 976 ORDER BY "lft" Current value to assign : DEMO_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:19.666000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:19.666000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.696000' WHERE "spree_products"."id" = 441 SQL (0.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, 441, 'DEMO_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.700000' WHERE "spree_products"."id" = 441  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1381 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.703000' WHERE "spree_products"."id" = 441  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 441  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 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 13:31:19.714000', 'test_pp_001', 'Test pp 001', '2012-09-25 13:31:19.714000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.717000', NULL, 333, '2012-09-25 13:31:19.717000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 441, "updated_at" = '2012-09-25 13:31:19.723000' WHERE "spree_product_properties"."id" = 401 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 441) 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" = 529 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" = 441 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (441, 976) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 441) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:19.744000', 'WaterColour', '2012-09-25 13:31:19.744000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 530 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 13:31:19.752000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 530, '2012-09-25 13:31:19.752000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (441, 978) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 441) LIMIT 1 Spree::OptionType Load (0.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 13:31:19.766000', 'mime_type', 0, 'Mime type', '2012-09-25 13:31:19.766000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 441 AND "spree_option_types"."id" = 267 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" = 441) ORDER BY position 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 13:31:19.772000', 267, 1, 441, '2012-09-25 13:31:19.772000') 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" = 267 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 267) ORDER 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 13:31:19.779000', 'jpeg', 267, 1, NULL, '2012-09-25 13:31:19.779000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.810000' WHERE "spree_products"."id" = 441 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 441, 'DEMO_001_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.814000' WHERE "spree_products"."id" = 441  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1382, 443) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("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" != 441) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 441 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 267 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 267) 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 13:31:19.827000', 'PDF', 267, 2, NULL, '2012-09-25 13:31:19.827000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.832000' WHERE "spree_products"."id" = 441 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 441, 'DEMO_001_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.835000' WHERE "spree_products"."id" = 441  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1383, 444) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("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" != 441) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 441 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 267 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 267) ORDER 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 13:31:19.869000', 'PNG', 267, 3, NULL, '2012-09-25 13:31:19.869000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.874000' WHERE "spree_products"."id" = 441 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 441, 'DEMO_001_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.877000' WHERE "spree_products"."id" = 441  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1384, 445) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 AND ("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" != 441) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 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" = 441 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 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" = 1382 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" = 1383 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1384 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" != 441) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 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" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.904000' WHERE "spree_products"."id" = 441  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1382 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.905000' WHERE "spree_products"."id" = 441 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.907000' WHERE "spree_products"."id" = 441  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 6 WHERE "spree_variants"."id" = 1383 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.908000' WHERE "spree_products"."id" = 441 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.911000' WHERE "spree_products"."id" = 441  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1384 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.912000' WHERE "spree_products"."id" = 441 Saving csv row DEMO_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00test_pp_001PaintingsWaterColourmime_type:jpegmime_type:PDFmime_type:PNG12|6|7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 441) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 441 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 13:31:19.917000' WHERE "spree_products"."id" = 441 Current value to assign : DEMO_002 Current value to assign : Demo Excel Load via Jruby Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load-via-jruby%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load-via-jruby' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:19.926000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load via Jruby', 'demo-excel-load-via-jruby', NULL, NULL, '2012-09-25 13:31:19.926000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.933000' WHERE "spree_products"."id" = 442 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, 442, 'DEMO_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.936000' WHERE "spree_products"."id" = 442  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1385 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:19.939000' WHERE "spree_products"."id" = 442  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 442  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 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 13:31:19.953000', 'test_pp_003', 'Test pp 003', '2012-09-25 13:31:19.953000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:19.955000', NULL, 334, '2012-09-25 13:31:19.955000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 442, "updated_at" = '2012-09-25 13:31:19.957000' WHERE "spree_product_properties"."id" = 402 Created New ProductProperty # Current value to assign : Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 442) 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" = 529 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" = 442 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (442, 976) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 442) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:19.982000', 'Oils', '2012-09-25 13:31:19.982000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 531 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 13:31:19.987000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 531, '2012-09-25 13:31:19.987000') Product assigned to Taxons : ["Oils"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (442, 979) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 442) 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" = 529 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" = 976 AND "spree_taxons"."taxonomy_id" = 529 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" = 976 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 13:31:19.999000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 976, 'paintings/nature', 0, 10, 529, '2012-09-25 13:31:19.999000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 976 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 980 THEN 976 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 976 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 980 AND "spree_taxons"."taxonomy_id" = 529 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:20.009000', NULL, NULL, NULL, NULL, NULL, 11, 'Seascape', 980, 'paintings/nature/seascape', 0, 12, 529, '2012-09-25 13:31:20.009000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 981 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 981 THEN 980 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 981 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (442, 980)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (442, 981) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 442) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 442 AND "spree_option_types"."id" = 267 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" = 442) ORDER BY position 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 13:31:20.025000', 267, 1, 442, '2012-09-25 13:31:20.025000') 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" = 267 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.029000' WHERE "spree_products"."id" = 442 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 442, 'DEMO_002_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.031000' WHERE "spree_products"."id" = 442  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1386, 443) Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("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" != 442) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 442 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 267 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.042000' WHERE "spree_products"."id" = 442 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 442, 'DEMO_002_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.044000' WHERE "spree_products"."id" = 442  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1387, 444) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("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" != 442) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'mime_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 442 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 267 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.055000' WHERE "spree_products"."id" = 442 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "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, 442, 'DEMO_002_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.057000' WHERE "spree_products"."id" = 442  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1388, 445) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 Current value to assign : Current value to assign : Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("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" != 442) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 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" = 442 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" = 442 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" = 1386 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1387 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1388 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" != 442) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.089000' WHERE "spree_products"."id" = 442  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1386 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.091000' WHERE "spree_products"."id" = 442 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.100000' WHERE "spree_products"."id" = 442  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1387 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.102000' WHERE "spree_products"."id" = 442 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.105000' WHERE "spree_products"."id" = 442  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1388 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.106000' WHERE "spree_products"."id" = 442 Saving csv row DEMO_002Demo Excel Load via Jrubyless blah2011-05-14100.0030.00test_pp_003PaintingsOilsPaintings>Nature>Seascapemime_type:jpegmime_type:PDFmime_type:PNG5|4|2 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load-via-jruby' AND "spree_products"."id" != 442) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 442 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 13:31:20.111000' WHERE "spree_products"."id" = 442 Current value to assign : DEMO_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (1.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:20.120000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:20.120000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.124000' WHERE "spree_products"."id" = 443 SQL (0.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, 443, 'DEMO_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.126000' WHERE "spree_products"."id" = 443  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1389 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.128000' WHERE "spree_products"."id" = 443  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 443  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_002' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:20.137000', 'test_pp_002', 'Test pp 002', '2012-09-25 13:31:20.137000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:20.140000', NULL, 335, '2012-09-25 13:31:20.140000', NULL)  (1.0ms) UPDATE "spree_product_properties" SET "product_id" = 443, "updated_at" = '2012-09-25 13:31:20.142000' WHERE "spree_product_properties"."id" = 403 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" != 443) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'test_pp_003' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:20.146000', NULL, 334, '2012-09-25 13:31:20.146000', 'Example free value')  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 443, "updated_at" = '2012-09-25 13:31:20.148000' WHERE "spree_product_properties"."id" = 404 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" != 443) LIMIT 1 Spree::Property Load (0.0ms) SELECT "spree_properties".* FROM "spree_properties" WHERE "spree_properties"."name" = 'yet_another_property' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_properties" ("created_at", "name", "presentation", "updated_at") VALUES ('2012-09-25 13:31:20.156000', 'yet_another_property', 'Yet another property', '2012-09-25 13:31:20.156000') Created New Property # SQL (0.0ms) INSERT INTO "spree_product_properties" ("created_at", "product_id", "property_id", "updated_at", "value") VALUES ('2012-09-25 13:31:20.161000', NULL, 336, '2012-09-25 13:31:20.161000', NULL)  (0.0ms) UPDATE "spree_product_properties" SET "product_id" = 443, "updated_at" = '2012-09-25 13:31:20.168000' WHERE "spree_product_properties"."id" = 405 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" != 443) 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 13:31:20.174000', 'Drawings', '2012-09-25 13:31:20.174000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 532 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 13:31:20.178000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 532, '2012-09-25 13:31:20.178000') 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" = 443 Product assigned to Taxons : ["Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (443, 982) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 443) 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" = 529 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" = 976 AND "spree_taxons"."taxonomy_id" = 529 LIMIT 1 Product assigned to Taxons : ["Landscape", "Paintings"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (443, 977)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (443, 976) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 443) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_option_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" = 443 AND "spree_option_types"."id" = 267 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" = 443) ORDER BY position 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 13:31:20.198000', 267, 1, 443, '2012-09-25 13:31:20.198000') 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" = 267 LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.202000' WHERE "spree_products"."id" = 443 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 443, 'DEMO_003_1', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.204000' WHERE "spree_products"."id" = 443  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1390, 443) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("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" != 443) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 443 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PDF' AND "spree_option_values"."option_type_id" = 267 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.215000' WHERE "spree_products"."id" = 443 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 443, 'DEMO_003_2', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.217000' WHERE "spree_products"."id" = 443  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1391, 444) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 Spree::Variant Load (1.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("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" != 443) LIMIT 1 Spree::OptionType Load (0.0ms) SELECT "spree_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" = 443 AND "spree_option_types"."id" = 267 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'PNG' AND "spree_option_values"."option_type_id" = 267 LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.231000' WHERE "spree_products"."id" = 443 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 443, 'DEMO_003_3', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.232000' WHERE "spree_products"."id" = 443  (0.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1392, 445) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("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" != 443) 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 13:31:20.238000', 'print_type', 0, 'Print type', '2012-09-25 13:31:20.238000') Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 443 AND "spree_option_types"."id" = 268 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" = 443) ORDER BY position 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 13:31:20.244000', 268, 2, 443, '2012-09-25 13:31:20.244000') 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" = 268 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 268) ORDER 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 13:31:20.250000', 'black_white', 268, 1, NULL, '2012-09-25 13:31:20.250000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.257000' WHERE "spree_products"."id" = 443 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (NULL, 0, NULL, NULL, NULL, 'f', NULL, 50.34, 443, 'DEMO_003_4', NULL, NULL) SQL (24.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.259000' WHERE "spree_products"."id" = 443  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1393, 446) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("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" != 443) LIMIT 1 Spree::OptionType Load (1.0ms) SELECT "spree_option_types".* FROM "spree_option_types" WHERE "spree_option_types"."name" = 'print_type' ORDER BY spree_option_types.position LIMIT 1 Spree::OptionType Exists (0.0ms) SELECT 1 AS one FROM "spree_option_types" INNER JOIN "spree_product_option_types" ON "spree_option_types"."id" = "spree_product_option_types"."option_type_id" WHERE "spree_product_option_types"."product_id" = 443 AND "spree_option_types"."id" = 268 ORDER BY spree_option_types.position LIMIT 1 Spree::OptionValue Load (1.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE "spree_option_values"."name" = 'colour' AND "spree_option_values"."option_type_id" = 268 LIMIT 1 Spree::OptionValue Load (0.0ms) SELECT "spree_option_values".* FROM "spree_option_values" WHERE ("spree_option_values"."option_type_id" = 268) ORDER 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 13:31:20.291000', 'colour', 268, 2, NULL, '2012-09-25 13:31:20.291000')  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.300000' WHERE "spree_products"."id" = 443 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, 443, 'DEMO_003_5', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.302000' WHERE "spree_products"."id" = 443  (1.0ms) INSERT INTO "spree_option_values_variants" ("variant_id", "option_value_id") VALUES (1394, 447) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("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" != 443) LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 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" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 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" = 1390 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1391 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1392 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1393 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1394 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" != 443) LIMIT 1  (0.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.330000' WHERE "spree_products"."id" = 443  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1390 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.332000' WHERE "spree_products"."id" = 443 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.334000' WHERE "spree_products"."id" = 443  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 4 WHERE "spree_variants"."id" = 1391 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.336000' WHERE "spree_products"."id" = 443 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.339000' WHERE "spree_products"."id" = 443  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1392 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.340000' WHERE "spree_products"."id" = 443 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.342000' WHERE "spree_products"."id" = 443  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 12 WHERE "spree_variants"."id" = 1393 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.344000' WHERE "spree_products"."id" = 443 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 443 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.346000' WHERE "spree_products"."id" = 443  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 18 WHERE "spree_variants"."id" = 1394 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.347000' WHERE "spree_products"."id" = 443 Saving csv row DEMO_003Demo third row in futuremore blah blah2012-07-0150.3423.34test_pp_002test_pp_003:Example free valueyet_another_propertyDrawingsPaintings>Landscapemime_type:jpegmime_type:PDFmime_type:PNGprint_type:black_whiteprint_type:colour12|4|7|12|18 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 443) LIMIT 1  (1.0ms) SELECT SUM("spree_variants"."count_on_hand") AS sum_id FROM "spree_variants" WHERE "spree_variants"."product_id" = 443 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 13:31:20.352000' WHERE "spree_products"."id" = 443 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_products"  Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_001' LIMIT 1 Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 441 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" = 441 Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."sku" = 'DEMO_002' LIMIT 1 Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 442 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 442 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" = 529 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Nature' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 976 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 529 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 980 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 980 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 981 ORDER BY "lft" SQL (3.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (1.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_taxons"  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (1.0ms) SELECT COUNT(*) FROM "spree_taxons" Excel Loader processing 70 rows Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:20.462000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:20.462000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 444 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.467000' WHERE "spree_products"."id" = 444 SQL (0.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, 444, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.491000' WHERE "spree_products"."id" = 444  (1.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1395 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.494000' WHERE "spree_products"."id" = 444  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 444 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 444  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 444 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:20.500000', 'Paintings', '2012-09-25 13:31:20.500000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 533 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 13:31:20.505000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 533, '2012-09-25 13:31:20.505000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 983 AND "spree_taxons"."taxonomy_id" = 533 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" = 983 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 13:31:20.510000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 983, 'paintings/landscape', 0, 4, 533, '2012-09-25 13:31:20.510000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 983 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 984 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 984 THEN 983 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 983 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 984 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" = 444 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (444, 984)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (444, 983) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 444) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:20.536000', 'WaterColour', '2012-09-25 13:31:20.536000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 534 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 13:31:20.561000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 534, '2012-09-25 13:31:20.561000') Product assigned to Taxons : ["WaterColour"]  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (444, 985) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 444) 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" != 444) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1395 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" != 444) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:31:20.572000' WHERE "spree_products"."id" = 444  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1395 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.575000' WHERE "spree_products"."id" = 444 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 444 Row org.apache.poi.hssf.usermodel.HSSFRow@c2c508 succesfully SAVED : ID 444 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.0 Current value to assign : 30.0  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:20.585000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:31:20.585000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 445 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.589000' WHERE "spree_products"."id" = 445 SQL (0.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, 445, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.591000' WHERE "spree_products"."id" = 445  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1396 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.594000' WHERE "spree_products"."id" = 445  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 445 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 445  (1.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 445 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 533 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" = 445 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (445, 983) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 445) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:20.607000', 'Oils', '2012-09-25 13:31:20.607000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 535 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 13:31:20.610000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 535, '2012-09-25 13:31:20.610000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (445, 986) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 445) 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" = 533 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" = 983 AND "spree_taxons"."taxonomy_id" = 533 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" = 983 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 13:31:20.619000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 983, 'paintings/nature', 0, 10, 533, '2012-09-25 13:31:20.619000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 983 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 987 THEN 983 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 983 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 987 AND "spree_taxons"."taxonomy_id" = 533 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" = 987 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 13:31:20.631000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 987, 'paintings/nature/landscape', 0, 12, 533, '2012-09-25 13:31:20.631000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 988 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 988 THEN 987 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 988 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (445, 987)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (445, 988) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 445) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1396 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' AND "spree_products"."id" != 445) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:31:20.643000' WHERE "spree_products"."id" = 445  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1396 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.645000' WHERE "spree_products"."id" = 445 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 445 Row org.apache.poi.hssf.usermodel.HSSFRow@1f065a8 succesfully SAVED : ID 445 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:20.660000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:20.660000') Spree::Product Load (1.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 446 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.665000' WHERE "spree_products"."id" = 446 SQL (0.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, 446, 'test_ct_003', NULL, NULL) SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.667000' WHERE "spree_products"."id" = 446  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1397 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.669000' WHERE "spree_products"."id" = 446  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 446 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 446  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 446 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:20.675000', 'Drawings', '2012-09-25 13:31:20.675000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 AND "spree_taxons"."parent_id" IS NULL LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:20.680000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 536, '2012-09-25 13:31:20.680000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 989 AND "spree_taxons"."taxonomy_id" = 536 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" = 989 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 13:31:20.686000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 989, 'drawings/landscape', 0, 16, 536, '2012-09-25 13:31:20.686000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 989 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 990 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 990 THEN 989 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 989 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 990 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" = 446 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (446, 990)  (1.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (446, 989) 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" != 446) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:20.696000', 'Landscape', '2012-09-25 13:31:20.696000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 537 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 13:31:20.699000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 537, '2012-09-25 13:31:20.699000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (446, 991) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 446) 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" != 446) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1397 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" != 446) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:31:20.708000' WHERE "spree_products"."id" = 446  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1397 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.710000' WHERE "spree_products"."id" = 446 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 446 Row org.apache.poi.hssf.usermodel.HSSFRow@1f05e7f succesfully SAVED : ID 446 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:20.719000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:31:20.719000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 447 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.722000' WHERE "spree_products"."id" = 447 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 447, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.725000' WHERE "spree_products"."id" = 447  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1398 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.727000' WHERE "spree_products"."id" = 447  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 447 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 447  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 447 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 989 AND "spree_taxons"."taxonomy_id" = 536 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 447 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 990)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 989) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 447) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 447) 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" = 533 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" = 983 AND "spree_taxons"."taxonomy_id" = 533 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 987 AND "spree_taxons"."taxonomy_id" = 533 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" = 987 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 13:31:20.760000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 987, 'paintings/nature/seascape', 0, 20, 533, '2012-09-25 13:31:20.760000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 992 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 992 THEN 987 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 992 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 992 AND "spree_taxons"."taxonomy_id" = 533 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" = 992 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 13:31:20.772000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 992, 'paintings/nature/seascape/cliffs', 0, 22, 533, '2012-09-25 13:31:20.772000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 992 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 993 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 993 THEN 992 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 992 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 993 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 987)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 992)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 993)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (447, 983) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 447) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1398 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 447) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:31:20.785000' WHERE "spree_products"."id" = 447  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1398 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.787000' WHERE "spree_products"."id" = 447 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 447 Row org.apache.poi.hssf.usermodel.HSSFRow@152eaa3 succesfully SAVED : ID 447 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:20.800000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:31:20.800000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 448 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.806000' WHERE "spree_products"."id" = 448 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 448, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.810000' WHERE "spree_products"."id" = 448  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1399 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.818000' WHERE "spree_products"."id" = 448  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 448 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 448  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 448 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 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" = 989 AND "spree_taxons"."taxonomy_id" = 536 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 990 AND "spree_taxons"."taxonomy_id" = 536 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" = 990 LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxons" ("created_at", "description", "icon_content_type", "icon_file_name", "icon_file_size", "icon_updated_at", "lft", "name", "parent_id", "permalink", "position", "rgt", "taxonomy_id", "updated_at") VALUES ('2012-09-25 13:31:20.832000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 990, 'drawings/landscape/bristol', 0, 24, 536, '2012-09-25 13:31:20.832000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 990 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 994 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 994 THEN 990 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 990 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 994 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" = 448 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (448, 990)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (448, 994)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (448, 989) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 448) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 535 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 (448, 986) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 448) LIMIT 1 Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 448) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1399 AND ("spree_inventory_units"."state" IN ('backordered')) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 448) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:31:20.850000' WHERE "spree_products"."id" = 448  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1399 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:20.854000' WHERE "spree_products"."id" = 448 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 448 Row org.apache.poi.hssf.usermodel.HSSFRow@14fc0cb succesfully SAVED : ID 448 Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign : Current value to assign :  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE (permalink LIKE '%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE '-1%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = '-1' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_taxonomies" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 534 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 535 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 533 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 533 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 983 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 983) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 987 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 987) Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 987) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 983 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 987 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 992 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 993 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 992) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 536 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 990 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 990 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 994 ORDER BY "lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 994) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 535 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 535 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 986 ORDER BY "lft" Spree::Taxonomy Load (1.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 537 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 537 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 991 ORDER BY "lft" SQL (4.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (1.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (20.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones"  (0.0ms) SELECT COUNT(*) FROM "spree_products"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" PRODUCT # MASTER: # SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (3.0ms) DELETE FROM "spree_taxons"  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Current value to assign : test_ct_001 Current value to assign : Demo Product for AR Loader Current value to assign : blah blah Current value to assign : 2011-02-14 Current value to assign : 399.99 Current value to assign : 320.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-product-for-ar-loader%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-product-for-ar-loader' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-02-14 00:00:00.000000', 0, '2012-09-25 13:31:21.042000', NULL, 'blah blah', NULL, NULL, 'Demo Product for AR Loader', 'demo-product-for-ar-loader', NULL, NULL, '2012-09-25 13:31:21.042000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 449 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.047000' WHERE "spree_products"."id" = 449 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, 449, 'test_ct_001', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.050000' WHERE "spree_products"."id" = 449  (17.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1400 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.069000' WHERE "spree_products"."id" = 449  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 449 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 449  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 449 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 SQL (1.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:21.076000', 'Paintings', '2012-09-25 13:31:21.076000') Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 538 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 13:31:21.081000', NULL, NULL, NULL, NULL, NULL, 1, 'Paintings', NULL, 'paintings', 0, 2, 538, '2012-09-25 13:31:21.081000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 995 AND "spree_taxons"."taxonomy_id" = 538 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 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 13:31:21.087000', NULL, NULL, NULL, NULL, NULL, 3, 'Landscape', 995, 'paintings/landscape', 0, 4, 538, '2012-09-25 13:31:21.087000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 996 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 2 AND 2 THEN "lft" + 4 - 2 WHEN "lft" BETWEEN 3 AND 4 THEN "lft" + 2 - 3 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 2 AND 2 THEN "rgt" + 4 - 2 WHEN "rgt" BETWEEN 3 AND 4 THEN "rgt" + 2 - 3 ELSE "rgt" END, "parent_id" = CASE WHEN id = 996 THEN 995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 996 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 449 Product assigned to Taxons : ["Landscape", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (449, 996)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (449, 995) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 449) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'WaterColour' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:21.100000', 'WaterColour', '2012-09-25 13:31:21.100000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 539 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 13:31:21.104000', NULL, NULL, NULL, NULL, NULL, 5, 'WaterColour', NULL, 'watercolour', 0, 6, 539, '2012-09-25 13:31:21.104000') Product assigned to Taxons : ["WaterColour"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (449, 997) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 449) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1400 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_001Demo Product for AR Loaderblah blah2011-02-14399.99320.00Paintings>LandscapeWaterColour2 to table object : # Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-product-for-ar-loader' AND "spree_products"."id" != 449) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 2, "updated_at" = '2012-09-25 13:31:21.127000' WHERE "spree_products"."id" = 449  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 2 WHERE "spree_variants"."id" = 1400 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.130000' WHERE "spree_products"."id" = 449 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 449 Current value to assign : test_ct_002 Current value to assign : Demo Excel Load Current value to assign : less blah Current value to assign : 2011-05-14 Current value to assign : 100.00 Current value to assign : 30.00  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-excel-load%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-excel-load' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2011-05-14 00:00:00.000000', 0, '2012-09-25 13:31:21.137000', NULL, 'less blah', NULL, NULL, 'Demo Excel Load', 'demo-excel-load', NULL, NULL, '2012-09-25 13:31:21.137000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 450 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.140000' WHERE "spree_products"."id" = 450 SQL (0.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, 450, 'test_ct_002', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.143000' WHERE "spree_products"."id" = 450  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1401 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.147000' WHERE "spree_products"."id" = 450  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 450 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 450  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 450 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Paintings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 538 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" = 450 Product assigned to Taxons : ["Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (450, 995) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 450) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:21.161000', 'Oils', '2012-09-25 13:31:21.161000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 540 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 13:31:21.166000', NULL, NULL, NULL, NULL, NULL, 7, 'Oils', NULL, 'oils', 0, 8, 540, '2012-09-25 13:31:21.166000') Product assigned to Taxons : ["Oils"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (450, 998) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 450) 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" = 538 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" = 995 AND "spree_taxons"."taxonomy_id" = 538 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" = 995 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 13:31:21.179000', NULL, NULL, NULL, NULL, NULL, 9, 'Nature', 995, 'paintings/nature', 0, 10, 538, '2012-09-25 13:31:21.179000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 4 AND 8 THEN "lft" + 10 - 8 WHEN "lft" BETWEEN 9 AND 10 THEN "lft" + 4 - 9 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 4 AND 8 THEN "rgt" + 10 - 8 WHEN "rgt" BETWEEN 9 AND 10 THEN "rgt" + 4 - 9 ELSE "rgt" END, "parent_id" = CASE WHEN id = 999 THEN 995 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 999 AND "spree_taxons"."taxonomy_id" = 538 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" = 999 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 13:31:21.188000', NULL, NULL, NULL, NULL, NULL, 11, 'Landscape', 999, 'paintings/nature/landscape', 0, 12, 538, '2012-09-25 13:31:21.188000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1000 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 5 AND 10 THEN "lft" + 12 - 10 WHEN "lft" BETWEEN 11 AND 12 THEN "lft" + 5 - 11 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 5 AND 10 THEN "rgt" + 12 - 10 WHEN "rgt" BETWEEN 11 AND 12 THEN "rgt" + 5 - 11 ELSE "rgt" END, "parent_id" = CASE WHEN id = 1000 THEN 999 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1000 LIMIT 1 Product assigned to Taxons : ["Nature", "Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (450, 999)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (450, 1000) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 450) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1401 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_002Demo Excel Loadless blah2011-05-14100.0030.00PaintingsOilsPaintings>Nature>Landscape5 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-excel-load' AND "spree_products"."id" != 450) LIMIT 1  (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 5, "updated_at" = '2012-09-25 13:31:21.202000' WHERE "spree_products"."id" = 450  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 5 WHERE "spree_variants"."id" = 1401 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.204000' WHERE "spree_products"."id" = 450 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 450 Current value to assign : test_ct_003 Current value to assign : Demo third row in future Current value to assign : more blah blah Current value to assign : 2012-07-01 Current value to assign : 50.34 Current value to assign : 23.34  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-third-row-in-future%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-third-row-in-future' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:21.213000', NULL, 'more blah blah', NULL, NULL, 'Demo third row in future', 'demo-third-row-in-future', NULL, NULL, '2012-09-25 13:31:21.213000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 451 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.215000' WHERE "spree_products"."id" = 451 SQL (0.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, 451, 'test_ct_003', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.217000' WHERE "spree_products"."id" = 451  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1402 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.219000' WHERE "spree_products"."id" = 451  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 451 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 451  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 451 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:21.225000', 'Drawings', '2012-09-25 13:31:21.225000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 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 13:31:21.229000', NULL, NULL, NULL, NULL, NULL, 13, 'Drawings', NULL, 'drawings', 0, 14, 541, '2012-09-25 13:31:21.229000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 1001 AND "spree_taxons"."taxonomy_id" = 541 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" = 1001 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 13:31:21.235000', NULL, NULL, NULL, NULL, NULL, 15, 'Landscape', 1001, 'drawings/landscape', 0, 16, 541, '2012-09-25 13:31:21.235000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 1001 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1002 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 14 AND 14 THEN "lft" + 16 - 14 WHEN "lft" BETWEEN 15 AND 16 THEN "lft" + 14 - 15 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 14 AND 14 THEN "rgt" + 16 - 14 WHEN "rgt" BETWEEN 15 AND 16 THEN "rgt" + 14 - 15 ELSE "rgt" END, "parent_id" = CASE WHEN id = 1002 THEN 1001 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1001 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1002 LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" INNER JOIN "spree_products_taxons" ON "spree_taxons"."id" = "spree_products_taxons"."taxon_id" WHERE "spree_products_taxons"."product_id" = 451 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (451, 1002)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (451, 1001) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 451) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_taxonomies" ("created_at", "name", "updated_at") VALUES ('2012-09-25 13:31:21.249000', 'Landscape', '2012-09-25 13:31:21.249000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 542 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 13:31:21.253000', NULL, NULL, NULL, NULL, NULL, 17, 'Landscape', NULL, 'landscape', 0, 18, 542, '2012-09-25 13:31:21.253000') Product assigned to Taxons : ["Landscape"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (451, 1003) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 451) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1402 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_003Demo third row in futuremore blah blah2012-07-0150.3423.34Drawings>LandscapeLandscape7 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-third-row-in-future' AND "spree_products"."id" != 451) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 7, "updated_at" = '2012-09-25 13:31:21.266000' WHERE "spree_products"."id" = 451  (1.0ms) UPDATE "spree_variants" SET "count_on_hand" = 7 WHERE "spree_variants"."id" = 1402 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.269000' WHERE "spree_products"."id" = 451 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 451 Current value to assign : test_ct_004 Current value to assign : Demo four Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 0.34 Current value to assign : 0.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-four%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-four' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:21.280000', NULL, 'blah', NULL, NULL, 'Demo four', 'demo-four', NULL, NULL, '2012-09-25 13:31:21.280000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 452 LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.285000' WHERE "spree_products"."id" = 452 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (0.01, 0, NULL, NULL, NULL, 'f', NULL, 0.34, 452, 'test_ct_004', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.288000' WHERE "spree_products"."id" = 452  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1403 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.290000' WHERE "spree_products"."id" = 452  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 452 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" = 452 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 452  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 452 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 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" = 1001 AND "spree_taxons"."taxonomy_id" = 541 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" = 452 Product assigned to Taxons : ["Landscape", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 1002)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 1001) Current value to assign : Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 452) 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" = 538 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" = 995 AND "spree_taxons"."taxonomy_id" = 538 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' AND "spree_taxons"."parent_id" = 999 AND "spree_taxons"."taxonomy_id" = 538 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" = 999 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 13:31:21.329000', NULL, NULL, NULL, NULL, NULL, 19, 'Seascape', 999, 'paintings/nature/seascape', 0, 20, 538, '2012-09-25 13:31:21.329000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1004 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 7 AND 18 THEN "lft" + 20 - 18 WHEN "lft" BETWEEN 19 AND 20 THEN "lft" + 7 - 19 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 7 AND 18 THEN "rgt" + 20 - 18 WHEN "rgt" BETWEEN 19 AND 20 THEN "rgt" + 7 - 19 ELSE "rgt" END, "parent_id" = CASE WHEN id = 1004 THEN 999 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (1.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1004 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' AND "spree_taxons"."parent_id" = 1004 AND "spree_taxons"."taxonomy_id" = 538 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" = 1004 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 13:31:21.340000', NULL, NULL, NULL, NULL, NULL, 21, 'Cliffs', 1004, 'paintings/nature/seascape/cliffs', 0, 22, 538, '2012-09-25 13:31:21.340000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 1004 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1005 LIMIT 1 SQL (0.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 8 AND 20 THEN "lft" + 22 - 20 WHEN "lft" BETWEEN 21 AND 22 THEN "lft" + 8 - 21 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 8 AND 20 THEN "rgt" + 22 - 20 WHEN "rgt" BETWEEN 21 AND 22 THEN "rgt" + 8 - 21 ELSE "rgt" END, "parent_id" = CASE WHEN id = 1005 THEN 1004 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1004 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1005 LIMIT 1 Product assigned to Taxons : ["Nature", "Seascape", "Cliffs", "Paintings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 999)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 1004)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 1005)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (452, 995) Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 452) LIMIT 1 Spree::InventoryUnit Load (0.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1403 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_004Demo fourblah2012-07-010.340.01Drawings>LandscapePaintings>Nature>Seascape>Cliffs3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-four' AND "spree_products"."id" != 452) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:31:21.359000' WHERE "spree_products"."id" = 452  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1403 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.361000' WHERE "spree_products"."id" = 452 SQL (1.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 452 Current value to assign : test_ct_005 Current value to assign : Demo five Current value to assign : blah Current value to assign : 2012-07-01 Current value to assign : 3.34 Current value to assign : 3.01  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1  (0.0ms) SELECT COUNT(*) FROM "spree_products" WHERE (permalink LIKE 'demo-five%') Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE "spree_products"."permalink" = 'demo-five' LIMIT 1 SQL (0.0ms) INSERT INTO "spree_products" ("available_on", "count_on_hand", "created_at", "deleted_at", "description", "meta_description", "meta_keywords", "name", "permalink", "shipping_category_id", "tax_category_id", "updated_at") VALUES ('2012-07-01 00:00:00.000000', 0, '2012-09-25 13:31:21.368000', NULL, 'blah', NULL, NULL, 'Demo five', 'demo-five', NULL, NULL, '2012-09-25 13:31:21.368000') Spree::Product Load (0.0ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."id" = 453 LIMIT 1 SQL (1.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.371000' WHERE "spree_products"."id" = 453 SQL (0.0ms) INSERT INTO "spree_variants" ("cost_price", "count_on_hand", "deleted_at", "depth", "height", "is_master", "position", "price", "product_id", "sku", "weight", "width") VALUES (3.01, 0, NULL, NULL, NULL, 'f', NULL, 3.34, 453, 'test_ct_005', NULL, NULL) SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.373000' WHERE "spree_products"."id" = 453  (0.0ms) UPDATE "spree_variants" SET "is_master" = 't' WHERE "spree_variants"."id" = 1404 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.375000' WHERE "spree_products"."id" = 453  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 453 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Variant Load (0.0ms) SELECT "spree_variants".* FROM "spree_variants" WHERE "spree_variants"."product_id" = 453 AND ("spree_variants".is_master = 't') LIMIT 1 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 453  (0.0ms) SELECT COUNT(*) FROM "spree_variants" WHERE "spree_variants"."product_id" = 453 AND ("spree_variants".is_master = 'f' AND "spree_variants".deleted_at IS NULL) Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' AND "spree_taxons"."parent_id" = 1001 AND "spree_taxons"."taxonomy_id" = 541 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Bristol' AND "spree_taxons"."parent_id" = 1002 AND "spree_taxons"."taxonomy_id" = 541 LIMIT 1  (1.0ms) SELECT MAX("spree_taxons"."rgt") AS max_id FROM "spree_taxons" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 1002 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 13:31:21.387000', NULL, NULL, NULL, NULL, NULL, 23, 'Bristol', 1002, 'drawings/landscape/bristol', 0, 24, 541, '2012-09-25 13:31:21.387000') Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 1002 ORDER BY "spree_taxons"."lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1006 LIMIT 1 SQL (1.0ms) UPDATE "spree_taxons" SET "lft" = CASE WHEN "lft" BETWEEN 19 AND 22 THEN "lft" + 24 - 22 WHEN "lft" BETWEEN 23 AND 24 THEN "lft" + 19 - 23 ELSE "lft" END, "rgt" = CASE WHEN "rgt" BETWEEN 19 AND 22 THEN "rgt" + 24 - 22 WHEN "rgt" BETWEEN 23 AND 24 THEN "rgt" + 19 - 23 ELSE "rgt" END, "parent_id" = CASE WHEN id = 1006 THEN 1002 ELSE "parent_id" END WHERE "spree_taxons"."id" IN (SELECT "spree_taxons"."id" FROM "spree_taxons" ORDER BY "spree_taxons"."lft") Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1002 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "lft", "rgt", "parent_id" FROM "spree_taxons" WHERE "spree_taxons"."id" = 1006 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" = 453 Product assigned to Taxons : ["Landscape", "Bristol", "Drawings"]  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (453, 1002)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (453, 1006)  (0.0ms) INSERT INTO "spree_products_taxons" ("product_id", "taxon_id") VALUES (453, 1001) Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 453) LIMIT 1 Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 540 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 (453, 998) Current value to assign : Spree::Product Exists (1.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 453) LIMIT 1 Spree::InventoryUnit Load (1.0ms) SELECT "spree_inventory_units".* FROM "spree_inventory_units" WHERE "spree_inventory_units"."variant_id" = 1404 AND ("spree_inventory_units"."state" IN ('backordered')) Saving csv row test_ct_005Demo fiveblah2012-07-013.343.01Drawings>Landscape>BristolOils3 to table object : # Spree::Product Exists (0.0ms) SELECT 1 AS one FROM "spree_products" WHERE ("spree_products"."permalink" = 'demo-five' AND "spree_products"."id" != 453) LIMIT 1  (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 3, "updated_at" = '2012-09-25 13:31:21.410000' WHERE "spree_products"."id" = 453  (0.0ms) UPDATE "spree_variants" SET "count_on_hand" = 3 WHERE "spree_variants"."id" = 1404 SQL (0.0ms) UPDATE "spree_products" SET "updated_at" = '2012-09-25 13:31:21.413000' WHERE "spree_products"."id" = 453 SQL (0.0ms) UPDATE "spree_products" SET "count_on_hand" = 0 WHERE "spree_products"."id" = 453  (1.0ms) SELECT COUNT(*) FROM "spree_taxonomies"  Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies"  Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 538 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 539 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 540 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 542 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons"   (0.0ms) SELECT COUNT(*) FROM "spree_taxons" Spree::Taxonomy Load (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" = 538 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 538 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 995 ORDER BY "lft"  (0.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) AND ("spree_taxons"."id" != 995) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 1 AND "spree_taxons"."rgt" <= 12) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 999 ORDER BY "lft"  (1.0ms) SELECT COUNT(*) FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 999) Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" >= 4 AND "spree_taxons"."rgt" <= 11) AND ("spree_taxons"."id" != 999) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 995 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."id" = 999 LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1004 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Cliffs' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1005 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Seascape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 7 AND "spree_taxons"."rgt" >= 10) AND ("spree_taxons"."id" != 1004) ORDER BY "spree_taxons"."lft" Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."name" = 'Landscape' Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Drawings' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 541 AND "spree_taxons"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1002 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1002 AND "spree_taxons"."name" = 'Bristol' ORDER BY "lft" LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1006 ORDER BY "lft" Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE ("spree_taxons"."lft" <= 19 AND "spree_taxons"."rgt" >= 20) AND ("spree_taxons"."id" != 1006) ORDER BY "spree_taxons"."lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Oils' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 540 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 540 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 998 ORDER BY "lft" Spree::Taxonomy Load (0.0ms) SELECT "spree_taxonomies".* FROM "spree_taxonomies" WHERE "spree_taxonomies"."name" = 'Landscape' LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 542 Spree::Taxon Load (1.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."taxonomy_id" = 542 AND "spree_taxons"."parent_id" IS NULL LIMIT 1 Spree::Taxon Load (0.0ms) SELECT "spree_taxons".* FROM "spree_taxons" WHERE "spree_taxons"."parent_id" = 1003 ORDER BY "lft" Booted Spree using version 1.1.3 SQL (24.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (4.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (3.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (17.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (3.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (22.0ms) DELETE FROM "spree_taxons" SQL (3.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (1.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (4.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (2.0ms) DELETE FROM "spree_product_properties" SQL (1.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (17.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (1.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (2.0ms) DELETE FROM "spree_option_types" SQL (2.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (17.0ms) DELETE FROM "spree_variants" SQL (1.0ms) DELETE FROM "spree_taxons" SQL (1.0ms) DELETE FROM "spree_taxonomies" SQL (2.0ms) DELETE FROM "spree_zones" SQL (2.0ms) DELETE FROM "spree_products" SQL (0.0ms) DELETE FROM "spree_assets" WHERE "spree_assets"."type" IN ('Spree::Image') SQL (1.0ms) DELETE FROM "spree_option_types" SQL (1.0ms) DELETE FROM "spree_option_values" SQL (2.0ms) DELETE FROM "spree_properties" SQL (1.0ms) DELETE FROM "spree_product_properties" SQL (2.0ms) DELETE FROM "spree_variants" SQL (2.0ms) DELETE FROM "spree_taxons" SQL (2.0ms) DELETE FROM "spree_taxonomies" SQL (1.0ms) DELETE FROM "spree_zones"