[1m[36m (0.3ms)[0m [1mbegin transaction[0m ----------------------- Test123Test: test_truth ----------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.4ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.4ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.2ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.3ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.2ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m Migrating to CreateProductCategories (20130926094549) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (1.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094549"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m Migrating to CreateProducts (20130926094551) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "vat_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094551"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m Migrating to CreateOrders (20130926094647) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094647"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m Migrating to CreateOrderItems (20130926094654) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "parent_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0, "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926094654"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to CreateImages (20130926104450) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926104450"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to CreateUsers (20130926151718) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130926151718"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to AddCardTokenToOrders (20130927113134) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "stripe_customer_token" varchar(255)[0m [1m[35m (0.1ms)[0m ALTER TABLE "shoppe_orders" ADD "stripe_payment_token" varchar(255) [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927113134"]] [1m[35m (0.8ms)[0m commit transaction Migrating to CreateDeliveryServices (20130927130022) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0, "vat_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime) [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130927130022"]] [1m[35m (0.8ms)[0m commit transaction Migrating to AddDeliveryServiceToOrder (20130927132143) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_service_id" integer [1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_price" decimal(8,2) DEFAULT 0.0[0m [1m[35m (0.1ms)[0m ALTER TABLE "shoppe_orders" ADD "delivery_vat_rate" decimal(8,2) DEFAULT 0.0 [1m[36m (0.1ms)[0m [1mALTER TABLE "shoppe_orders" ADD "delivery_vat_amount" decimal(8,2) DEFAULT 0.0[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927132143"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to AddPaymentDateToOrders (20130927150025) [1m[35m (0.0ms)[0m begin transaction [1m[36m (0.3ms)[0m [1mALTER TABLE "shoppe_orders" ADD "paid_at" datetime[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130927150025"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to RenameStripePaymentToken (20130928111819) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders" [1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_orders"[0m [1m[35m (0.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m [1m[35m (0.2ms)[0m DROP TABLE "ashoppe_orders" [1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255)[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928111819"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m Migrating to AddApporovedUsers (20130928131502) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "approved_by" integer[0m [1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "shipped_by" integer [1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "consignment_number" varchar(255)[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928131502"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m Migrating to AddCourierDetailsToShippingMethods (20130928134518) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_delivery_services" ADD "courier" varchar(255)[0m [1m[35m (0.2ms)[0m ALTER TABLE "shoppe_delivery_services" ADD "tracking_url" varchar(255) [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928134518"]] [1m[35m (0.8ms)[0m commit transaction Migrating to AddRejectionToOrders (20130928173818) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m ALTER TABLE "shoppe_orders" ADD "rejected_at" datetime [1m[36m (0.2ms)[0m [1mALTER TABLE "shoppe_orders" ADD "rejected_by" integer[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928173818"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m Migrating to SortOutOrdersForGateways (20130928180041) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "stripe_customer_token" varchar(255), "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m [1m[35m (0.2ms)[0m SELECT * FROM "shoppe_orders" [1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m [1m[35m (0.3ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders" [1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "payment_reference" varchar(255), "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders" [1m[36m (0.3ms)[0m [1mDROP TABLE "shoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "payment_method" varchar(255), "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "shoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "approved_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m [1m[35m (0.2ms)[0m DROP TABLE "ashoppe_orders" [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928180041"]] [1m[35m (1.0ms)[0m commit transaction Migrating to CreateNiftyKeyValueStoreTable (20130928185655) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928185655"]] [1m[35m (0.8ms)[0m commit transaction Migrating to AddPaymentGatewayToOrders (20130928193023) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_gateway_module" varchar(255) [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130928193023"]] [1m[35m (0.8ms)[0m commit transaction Migrating to UpdateDatabaseColumnsForAccepted (20130928201257) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [1m[36m (0.2ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.2ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "approved_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_vat_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130928201257"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m Migrating to AddIpAddressToOrders (20130929151744) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "ip_address" varchar(255)[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130929151744"]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m Migrating to ChangeOrderItemsToBeNonPolymorphic (20130929203421) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items" [1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_order_items"[0m [1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items" [1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "parent_type" varchar(255), "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_order_items" [1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_order_items"[0m [1m[35m (0.1ms)[0m CREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "vat_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_order_items"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_order_items" [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130929203421"]] [1m[35m (1.1ms)[0m commit transaction Migrating to AddFeaturedBooleanToProducts (20130930181344) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.4ms)[0m ALTER TABLE "shoppe_products" ADD "featured" boolean DEFAULT 'f' [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20130930181344"]] [1m[35m (0.6ms)[0m commit transaction Migrating to RenameVatToTax (20131002154122) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f') [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_products"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_products" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f') [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_products" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_products"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_vat_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m [1m[35m (0.2ms)[0m DROP TABLE "shoppe_order_items" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "vat_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_order_items"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_order_items" [1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_order_items" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_order_items"[0m [1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services" [1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002154122"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m Migrating to CreateDeliveryServicePrices (20131002155246) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mCREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_delivery_services" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "tax_rate" decimal(8,2), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_delivery_services" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m [1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "min_weight" decimal(8,3), "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services" [1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m [1m[35m (0.1ms)[0m CREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "max_weight" decimal(8,3), "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.0ms)[0m [1mSELECT * FROM "shoppe_delivery_services"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_delivery_services" [1m[36m (0.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.0ms)[0m SELECT * FROM "ashoppe_delivery_services" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_delivery_services"[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131002155246"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m Migrating to DefaultShouldNotBeTrueForDeliveryServices (20131002162301) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.1ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 't', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_delivery_services" [1m[36m (0.2ms)[0m [1mDROP TABLE "shoppe_delivery_services"[0m [1m[35m (0.2ms)[0m CREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_delivery_services"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_delivery_services" [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131002162301"]] [1m[35m (1.0ms)[0m commit transaction Migrating to ChangeDefaultsForDeliveryValuesOnOrders (20131003163827) [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2) DEFAULT 0.0, "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [1m[36m (0.2ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2) DEFAULT 0.0, "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.3ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.2ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2) DEFAULT 0.0, "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "shoppe_orders"[0m [1m[35m (0.1ms)[0m DROP TABLE "shoppe_orders" [1m[36m (0.3ms)[0m [1mCREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "ashoppe_orders" [1m[36m (0.1ms)[0m [1mDROP TABLE "ashoppe_orders"[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131003163827"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m Migrating to AddCountryToOrders (20131004185043) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.5ms)[0m [1mALTER TABLE "shoppe_orders" ADD "country" varchar(255)[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004185043"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m Migrating to AddBoxFieldsToProducts (20131004193320) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_products" ADD "in_the_box" text[0m [1m[35mSQL (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131004193320"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m Migrating to AddPaymentReferenceFields (20131006144849) [1m[35m (0.1ms)[0m begin transaction [1m[36m (0.4ms)[0m [1mALTER TABLE "shoppe_orders" ADD "payment_reference" varchar(255)[0m [1m[35m (0.2ms)[0m ALTER TABLE "shoppe_orders" ADD "payment_method" varchar(255) [1m[36m (0.2ms)[0m [1mCREATE TEMPORARY TABLE "ashoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "payment_gateway_module" varchar(255), "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [0m [1m[35m (0.1ms)[0m SELECT * FROM "shoppe_orders" [1m[36m (0.4ms)[0m [1mDROP TABLE "shoppe_orders"[0m [1m[35m (0.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.1ms)[0m [1mSELECT * FROM "ashoppe_orders"[0m [1m[35m (0.1ms)[0m DROP TABLE "ashoppe_orders" [1m[36mSQL (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20131006144849"]] [1m[35m (1.1ms)[0m commit transaction [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (7.7ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 16:08:42 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:42 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7ff1f5738900,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7ff1f5738d88,'0.0',9(36)>], ["price", #<BigDecimal:7ff1f5739468,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7ff1f57390f8,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff1f57e0a60,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f57e0d30,'0.0',9(36)>], ["price", #<BigDecimal:7ff1f57e1528,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7ff1f57e1140,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff1f561be28,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f561c0a8,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff1f561c9b8,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7ff1f561c468,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff1f55dab08,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f55dae00,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff1f55db7d8,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f55db3c8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff1f552c940,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f552cbc0,'0.1E2',9(36)>], ["price", #<BigDecimal:7ff1f552d458,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f552cf30,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff1f52c3910,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f5394ad8,'0.25E2',9(36)>], ["price", #<BigDecimal:7ff1f53952d0,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7ff1f5394f60,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff1f562a158,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f562a3b0,'0.0',9(36)>], ["price", #<BigDecimal:7ff1f562aa90,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7ff1f562a6a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff1f53aeeb0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f53af130,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff1f53af8b0,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7ff1f53af4f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff1f57d1650,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f57d18d0,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff1f57d20c8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7ff1f57d1bf0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff1f51f7f90,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f51f0218,'0.0',9(36)>], ["price", #<BigDecimal:7ff1f51f08d0,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f51f0560,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff1f5073bd8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f5073e58,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff1f5074588,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f5074150,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff1f5079e98,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f507a118,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff1f507a780,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f507a3e8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff1f52daa70,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f52dacc8,'0.0',9(36)>], ["price", #<BigDecimal:7ff1f52db308,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f52daf98,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff1f51918f8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff1f5191b50,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff1f5192190,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f5191e20,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff1f50ec038,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff1f50ec498,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff1f50ecb78,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7ff1f50ec808,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7ff1f55010b0,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7ff1f55007a0,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f5501998,'0.1119E1',18(45)>]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '3769af39-2413-487b-9f96-7f104fabc0c7' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "3769af39-2413-487b-9f96-7f104fabc0c7"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7ff1f0990428,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7ff1f09900b8,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f0990798,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '15e9e4e3-c154-46e7-9fa7-003f4a1e8dee' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "15e9e4e3-c154-46e7-9fa7-003f4a1e8dee"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7ff1f0c373c0,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7ff1f0c37050,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f0c37730,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd5449595-76c4-4b46-9ff4-6cee56d96be7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d5449595-76c4-4b46-9ff4-6cee56d96be7"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7ff1f0bffa88,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7ff1f0bff718,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f0bffdf8,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'aeb03714-9749-4298-b743-47b9f3988f06' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "aeb03714-9749-4298-b743-47b9f3988f06"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7ff1f3896178,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7ff1f3895e08,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f38964e8,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '846695b3-a3d5-4a5e-be68-72184412792a' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "846695b3-a3d5-4a5e-be68-72184412792a"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7ff1f5269f78,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7ff1f5269c08,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f526a2e8,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a93a09e1-d9d3-4a8b-90e0-621bafafa0b7' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a93a09e1-d9d3-4a8b-90e0-621bafafa0b7"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7ff1f3b83fc0,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7ff1f3b83c50,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f3b84330,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9768577d-cf30-4a25-8d91-a8fcfb9d89b8' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9768577d-cf30-4a25-8d91-a8fcfb9d89b8"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7ff1f0b2b508,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7ff1f0b2b198,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f0b2b878,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4aef72a6-86aa-402d-8195-b7182f6452c5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4aef72a6-86aa-402d-8195-b7182f6452c5"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7ff1f0baba28,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7ff1f0bab6b8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f0babd98,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4af9c5fa-dbc2-4f5f-af3a-d669db0032c8' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4af9c5fa-dbc2-4f5f-af3a-d669db0032c8"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7ff1f0b92168,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7ff1f0b91df8,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["weight", #<BigDecimal:7ff1f09fe310,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '273bc823-b1e3-4e8b-9b67-721b4845801e' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "273bc823-b1e3-4e8b-9b67-721b4845801e"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$bsOxr4m8vMJFho2MeZbjcOSmj3gY4/Q/fy3.NRIQTFET9Pzgi0GJq"], ["updated_at", Sun, 06 Oct 2013 16:08:43 UTC +00:00]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (5.4ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (2.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 6], ["max_weight", #<BigDecimal:7fb4bff4aad0,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fb4bff4af58,'0.0',9(36)>], ["price", #<BigDecimal:7fb4bff4b700,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fb4bff4b390,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 7], ["max_weight", #<BigDecimal:7fb4bf899240,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bf899538,'0.0',9(36)>], ["price", #<BigDecimal:7fb4bf899d80,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fb4bf8998a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 7], ["max_weight", #<BigDecimal:7fb4bfb14218,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfb14498,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb4bfb14da8,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfb14858,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 7], ["max_weight", #<BigDecimal:7fb4bff64110,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bff64408,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb4bff64de0,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bff649d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 7], ["max_weight", #<BigDecimal:7fb4bfc34f08,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bfc35188,'0.1E2',9(36)>], ["price", #<BigDecimal:7fb4bfc35a20,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfc354f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 7], ["max_weight", #<BigDecimal:7fb4bfc0b8b0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bcf58098,'0.25E2',9(36)>], ["price", #<BigDecimal:7fb4bcf58890,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fb4bcf58520,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 8], ["max_weight", #<BigDecimal:7fb4bfb7d740,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfb7d998,'0.0',9(36)>], ["price", #<BigDecimal:7fb4bfb7e078,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfb7dc90,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 8], ["max_weight", #<BigDecimal:7fb4bfcbc8b8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfcbcb38,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb4bfcbd2b8,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfcbcef8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 8], ["max_weight", #<BigDecimal:7fb4bf973e68,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bf9740e8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb4bf9748e0,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fb4bf974408,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 9], ["max_weight", #<BigDecimal:7fb4bfbea188,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfbea3e0,'0.0',9(36)>], ["price", #<BigDecimal:7fb4bcfdceb0,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bcfdcb40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 9], ["max_weight", #<BigDecimal:7fb4bff5b7e0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bff5ba60,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb4bff5c190,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bff5bd58,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 9], ["max_weight", #<BigDecimal:7fb4bfca4498,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bf856530,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb4bf856b98,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bf856800,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 10], ["max_weight", #<BigDecimal:7fb4bfb87c40,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfb87e98,'0.0',9(36)>], ["price", #<BigDecimal:7fb4bfb884d8,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfb88168,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 10], ["max_weight", #<BigDecimal:7fb4bfeacb28,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb4bfeacd80,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb4bfead3c0,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfead050,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00], ["delivery_service_id", 10], ["max_weight", #<BigDecimal:7fb4bfc58048,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb4bfc584a8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb4bfc58b88,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fb4bfc58818,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 16:08:56 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::ProductCategory Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_orders"[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_orders"[0m [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_orders"[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (2.8ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[36m (0.4ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.5ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.2ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.8ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.1ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[36m (3.4ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (1.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m [1m[36m (2.9ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.4ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.5ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.2ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.5ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "shoppe_products" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (3.5ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.6ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.4ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (1.3ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.4ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "shoppe_products" [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (1.1ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.3ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f97064f4eb8,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f97064f51b0,'0.0',9(36)>], ["price", #<BigDecimal:7f97064f5ca0,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f97064f54a8,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9706682f78,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f9706683220,'0.0',9(36)>], ["price", #<BigDecimal:7f9706683978,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f97066835b8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9706275188,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f9706275520,'0.1E1',9(36)>], ["price", #<BigDecimal:7f9706275d40,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f9706275958,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f970718f3a8,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f970718f628,'0.5E1',9(36)>], ["price", #<BigDecimal:7f970718fc68,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f970718f8f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f97076d45e8,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f97076d4908,'0.1E2',9(36)>], ["price", #<BigDecimal:7f970647c0f8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f97076d4c00,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f970717f368,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f970717f5c0,'0.25E2',9(36)>], ["price", #<BigDecimal:7f970717ff70,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f970717f8e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f97061adac0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f97061add40,'0.0',9(36)>], ["price", #<BigDecimal:7f97061ae420,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f97061ae038,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f970719f870,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f970719fb68,'0.1E1',9(36)>], ["price", #<BigDecimal:7f97064cbf40,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f97064cba68,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f970677af20,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f970677b2e0,'0.5E1',9(36)>], ["price", #<BigDecimal:7f970677b998,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f970677b5d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f970705ded0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f970705e1a0,'0.0',9(36)>], ["price", #<BigDecimal:7f970705e808,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f970705e498,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f970770c358,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f970770c5b0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f970770cc18,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f970770c8a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f97063541d0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f9706354478,'0.5E1',9(36)>], ["price", #<BigDecimal:7f9706354b30,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f9706354770,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f97072cb5c8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f97072cb820,'0.0',9(36)>], ["price", #<BigDecimal:7f97072cbe60,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f97072cbaf0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f970649fcd8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f970649ff80,'0.1E1',9(36)>], ["price", #<BigDecimal:7f97064a05c0,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f97064a0250,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f97061c2830,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f9707116a20,'0.5E1',9(36)>], ["price", #<BigDecimal:7f97071172b8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f9707116e08,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (2.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f9707679c10,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f9707679620,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f9707679ff8,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5be05f21-22de-4d3e-a8c7-358ff6a6dd33' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5be05f21-22de-4d3e-a8c7-358ff6a6dd33"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f97042e1880,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f97042e1510,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f97042d9d10,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '106b9abf-acec-4077-9b04-3497ff32bf47' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "106b9abf-acec-4077-9b04-3497ff32bf47"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f970430d3b8,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f970430d048,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f970430d728,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1d05ef83-b143-4537-834f-4679fa51bfc7' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1d05ef83-b143-4537-834f-4679fa51bfc7"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f9706396b70,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f9706396800,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f9706396ee0,'0.223E1',18(45)>]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '337f03cb-54c4-49fc-bd1f-b15d0f68f25d' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "337f03cb-54c4-49fc-bd1f-b15d0f68f25d"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (2.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f97062d88f0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f97062d8580,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f97062d8c60,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '860e473c-1ee8-4faa-9db7-955ce1f9d177' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "860e473c-1ee8-4faa-9db7-955ce1f9d177"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f9706655b90,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f9706655820,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f9706655f00,'0.24E1',18(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ca808265-d38a-44d3-8808-ba02fa0b4ad8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ca808265-d38a-44d3-8808-ba02fa0b4ad8"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f9706573e98,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f9706573b28,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f9706574208,'0.89E0',9(45)>]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '94fc52ac-a135-4707-866b-641cbe9319ce' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "94fc52ac-a135-4707-866b-641cbe9319ce"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f97043b40a0,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f97043b3d30,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f97043b4410,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5749b8c4-c1d9-4dae-b067-d46245b2072a' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5749b8c4-c1d9-4dae-b067-d46245b2072a"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f97043dd298,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f97043e4ef8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f97043dd608,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '86c50517-dbd9-46c7-afe7-6a8fd26a596d' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "86c50517-dbd9-46c7-afe7-6a8fd26a596d"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f97043edc88,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f97043ed918,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["weight", #<BigDecimal:7f97043edff8,'0.128E1',18(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '0413d218-d2b6-44a3-b253-ef54b5c80f0a' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "0413d218-d2b6-44a3-b253-ef54b5c80f0a"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$yOHwlEAJD3822utAWe37be9tKh1PuVHmbP1fl.8ng/H80EpCTXdoW"], ["updated_at", Sun, 06 Oct 2013 17:10:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_products"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.5ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fdf3bdff288,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fdf3bdff620,'0.0',9(36)>], ["price", #<BigDecimal:7fdf3bdffcb0,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fdf3bdff8f0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fdf3e225568,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e225900,'0.0',9(36)>], ["price", #<BigDecimal:7fdf3e225fb8,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e225c20,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fdf3e2332d0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e233618,'0.1E1',9(36)>], ["price", #<BigDecimal:7fdf3e2340e0,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e233ac8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fdf3e1b90c0,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3e1b9598,'0.5E1',9(36)>], ["price", #<BigDecimal:7fdf3e1b9c78,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e1b9908,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fdf3e5d5028,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3e5d5398,'0.1E2',9(36)>], ["price", #<BigDecimal:7fdf3e5d5bb8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e5d57a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fdf3e5dccd8,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3e5dcfa8,'0.25E2',9(36)>], ["price", #<BigDecimal:7fdf3e5dd660,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fdf3e5dd278,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fdf3e59c390,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e59c610,'0.0',9(36)>], ["price", #<BigDecimal:7fdf3e59cca0,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e59c930,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fdf3e30e628,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e30e8a8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fdf3e29dfe0,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e29dc20,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fdf3e4f2160,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3e4f2408,'0.5E1',9(36)>], ["price", #<BigDecimal:7fdf3e4f2bb0,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fdf3e4f2818,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fdf3e107b90,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e107de8,'0.0',9(36)>], ["price", #<BigDecimal:7fdf3e108540,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e108180,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fdf3e60a7f0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e60aae8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fdf3e60b150,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e60adb8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fdf3e0622d0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3e062550,'0.5E1',9(36)>], ["price", #<BigDecimal:7fdf3e062c08,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e062870,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fdf3bf56b18,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3bf56d70,'0.0',9(36)>], ["price", #<BigDecimal:7fdf3bf573b0,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3bf57040,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fdf3e0f3640,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fdf3e251eb0,'0.1E1',9(36)>], ["price", #<BigDecimal:7fdf3e252540,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3e2521d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fdf3e262698,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fdf3bed23b8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fdf3bed2cc8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fdf3bed2778,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fdf3e08f2a8,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fdf3e08ef10,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3e08f910,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a72d734c-dcaf-4fa5-ac60-d6f2709b1bd4' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a72d734c-dcaf-4fa5-ac60-d6f2709b1bd4"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fdf3ae13bd0,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fdf3ae13860,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3ae13f40,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '80944197-0909-4ba2-a182-577f9d808845' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "80944197-0909-4ba2-a182-577f9d808845"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fdf3ae3dde0,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fdf3ae3da70,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3ae3e150,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '166bd0fb-0369-4998-ad69-3be2189c52b9' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "166bd0fb-0369-4998-ad69-3be2189c52b9"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fdf3c5011a8,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fdf3c500e38,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3c501518,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1620d5a2-35f0-48d9-acf8-36ba7b84ecc4' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1620d5a2-35f0-48d9-acf8-36ba7b84ecc4"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fdf3acc0b48,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fdf3acc07d8,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3acc0eb8,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '7d8d79e1-55c2-4189-8777-577e1c01873f' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "7d8d79e1-55c2-4189-8777-577e1c01873f"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fdf3c1b4e28,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fdf3c1b4ab8,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3c1b5198,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '6721904b-90ca-4b4c-9230-a9d20dd36771' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "6721904b-90ca-4b4c-9230-a9d20dd36771"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fdf3ae780f8,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fdf3ae77d88,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3ae78468,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a35dcbfc-cd69-41f9-96c0-8be5e6f2306f' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a35dcbfc-cd69-41f9-96c0-8be5e6f2306f"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fdf3d0fc2a0,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fdf3d0fbf30,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3d0fc610,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '88267b32-c195-46fb-80ef-8149428574ba' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "88267b32-c195-46fb-80ef-8149428574ba"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fdf3aeb0e58,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fdf3aeb8ae0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3aeb11c8,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '02cd4fd4-4324-4c0a-930b-05f04345b255' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "02cd4fd4-4324-4c0a-930b-05f04345b255"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fdf3af1ec50,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fdf3af1e8e0,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["weight", #<BigDecimal:7fdf3af1efc0,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5ff9e33f-4c4a-43be-851a-f283d9285997' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5ff9e33f-4c4a-43be-851a-f283d9285997"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$I8utbU0bLXVuOJ4uTGqR7ed4LlErWCaeUjeDTehPlUiI//jcW1phu"], ["updated_at", Sun, 06 Oct 2013 17:10:33 UTC +00:00]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_products"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.1ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.2ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fbbcffa45c8,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fbbcffa4960,'0.0',9(36)>], ["price", #<BigDecimal:7fbbcffa4fc8,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fbbcffa4c30,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbce78e100,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce78e3f8,'0.0',9(36)>], ["price", #<BigDecimal:7fbbce78eb50,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbce78e790,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbce00fc30,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce00ff78,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbce010a40,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbce010428,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbce430418,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fbbce4308f0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbce430fd0,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce430c60,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbce49b358,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fbbce49b6c8,'0.1E2',9(36)>], ["price", #<BigDecimal:7fbbce49bee8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce49bad8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbce51ede8,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fbbce51f0b8,'0.25E2',9(36)>], ["price", #<BigDecimal:7fbbce51f770,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fbbce51f388,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbce1856a0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce185920,'0.0',9(36)>], ["price", #<BigDecimal:7fbbce185fb0,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbce185c40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbcfc73f48,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbcfc741c8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbce7050d0,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbcfc74510,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbce3e1688,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbce3e1930,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbce3e20d8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fbbce3e1d40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbce2c1eb0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce2c2108,'0.0',9(36)>], ["price", #<BigDecimal:7fbbce2c2860,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce2c24a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbce247138,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce247430,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbce247a98,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce247700,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbcf87a400,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbcf87a680,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbcf87ad38,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbcf87a9a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbce7a4838,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbce7a4a90,'0.0',9(36)>], ["price", #<BigDecimal:7fbbce7a50d0,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce7a4d60,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbcfc6c978,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbcfc6cbd0,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbce667e70,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbce667b00,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbce6c0d68,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbcf98d2c0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbcf98dbd0,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbcf98d680,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fbbce17d1d0,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fbbce17ce38,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbce17d838,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'eca2015b-aa8d-4d45-8126-b68a840fe3a0' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "eca2015b-aa8d-4d45-8126-b68a840fe3a0"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fbbccb74640,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fbbccb742d0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbccb749b0,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '2e5ff123-8b0e-450c-8d30-a0c4eec8251b' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "2e5ff123-8b0e-450c-8d30-a0c4eec8251b"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fbbccc895d0,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbbccc89260,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbccc89940,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '08ebd287-ef34-4995-945a-b7459e88a932' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "08ebd287-ef34-4995-945a-b7459e88a932"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fbbce65ed70,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbbce65ea00,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbce65f0e0,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f62e54cc-d804-47c7-a564-e13fb97484c7' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f62e54cc-d804-47c7-a564-e13fb97484c7"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fbbccad1eb8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fbbccad1b48,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbccad2228,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1c4c4f96-3541-43b7-9b83-e206f1a8f6fd' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1c4c4f96-3541-43b7-9b83-e206f1a8f6fd"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fbbce67b330,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fbbce67afc0,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbce67b6a0,'0.24E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '2cc4746a-4578-45be-9796-6f549c7193fe' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "2cc4746a-4578-45be-9796-6f549c7193fe"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fbbce0fdc50,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fbbce0fd8e0,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbce0fdfc0,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '8fbe4f06-b77a-4b3f-b27c-5aee1cbbd0f0' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "8fbe4f06-b77a-4b3f-b27c-5aee1cbbd0f0"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fbbcb8b9e60,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fbbcb8b9af0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbcb8ba1d0,'0.78E0',9(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '2be88ef7-9286-4397-8f6f-14e6e1985107' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "2be88ef7-9286-4397-8f6f-14e6e1985107"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fbbccc9ac40,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbbccc632b8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbccc9afb0,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b09f2e11-8b11-47a3-ae69-0383ce2e5088' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b09f2e11-8b11-47a3-ae69-0383ce2e5088"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fbbce2055f8,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbbce205288,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["weight", #<BigDecimal:7fbbce205968,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '944a437a-6e4c-485c-9182-bd4d8c0c82d8' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "944a437a-6e4c-485c-9182-bd4d8c0c82d8"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$x9cVuPlvb1SFy.t0EP6cyu6lnNn3KNKsC0dOAVNUTmCvK7oT5PP9G"], ["updated_at", Sun, 06 Oct 2013 17:12:17 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_products"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.3ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fbecd5c6fc8,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fbecd5c7360,'0.0',9(36)>], ["price", #<BigDecimal:7fbecd5c79c8,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fbecd5c7630,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbecd5bdd10,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbecd5be008,'0.0',9(36)>], ["price", #<BigDecimal:7fbecd5be760,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fbecd5be3a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbeca544be8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbeca544f30,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbeca5459f8,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fbeca5453e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbeca177830,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fbeca177cb8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbeca178398,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fbeca178028,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbecd5d2f30,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fbecd5d32a0,'0.1E2',9(36)>], ["price", #<BigDecimal:7fbecd5d3ac0,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fbecd5d36b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbeca469d90,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fbeca46a060,'0.25E2',9(36)>], ["price", #<BigDecimal:7fbeca46a718,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fbeca46a330,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbeca7ca9f8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbeca7caca0,'0.0',9(36)>], ["price", #<BigDecimal:7fbeca7cb308,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fbeca7caf98,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbecd478e78,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbecd4790f8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbecd154620,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fbecd479440,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbecd6559f8,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbecd655c78,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbecd656420,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fbecd656088,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbeca1cf7d8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbeca1cfa30,'0.0',9(36)>], ["price", #<BigDecimal:7fbeca1d0188,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fbeca1cfdc8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbeca17c448,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbeca17c740,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbeca17cdd0,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fbeca17ca10,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbecd593510,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbecd593790,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbecd593e48,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbecd593ab0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbecd60b128,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbecd60b380,'0.0',9(36)>], ["price", #<BigDecimal:7fbecd60b9c0,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbecd60b650,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbecd317250,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbecd3174a8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbecd046350,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fbecd045fe0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbeca594e90,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbeca5951b0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbecd77bf80,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fbecd77b990,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fbecd439a70,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fbecd4396d8,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbecd43a0d8,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9fc21be6-e069-4d02-8e2d-bca2eaa0dce0' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9fc21be6-e069-4d02-8e2d-bca2eaa0dce0"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fbecd183da8,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fbecd183a38,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbecd184118,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '065db929-5dc1-4091-9e3b-fc2038610662' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "065db929-5dc1-4091-9e3b-fc2038610662"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fbeca209758,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbeca2093e8,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbeca209ac8,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4659b2f2-64c6-4423-9b7d-aa0a685fe9a0' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4659b2f2-64c6-4423-9b7d-aa0a685fe9a0"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fbeca7874f0,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbeca787180,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbeca787860,'0.223E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '88ebf070-03f6-4f96-a1b1-0ec6afb7dde6' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "88ebf070-03f6-4f96-a1b1-0ec6afb7dde6"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (2.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fbece5d0270,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fbece5cff00,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbece5d05e0,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'c06fa8c9-6beb-4e4b-b03a-ef8d37dd1eeb' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "c06fa8c9-6beb-4e4b-b03a-ef8d37dd1eeb"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fbecd2bb900,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fbecd2bb590,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbecd2bbc70,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '22ab837b-ea47-4fec-9ee6-25106486e886' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "22ab837b-ea47-4fec-9ee6-25106486e886"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fbecd446db0,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fbecd446a40,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbecd447120,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '37e3677b-fa89-4fcf-8816-4c4de5a26db3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "37e3677b-fa89-4fcf-8816-4c4de5a26db3"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fbece4457e8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fbece445478,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbece445b58,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '94a9fff5-1c5f-42bd-94a1-09e2788d9be5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "94a9fff5-1c5f-42bd-94a1-09e2788d9be5"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fbece49bd78,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbece49ba08,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbece494118,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd34b4e74-2ab8-40c4-a161-f3d0dcaf4bcd' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d34b4e74-2ab8-40c4-a161-f3d0dcaf4bcd"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fbecc49cb80,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbecc49c810,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["weight", #<BigDecimal:7fbecc49cef0,'0.128E1',18(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '0b0723d9-206e-45a5-9a48-13ab738c303d' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "0b0723d9-206e-45a5-9a48-13ab738c303d"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$b3Uq2LTlMIKiEt1GzR2Pc..MQqv5FOnOk0L6anTLMMdqMZtqUnOwa"], ["updated_at", Sun, 06 Oct 2013 17:13:05 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "shoppe_products"[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (2.5ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.5ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f9b06867010,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f9b068673a8,'0.0',9(36)>], ["price", #<BigDecimal:7f9b06867a10,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f9b06867678,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9b069dfd48,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f9b069e0090,'0.0',9(36)>], ["price", #<BigDecimal:7f9b069e0798,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f9b069e03d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9b047b9a48,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f9b047b9d90,'0.1E1',9(36)>], ["price", #<BigDecimal:7f9b047ba858,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f9b047ba240,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9b068b9ae0,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f9b068b9f68,'0.5E1',9(36)>], ["price", #<BigDecimal:7f9b068ba648,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b068ba2d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9b06a9e018,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f9b06a9e388,'0.1E2',9(36)>], ["price", #<BigDecimal:7f9b06a9eba8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b06a9e798,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f9b069f88c0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f9b069f8b90,'0.25E2',9(36)>], ["price", #<BigDecimal:7f9b069f9248,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f9b069f8e60,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f9b06be9350,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f9b06be95f8,'0.0',9(36)>], ["price", #<BigDecimal:7f9b06be9c60,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f9b06be98f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f9b06a1d008,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f9b06a1d288,'0.1E1',9(36)>], ["price", #<BigDecimal:7f9b06d1edb0,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f9b06a1d5d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f9b0466e378,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f9b0466e5f8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f9b0466eda0,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f9b0466ea08,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f9b06deab68,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f9b06deadc0,'0.0',9(36)>], ["price", #<BigDecimal:7f9b06deb518,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b06deb158,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f9b06c577d8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f9b06c57ad0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f9b06c58160,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b06c57da0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f9b068ae898,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f9b068aeb18,'0.5E1',9(36)>], ["price", #<BigDecimal:7f9b068af1d0,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b068aee38,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f9b046d1ef0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f9b046d2148,'0.0',9(36)>], ["price", #<BigDecimal:7f9b046d2788,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b046d2418,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f9b06b0a420,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f9b06b02680,'0.1E1',9(36)>], ["price", #<BigDecimal:7f9b06b02d10,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b06b029a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f9b06c0e038,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f9b06cd1970,'0.5E1',9(36)>], ["price", #<BigDecimal:7f9b06cd2320,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f9b06cd1d30,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (2.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f9b046fda78,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f9b046fd5f0,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b046fe040,'0.1119E1',18(45)>]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.2ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '64686082-e19c-44e2-89cf-d89a54258ed8' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "64686082-e19c-44e2-89cf-d89a54258ed8"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f9b02e32b60,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f9b02e327f0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02e32ed0,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '6bb41eb7-852f-4860-80cf-59bbfc5992d0' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "6bb41eb7-852f-4860-80cf-59bbfc5992d0"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f9b02e5ccf8,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f9b02e5c988,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02e5d068,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '999bcf6c-9307-4e0f-b448-3aa51a2ad8ae' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "999bcf6c-9307-4e0f-b448-3aa51a2ad8ae"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f9b04680aa0,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f9b04680730,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b04680e10,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4dd8a7f7-b502-4ba3-a281-f60b62601b64' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4dd8a7f7-b502-4ba3-a281-f60b62601b64"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f9b02e85400,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f9b02e85090,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02e85770,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a4048b46-9e94-4c5c-977d-ee7cb727d2c2' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a4048b46-9e94-4c5c-977d-ee7cb727d2c2"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f9b06f5e2b0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f9b06f5df40,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b06f5e620,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'faaf8add-8e22-4d31-811c-71b2296b7808' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "faaf8add-8e22-4d31-811c-71b2296b7808"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f9b06fbfd80,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f9b06fbfa10,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b06fc00f0,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1b020fad-e1e9-44d5-b1a3-c2fbe2d8bb6e' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1b020fad-e1e9-44d5-b1a3-c2fbe2d8bb6e"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f9b02f1b158,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f9b02f1ade8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02f1b4c8,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5c62cc17-d09a-4499-a508-0bf95d94a1ef' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5c62cc17-d09a-4499-a508-0bf95d94a1ef"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f9b02f34f18,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f9b02f3cba0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02f35288,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '7ce02203-438d-4d6c-8e03-be9a41beda2b' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "7ce02203-438d-4d6c-8e03-be9a41beda2b"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f9b02f88320,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f9b02f87fb0,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["weight", #<BigDecimal:7f9b02f88690,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '71661621-49b8-4700-bcfa-9aca3e148e15' LIMIT 1[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "71661621-49b8-4700-bcfa-9aca3e148e15"], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$uLxoJyzN6icmYe0rl6pTA.dNPxCnE773LOAxeHhI5YLsT/bTy91.."], ["updated_at", Sun, 06 Oct 2013 17:14:17 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_new_users -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (3.0ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:02 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:02 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f8cbcd1a8a8,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f8cbcd1ac40,'0.0',9(36)>], ["price", #<BigDecimal:7f8cbcd1b2d0,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f8cbcd1af10,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8cbcb7d798,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbcb7db30,'0.0',9(36)>], ["price", #<BigDecimal:7f8cbcb7e210,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f8cbcb7de78,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8cbca7a918,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbca7ac60,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8cbca7b728,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f8cbca7b110,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8cbadcd798,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbadcdc20,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8cbadce300,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbadcdf90,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8cbcbf84c0,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbcbf8830,'0.1E2',9(36)>], ["price", #<BigDecimal:7f8cbcbf9050,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbcbf8c40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8cbcb2b150,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbcb2b420,'0.25E2',9(36)>], ["price", #<BigDecimal:7f8cbcb2bad8,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f8cbcb2b6f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8cbc80b9e8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbc80bc90,'0.0',9(36)>], ["price", #<BigDecimal:7f8cbc80c2f8,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f8cbc80bf88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8cbcf25490,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbcf25710,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8cbc9af448,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f8cbc9af088,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8cbcb1ee00,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbcb1f080,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8cbcb1f828,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f8cbcb1f490,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8cbcb11c28,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbcb11e80,'0.0',9(36)>], ["price", #<BigDecimal:7f8cbcb125d8,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbcb12218,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8cbc8fec88,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbc8fef80,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8cbc8ff610,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbc8ff250,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8cbc8ea148,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbc8ea3c8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8cbc8eaa80,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbc8ea6e8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8cbcc02b50,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbcc02da8,'0.0',9(36)>], ["price", #<BigDecimal:7f8cbcc033e8,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbcc03078,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8cbcc75290,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8cbaeb5cf0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8cbaeb6380,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbaeb6010,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8cbcd21ea0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8cbaec1de8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8cbaec2798,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f8cbaec21a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f8cbccc3260,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f8cbccc2ec8,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cbccc38c8,'0.1119E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '730350f8-32ad-403d-88a9-cdc3bfdaf727' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "730350f8-32ad-403d-88a9-cdc3bfdaf727"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f8cb9621ce8,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f8cb9621978,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb9622058,'0.1419E1',18(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '26613c5e-22c9-4b60-b760-201846927403' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "26613c5e-22c9-4b60-b760-201846927403"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f8cb964e6a8,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f8cb964e338,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb964ea18,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '676c506f-2637-40fa-9561-fb2ef329eec5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "676c506f-2637-40fa-9561-fb2ef329eec5"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f8cbb003288,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f8cbb002f18,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cbb0035f8,'0.223E1',18(45)>]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1e7eb2a5-de3b-436b-a0eb-15d9d848667c' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1e7eb2a5-de3b-436b-a0eb-15d9d848667c"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f8cbccaa620,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f8cbccaa2b0,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cbccaa990,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '31d2e4e3-10cd-4007-9a5c-fec8ae319240' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "31d2e4e3-10cd-4007-9a5c-fec8ae319240"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f8cb95c56a0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f8cb95c5330,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb95c5a10,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f2f9825b-9a49-4fd5-ae3b-f0683ed124fc' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f2f9825b-9a49-4fd5-ae3b-f0683ed124fc"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f8cb9673778,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f8cb9673408,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb9673ae8,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '04697302-c69e-4091-8fcd-9686f2cf1d38' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "04697302-c69e-4091-8fcd-9686f2cf1d38"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f8cb969ef90,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f8cb969ec20,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb969f300,'0.78E0',9(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '87752c35-6ae5-46a5-b8e8-f3812e3b4f96' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "87752c35-6ae5-46a5-b8e8-f3812e3b4f96"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f8cb96e6d40,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f8cb96ee9c8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb96e70b0,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'c7ed1751-7cdf-4ac2-9382-80f78f607c4e' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "c7ed1751-7cdf-4ac2-9382-80f78f607c4e"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f8cb9754b38,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f8cb97547c8,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["weight", #<BigDecimal:7f8cb9754ea8,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (1.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '87d3111a-3a3a-4528-8bf8-477264e95332' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "87d3111a-3a3a-4528-8bf8-477264e95332"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$6M.iLJh7.UnhSs0LWz2SK.Dfv3YderaaEA.zbTiDZToiy5ZrgBRmS"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_new_users -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `password_digest` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$E4dEAaFtk5Zb.T.ZgLiMRuT060WAHDUr88WY9z2QP5J92kaN3GKqe"], ["updated_at", Sun, 06 Oct 2013 17:15:03 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.6ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.5ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.4ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (2.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f889011f4c0,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f889011f858,'0.0',9(36)>], ["price", #<BigDecimal:7f889011fee8,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f889011fb28,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f889005db90,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f889005df28,'0.0',9(36)>], ["price", #<BigDecimal:7f889005e608,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f889005e270,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f88906b8940,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f88906b8c88,'0.1E1',9(36)>], ["price", #<BigDecimal:7f88906b9750,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f88906b9138,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f88907d7948,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f88907d7e20,'0.5E1',9(36)>], ["price", #<BigDecimal:7f88907d8500,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f88907d8190,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f88900032d0,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f8890003640,'0.1E2',9(36)>], ["price", #<BigDecimal:7f8890003e60,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f8890003a50,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8890471380,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f8890471650,'0.25E2',9(36)>], ["price", #<BigDecimal:7f8890471d08,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f8890471920,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f88900f47e8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f88900f4a68,'0.0',9(36)>], ["price", #<BigDecimal:7f88900f50f8,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f88900f4d88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f88900ad690,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f88900ad910,'0.1E1',9(36)>], ["price", #<BigDecimal:7f889064c448,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f889064c088,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8890172fd0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8890173278,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8890173a20,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f8890173688,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f88901933e8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8890193640,'0.0',9(36)>], ["price", #<BigDecimal:7f8890193d98,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f88901939d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f88905bc668,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f88905bc960,'0.1E1',9(36)>], ["price", #<BigDecimal:7f88905bcfc8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f88905bcc30,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f889062eb28,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f889062eda8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f889062f460,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f889062f0c8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8890345768,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f88903459c0,'0.0',9(36)>], ["price", #<BigDecimal:7f8890346000,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8890345c90,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f88906cda98,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f88904036f0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8890403d80,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f8890403a10,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f88904d02e0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8890131c10,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8890132520,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f8890131fd0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f889077e0f0,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f889077dd58,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f889077e758,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9291e56f-5b14-40f2-8cbb-506afac3deb3' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9291e56f-5b14-40f2-8cbb-506afac3deb3"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f888f5bbb60,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f888f5bb7f0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f888f5bbed0,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ef6fbbb7-e16b-41cc-b81a-eb8f7465d18b' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ef6fbbb7-e16b-41cc-b81a-eb8f7465d18b"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f888f5fc340,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f888f5fbfd0,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f888f5fc6b0,'0.223E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '2ae6fa6b-3a60-4aff-898c-0849ebec86ba' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "2ae6fa6b-3a60-4aff-898c-0849ebec86ba"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f8890695d28,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f88906959b8,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f8890696098,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4c153d79-1ad1-4789-a6bf-d04559371bb0' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4c153d79-1ad1-4789-a6bf-d04559371bb0"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f889056f480,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f889056f110,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f889056f7f0,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '0f7b3bb0-6e27-47b8-ab39-50ba809ecd4e' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "0f7b3bb0-6e27-47b8-ab39-50ba809ecd4e"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f88903fe740,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f88903fe3d0,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f88903feab0,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '63147d7e-4d52-44d3-a59e-25ca010eca48' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "63147d7e-4d52-44d3-a59e-25ca010eca48"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f88905e3e20,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f88905e3ab0,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f88905e4190,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4e586500-aa85-459a-abbc-51b28645fe8f' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4e586500-aa85-459a-abbc-51b28645fe8f"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f888f29dc08,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f888f29d898,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f888f29df78,'0.78E0',9(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '45d862e8-04f0-48c3-b3cb-c3597a36164e' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "45d862e8-04f0-48c3-b3cb-c3597a36164e"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f88906127e8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f889061a470,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f8890612b58,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '55e8bffe-71d1-4d33-a3bb-596216bcada5' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "55e8bffe-71d1-4d33-a3bb-596216bcada5"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f88902bb248,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f88902baed8,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["weight", #<BigDecimal:7f88902bb5b8,'0.128E1',18(45)>]] [1m[36m (14.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '6ce635e4-dfff-49f8-892f-a180fa612133' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "6ce635e4-dfff-49f8-892f-a180fa612133"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (6.1ms)[0m commit transaction [1m[36m (0.2ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$HPAW6mb.2BHt7V4NMn/ZKOyJFCBOvu.m5qprUx8SF9gR73oieek5."], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$uMHwOdw1p3GG2Hy7SYc9zOkVpvihPPOCfIWdNQOXsuULSqRqh00z6"], ["updated_at", Sun, 06 Oct 2013 17:15:18 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.1ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.6ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.2ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.1ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f8814de7328,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f88149e4fa0,'0.0',9(36)>], ["price", #<BigDecimal:7f88149e60d0,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f88149e58b0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f881488c158,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f881488c3d8,'0.0',9(36)>], ["price", #<BigDecimal:7f881488cb08,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f881488c770,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8814e8f348,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8814e8f5a0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8814c58cc8,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f8814e8f870,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8814c37d20,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f8814c37fc8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8814c38630,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814c382c0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8814a800b8,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f8814a80338,'0.1E2',9(36)>], ["price", #<BigDecimal:7f8814a80a68,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814a80608,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8814bf9688,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f8814bf9908,'0.25E2',9(36)>], ["price", #<BigDecimal:7f8814bfa128,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f8814bf9d40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8814fe0c88,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8814b90048,'0.0',9(36)>], ["price", #<BigDecimal:7f8814b907a0,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f8814b90340,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8814a8dab0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8814a8dd08,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8814a8e3e8,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f8814a8e028,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f88149aac88,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f88149ab110,'0.5E1',9(36)>], ["price", #<BigDecimal:7f88149abcc8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f88149ab688,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8814941878,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8814941dc8,'0.0',9(36)>], ["price", #<BigDecimal:7f88148d4368,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f88149421d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8814f16280,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8814f16528,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8814f16bb8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814f16820,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8814c40ec0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8814c41280,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8814c41960,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814c415f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:35 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8814d11d90,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8814d11fe8,'0.0',9(36)>], ["price", #<BigDecimal:7f8814c4d058,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814c4cce8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8814a0bb28,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8814a0bd80,'0.1E1',9(36)>], ["price", #<BigDecimal:7f8814a0c528,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814a0c0a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f8814f78e30,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8814f790b0,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8814f79830,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f8814f793f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35m (2.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f8813c8f648,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f8813c8f238,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8813c8fa58,'0.1119E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '22024a47-3ba5-486d-8da2-13809c99275a' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "22024a47-3ba5-486d-8da2-13809c99275a"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f8810e64f98,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f8810e64c28,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8810e65308,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'cfe803de-ce3c-4fe5-a04c-b79dc44f94ab' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "cfe803de-ce3c-4fe5-a04c-b79dc44f94ab"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f8810dc8490,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f8810dc8120,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8810dc8800,'0.223E1',18(45)>]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '32381f5d-91cf-4b07-8c55-abcef9bca145' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "32381f5d-91cf-4b07-8c55-abcef9bca145"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f88108ea130,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f88108e9dc0,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f88108ea4a0,'0.223E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'c529ef43-94ee-4925-9911-8176b6321421' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "c529ef43-94ee-4925-9911-8176b6321421"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f88108dd4a8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f88108dd138,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f88108d5848,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f86de88a-5dd7-43ba-bb87-d32c5df22af1' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f86de88a-5dd7-43ba-bb87-d32c5df22af1"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f8813b2a960,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f8813b2a5f0,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8813b2acd0,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f8f78f5b-2922-4ee0-ae63-2d7ea11aaff2' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f8f78f5b-2922-4ee0-ae63-2d7ea11aaff2"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f8812012628,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f88120122b8,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f881200a9c8,'0.89E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'bf4ba53e-6bb0-49fd-b797-76df8d75e34c' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "bf4ba53e-6bb0-49fd-b797-76df8d75e34c"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f88109367d8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f8810936468,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8810936b48,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'e505a252-2a34-4cb9-bea2-d7ae9992a057' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "e505a252-2a34-4cb9-bea2-d7ae9992a057"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f881092a578,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f881092a208,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f881092a8e8,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a555a40c-ca8c-4df8-82a4-31cc23584325' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a555a40c-ca8c-4df8-82a4-31cc23584325"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f8814d4d930,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f8814d4d5c0,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["weight", #<BigDecimal:7f8814d4dca0,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '35587e2a-14e4-4ef2-91c6-2a51a79c23f5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "35587e2a-14e4-4ef2-91c6-2a51a79c23f5"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$/RqEqCUS2llc0.hY5.SuKO7LzunNrRCJPI290vNLPc3Z6F4Nv3QcS"], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$qgYKHrIdXbURiQSVriU3Jukvimdph9uZyGtujB4Na7UxsnZsLU07."], ["updated_at", Sun, 06 Oct 2013 17:15:36 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------- Shoppe::UserTest: test_user_destruction --------------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT COUNT(*) FROM "shoppe_users"[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.4ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.5ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00]] [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fb6ccfa3388,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fb6ccfa3720,'0.0',9(36)>], ["price", #<BigDecimal:7fb6ccfa3dd8,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fb6ccfa39f0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fb6ccb58490,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb6ccb58828,'0.0',9(36)>], ["price", #<BigDecimal:7fb6ccb58eb8,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fb6ccb58b20,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fb6c89fe648,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c89fe990,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb6c89ff458,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fb6c89fee40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:47 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fb6c8a576d0,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fb6c8a57b58,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb6c8a58238,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8a57ec8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fb6c89f2de8,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fb6c89f3158,'0.1E2',9(36)>], ["price", #<BigDecimal:7fb6c89f3978,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c89f3568,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fb6c8b852a0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fb6c8b85570,'0.25E2',9(36)>], ["price", #<BigDecimal:7fb6c8b85c28,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fb6c8b85840,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fb6c8dbdd38,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c8dbdfe0,'0.0',9(36)>], ["price", #<BigDecimal:7fb6c8dbe648,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8dbe2d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fb6c8aca7c0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c8acaa40,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb6c8c27370,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8c26fb0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fb6ccdd5b50,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb6ccdd5dd0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb6ccdd6578,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fb6ccdd61e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fb6ccb95f48,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb6ccb961a0,'0.0',9(36)>], ["price", #<BigDecimal:7fb6ccb968f8,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6ccb96538,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fb6c8f0fba0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c8f0fe98,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb6c8f10528,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8f10168,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fb6c8cd2a40,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb6c8cd2cc0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb6c8cd3378,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8cd2fe0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fb6c8f5f088,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c8f5f2e0,'0.0',9(36)>], ["price", #<BigDecimal:7fb6c8f5f920,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8f5f5b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fb6cc8ebdb0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fb6c8bcf008,'0.1E1',9(36)>], ["price", #<BigDecimal:7fb6c8bcf698,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8bcf328,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fb6c8a66400,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fb6c8a66720,'0.5E1',9(36)>], ["price", #<BigDecimal:7fb6c8a670d0,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fb6c8a66ae0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (2.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fb6ccff01d8,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fb6ccfefe40,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6ccff0840,'0.1119E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '10eff4fb-27fa-46fc-b7df-9ce926efc341' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "10eff4fb-27fa-46fc-b7df-9ce926efc341"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fb6c8cb7b50,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fb6c8cb77e0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6c8cb7ec0,'0.1419E1',18(45)>]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '35e5a53d-a96d-481a-b502-c1efd428aa40' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "35e5a53d-a96d-481a-b502-c1efd428aa40"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fb6cc9ac718,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fb6cc9ac3a8,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6cc9aca88,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9c1cf0bf-b2dc-4ebb-a687-34424af4cd0e' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9c1cf0bf-b2dc-4ebb-a687-34424af4cd0e"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fb6c9f956a0,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fb6c9f95330,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6c9f95a10,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '074ac40c-1b7d-434f-a0cf-b1f225728d01' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "074ac40c-1b7d-434f-a0cf-b1f225728d01"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fb6ccba3ff8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fb6ccba3c88,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6ccba4368,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '48eb2ec8-06da-48fe-99bb-64b01ff76bad' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "48eb2ec8-06da-48fe-99bb-64b01ff76bad"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fb6cc95c268,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fb6cc95bef8,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6cc95c5d8,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '71eba604-88f6-4a4c-9081-ebc4d3ab77e9' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "71eba604-88f6-4a4c-9081-ebc4d3ab77e9"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fb6cd809928,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fb6cd8095b8,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6cd809c98,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '948be516-2775-44a5-9b05-ef811b0cbcfa' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "948be516-2775-44a5-9b05-ef811b0cbcfa"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fb6c8fdf170,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fb6c8fdee00,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6c8fdf4e0,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd2fb3872-6bca-420d-83e4-5846e343f9ba' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d2fb3872-6bca-420d-83e4-5846e343f9ba"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fb6c9ff2300,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fb6cb003f78,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6c9ff2670,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4184f5b6-055e-4811-8631-7da893b5dad9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4184f5b6-055e-4811-8631-7da893b5dad9"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fb6c8c068f0,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fb6c8c06580,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["weight", #<BigDecimal:7fb6c8c06c60,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'c3653654-9ab8-4883-93b3-45c68b9317e2' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "c3653654-9ab8-4883-93b3-45c68b9317e2"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$tD2603SsfQ2zHLCWOj9.L.LU9RQwz4ZleP.aIbbuzRH6IGqwdWATm"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::OrderTest: test_the_truth --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$AwyPexciMs74K7dlbZ3Tw.Eyrlb9GIo0CjZknTpkr5EDVX8L1M4HG"], ["updated_at", Sun, 06 Oct 2013 17:15:48 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.2ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.6ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (2.7ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.6ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.6ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (1.6ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.5ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (2.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (1.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (1.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (1.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (1.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (5.6ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (3.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (1.6ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fbbc43bd490,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fbbc43bd8f0,'0.0',9(36)>], ["price", #<BigDecimal:7fbbc43bdf58,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fbbc43bdbc0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbc46e1bf8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc46e1ea0,'0.0',9(36)>], ["price", #<BigDecimal:7fbbc46e2698,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbc46e22b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbc46dcf68,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc46dd288,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbc46ddd28,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbc46dd760,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbc4017d90,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc4018268,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbc4018948,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc40185d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbc450ece0,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc450f050,'0.1E2',9(36)>], ["price", #<BigDecimal:7fbbc450f848,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc450f460,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fbbc43f2d98,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc43f3068,'0.25E2',9(36)>], ["price", #<BigDecimal:7fbbc43f36d0,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fbbc43f3338,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbc461ebf8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc461ee78,'0.0',9(36)>], ["price", #<BigDecimal:7fbbc461f508,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbc461f198,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbc458bc90,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc458bf10,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbc4584648,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fbbc458c258,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fbbc47a87d0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc47a8a78,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbc47a9220,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fbbc47a8e88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbc78c97d8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc78c1a38,'0.0',9(36)>], ["price", #<BigDecimal:7fbbc78c2190,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc78c1dd0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbc78d4228,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc78d4548,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbc78d4bd8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc78d4818,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fbbc477e4f8,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc477e778,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbc477ee30,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc477ea98,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.8ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbc43fdf68,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc43fe1c0,'0.0',9(36)>], ["price", #<BigDecimal:7fbbc43fe800,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc43fe490,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbc4725240,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fbbc4725498,'0.1E1',9(36)>], ["price", #<BigDecimal:7fbbc470b368,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc47257b8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fbbc475f878,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fbbc475fb98,'0.5E1',9(36)>], ["price", #<BigDecimal:7fbbc453a0e8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fbbc4539b70,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (3.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fbbc7d3c0b8,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fbbc7d3bd20,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc7d3c720,'0.1119E1',18(45)>]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd99636e1-6b21-4031-8784-1fc02f6c2f68' LIMIT 1 [1m[36mSQL (1.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d99636e1-6b21-4031-8784-1fc02f6c2f68"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (10.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (1.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fbbc6919f90,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fbbc6919c20,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc691a300,'0.1419E1',18(45)>]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd939c80d-7abc-40ca-933e-bb3e6c3fbf70' LIMIT 1[0m [1m[35mSQL (1.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d939c80d-7abc-40ca-933e-bb3e6c3fbf70"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (3.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fbbc6944100,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbbc6943d90,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc6944470,'0.223E1',18(45)>]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b6b574ee-6304-4cdb-a57e-627ed25dc34b' LIMIT 1 [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b6b574ee-6304-4cdb-a57e-627ed25dc34b"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (2.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (1.0ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fbbc44020b8,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fbbc4401d48,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc4402428,'0.223E1',18(45)>]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'cda40a92-d681-4052-865e-818b774b6846' LIMIT 1[0m [1m[35mSQL (1.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "cda40a92-d681-4052-865e-818b774b6846"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (5.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (1.0ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fbbc2c7e040,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fbbc2c7dcd0,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc2c7e3b0,'0.24E1',18(45)>]] [1m[35m (1.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '7e835896-afe9-48b7-8b31-82fda594623c' LIMIT 1 [1m[36mSQL (1.2ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "7e835896-afe9-48b7-8b31-82fda594623c"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (3.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fbbc6c554e8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fbbc6c55178,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc6c55858,'0.24E1',18(45)>]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '67ef7528-35be-4c60-9702-4bdc53f6957d' LIMIT 1[0m [1m[35mSQL (1.1ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "67ef7528-35be-4c60-9702-4bdc53f6957d"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fbbc6b2ffc8,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fbbc6b2fc58,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc6b30338,'0.89E0',9(45)>]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '8b0fd58f-6732-4c71-8311-56f84a8ee8b6' LIMIT 1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "8b0fd58f-6732-4c71-8311-56f84a8ee8b6"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fbbc78b79e8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fbbc78b7678,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc78b7d58,'0.78E0',9(45)>]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4b75cf14-b692-4cf1-8f78-318a16227da0' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4b75cf14-b692-4cf1-8f78-318a16227da0"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fbbc2fa69e8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbbc2fa6678,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc45f5168,'0.78E0',9(45)>]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '2ab508d8-e60a-4419-a21d-046a9f14a99b' LIMIT 1 [1m[36mSQL (1.1ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "2ab508d8-e60a-4419-a21d-046a9f14a99b"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.9ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fbbc4789df8,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fbbc4789a88,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["weight", #<BigDecimal:7fbbc478a168,'0.128E1',18(45)>]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '34ea8961-09a9-478e-8310-c6b2ada23517' LIMIT 1[0m [1m[35mSQL (1.2ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "34ea8961-09a9-478e-8310-c6b2ada23517"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (3.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (1.2ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$xuT61Ow3nHyM7bFtzZYCSO0LOYpbgSN4U2zFTlRjDWomicGNJ.sjO"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (1.7ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["status", "building"], ["token", "948df9ff-cf28-4564-949a-f43128f1ffc3"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (1.3ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7fbbc2f84668,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fbbc2f848e8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fbbc2f84be0,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7fbbc441e1c8,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7fbbc441df20,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.2ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.1ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (1.0ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$K.gJkuET6YzrBzMfHTfLv.iEYgxZ.MXzrv9GIupC1y0w6MgHj8tF6"], ["updated_at", Sun, 06 Oct 2013 17:18:05 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.3ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.4ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.1ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fa7effa7f28,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fa7effa88b0,'0.0',9(36)>], ["price", #<BigDecimal:7fa7efb2c8b8,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fa7efb2bf30,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fa7efca3598,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efca3818,'0.0',9(36)>], ["price", #<BigDecimal:7fa7efca3f48,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fa7efca3b88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fa7ef8ce378,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fa7ef8ce5d0,'0.1E1',9(36)>], ["price", #<BigDecimal:7fa7ef8cec60,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fa7ef8ce8a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fa7effa0160,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fa7effa0408,'0.5E1',9(36)>], ["price", #<BigDecimal:7fa7effa0a70,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7effa0700,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fa7efcaed08,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fa7efcaef88,'0.1E2',9(36)>], ["price", #<BigDecimal:7fa7efcaf6b8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efcaf258,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fa7efa776e8,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fa7efa77990,'0.25E2',9(36)>], ["price", #<BigDecimal:7fa7efa781b0,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fa7efa77dc8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fa7efda4118,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efda44b0,'0.0',9(36)>], ["price", #<BigDecimal:7fa7efa39c08,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fa7efda47a8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fa7efb18d18,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efb18f98,'0.1E1',9(36)>], ["price", #<BigDecimal:7fa7efb19678,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fa7efb192b8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fa7efbb3688,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fa7efbb3b10,'0.5E1',9(36)>], ["price", #<BigDecimal:7fa7efbb46c8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fa7efbb40b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fa7efcf70f8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efcf76e8,'0.0',9(36)>], ["price", #<BigDecimal:7fa7efcf7e68,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efcf7af8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fa7efaeed88,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efaef030,'0.1E1',9(36)>], ["price", #<BigDecimal:7fa7efaef6c0,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efaef328,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fa7efee7f48,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fa7efee8358,'0.5E1',9(36)>], ["price", #<BigDecimal:7fa7efee8a60,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efee86f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fa7ef9b8a90,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fa7ef9b8ce8,'0.0',9(36)>], ["price", #<BigDecimal:7fa7ef9b9328,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7ef9b8fb8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fa7efdc8400,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fa7efdc8658,'0.1E1',9(36)>], ["price", #<BigDecimal:7fa7efdc0e30,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efdc8978,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fa7efdcdd38,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fa7efdcdfb8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fa7efdce738,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fa7efdce300,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:14 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35m (2.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fa7efc0db10,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fa7efc0d5c0,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7efc0df70,'0.1119E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '36cae581-6c77-4419-af8f-aa5f7e6d24a0' LIMIT 1 [1m[36mSQL (0.7ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "36cae581-6c77-4419-af8f-aa5f7e6d24a0"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fa7ee844610,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fa7ee8442a0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ee844980,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '651c1d6f-b229-417d-bf84-a5f20f64704c' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "651c1d6f-b229-417d-bf84-a5f20f64704c"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fa7ee876700,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fa7ee876390,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ee876a70,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '602dbf95-dc37-47cd-abb6-2e6a3fb48380' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "602dbf95-dc37-47cd-abb6-2e6a3fb48380"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fa7ed929158,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fa7ed928de8,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ed9294c8,'0.223E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '286f6ca1-08ba-42a7-a077-1a0f6f9f7650' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "286f6ca1-08ba-42a7-a077-1a0f6f9f7650"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fa7ef88c6f8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fa7ef88c388,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ef88ca68,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9f592eaa-e7a8-4873-8344-53bcf20ba8e5' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9f592eaa-e7a8-4873-8344-53bcf20ba8e5"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fa7ed8a5da8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fa7ed8a5a38,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7eddc7340,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a20ac9db-9c52-4673-a957-89e87b88e117' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a20ac9db-9c52-4673-a957-89e87b88e117"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fa7ede3a688,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fa7ede3a318,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ede3a9f8,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1d084f62-0fd7-4093-95c4-c151bc05f772' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1d084f62-0fd7-4093-95c4-c151bc05f772"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fa7ee96d0a0,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fa7ee96cd30,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ee965440,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '576ae75c-23bb-4eed-aa8d-6affac35a279' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "576ae75c-23bb-4eed-aa8d-6affac35a279"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fa7eecca860,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fa7eecca4f0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7eeccabd0,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '0c65f67d-80fb-44fb-8357-2f18c06a1251' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "0c65f67d-80fb-44fb-8357-2f18c06a1251"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fa7ec1e0a78,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fa7ec1e0708,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["weight", #<BigDecimal:7fa7ec1e0de8,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b40e74ad-4498-4d73-a014-f18b6174b1bd' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b40e74ad-4498-4d73-a014-f18b6174b1bd"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$RE.FDarMVGeaIGDOOMi9sOSM97/oCmZadNOSN9lkhuSteQcebUc/a"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["status", "building"], ["token", "82d2a87b-aa5f-4163-af50-d1834ce327a6"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7fa7ec1d8c60,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fa7ec1d8ee0,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fa7ec1d91d8,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7fa7ec22e200,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7fa7ec22df58,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.2ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7fa7eec75fb8,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fa7eec76238,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fa7eec763c8,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7fa7eec846f8,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7fa7eec84450,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35mShoppe::Order Load (0.0ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36m (2.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["status", "building"], ["token", "ddb2e1c5-2c80-45cd-8bfe-2ae8b1f08a3d"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `password_digest` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$vpAjy8VMvMe4SfsJPuTZI.NA8KMJfKmXNhvRxDqC1bSqsklyJAcHm"], ["updated_at", Sun, 06 Oct 2013 17:19:15 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.6ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (3.1ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.2ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:20:19 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:19 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f8430fad5a0,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f8430fad910,'0.0',9(36)>], ["price", #<BigDecimal:7f84309b0da0,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f84309b0a08,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f8430dbaae0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8430dbad60,'0.0',9(36)>], ["price", #<BigDecimal:7f8430dbb4b8,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f8430dbb0f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f842f322480,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f842f3227a0,'0.1E1',9(36)>], ["price", #<BigDecimal:7f842f323240,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f842f322c78,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f842f0b82a8,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f842f0b8780,'0.5E1',9(36)>], ["price", #<BigDecimal:7f842f0b8e60,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f0b8af0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f842f0a4820,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f842f0a4b90,'0.1E2',9(36)>], ["price", #<BigDecimal:7f842f0a5338,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f0a4fa0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f842f1b9288,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f842f1b9558,'0.25E2',9(36)>], ["price", #<BigDecimal:7f842f1b9b98,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f842f1b9828,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f8430f4e528,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f8430f4e7a8,'0.0',9(36)>], ["price", #<BigDecimal:7f8430f4ee38,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f8430f4eac8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f842f5145b8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f842f514838,'0.1E1',9(36)>], ["price", #<BigDecimal:7f842f514f40,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f842f514b80,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f842f4940e8,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f842f494368,'0.5E1',9(36)>], ["price", #<BigDecimal:7f842f2a0b60,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f842f4947a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f842f4466e0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f842f446938,'0.0',9(36)>], ["price", #<BigDecimal:7f842f447090,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f446cd0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f842f303d50,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f842f304070,'0.1E1',9(36)>], ["price", #<BigDecimal:7f842f3046d8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f304340,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8430d3fc28,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f8430d3fea8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f8430d40560,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f8430d401a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f842f6d5488,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f842f6d56e0,'0.0',9(36)>], ["price", #<BigDecimal:7f842f6d5d20,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f6d59b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f842f778bb0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f842f778e08,'0.1E1',9(36)>], ["price", #<BigDecimal:7f842f779498,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f7790d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f842f2c7df0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f842f2c8110,'0.5E1',9(36)>], ["price", #<BigDecimal:7f842f2c8a20,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f842f2c84d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f842f26a010,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f842f269c78,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842f26a678,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '76ed10b2-4d8f-490d-8a44-ff129c254b1c' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "76ed10b2-4d8f-490d-8a44-ff129c254b1c"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f842efb4a78,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f842efb4708,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842efb4de8,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a1b593fa-124e-440d-b75c-8f162e4ddb3a' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a1b593fa-124e-440d-b75c-8f162e4ddb3a"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f842ef52288,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f842ef51f18,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842ef525f8,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '10655c14-56c1-482e-ad52-38e34291576c' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "10655c14-56c1-482e-ad52-38e34291576c"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f842f639fb0,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f842f639c40,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842f63a320,'0.223E1',18(45)>]] [1m[36m (0.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b537e0bf-ec3d-4314-b38c-14902d5d41d9' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b537e0bf-ec3d-4314-b38c-14902d5d41d9"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f842ea49368,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f842ea48ff8,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842ea496d8,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9d2c43ae-ab95-4f8e-8cc9-b71c5d036180' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9d2c43ae-ab95-4f8e-8cc9-b71c5d036180"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f84309693b0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f8430969040,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f8430969720,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '6f922eb5-5577-44c5-bf70-2c97fd8e97bd' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "6f922eb5-5577-44c5-bf70-2c97fd8e97bd"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f8430e658a0,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f8430e65530,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f8430e65c10,'0.89E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ecc4e710-a992-4c1a-b49e-8a7cbdc2f381' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ecc4e710-a992-4c1a-b49e-8a7cbdc2f381"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f842ed8e668,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f842ed8e2f8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842ed8e9d8,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1662d448-b681-402c-b08d-c96704ae7397' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1662d448-b681-402c-b08d-c96704ae7397"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f842f2b3058,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f842f2b2ce8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f842f2b33c8,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9a6af571-cc7b-4570-a9a2-a66df60e93e6' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9a6af571-cc7b-4570-a9a2-a66df60e93e6"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.2ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f8430d30e30,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f8430d30ac0,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["weight", #<BigDecimal:7f8430d311a0,'0.128E1',18(45)>]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '41d11647-9f40-4b56-b12c-f9a8b444e2b1' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "41d11647-9f40-4b56-b12c-f9a8b444e2b1"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$wmWlsR2QX5aEZ1u6rUEZT.ubXVh3RC6pxAXHrYRuKmYqQ702C5ZHW"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["status", "building"], ["token", "3ea1ee6f-5241-4f2b-8b52-4cbb5c7f9061"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7f842ee23d30,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7f842ee23fb0,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7f842ee242a8,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7f8430968988,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7f84309686b8,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.1ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7f842e9d3758,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7f842e9d39d8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7f842e9d3b68,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7f842e9ddaf0,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7f842e9dd848,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["status", "building"], ["token", "48f4909b-faef-433e-b145-b9e6faf2ce07"], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.2ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$Jh3tY96nU/SdXoFvYxbeR.QbfyblD5PuQ4JTzNcsr4bBi5a35hTO."], ["updated_at", Sun, 06 Oct 2013 17:20:20 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.8ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.5ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (1.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7ffc3cfafc90,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7ffc3c9b1000,'0.0',9(36)>], ["price", #<BigDecimal:7ffc3c9b1668,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7ffc3c9b12d0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ffc3b58e1e0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b58e460,'0.0',9(36)>], ["price", #<BigDecimal:7ffc3b58ebb8,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b58e7f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ffc3b679780,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b679aa0,'0.1E1',9(36)>], ["price", #<BigDecimal:7ffc3b67a540,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b679f78,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ffc3b63fb98,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b640070,'0.5E1',9(36)>], ["price", #<BigDecimal:7ffc3b640750,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b6403e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ffc3b46fcf0,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b470060,'0.1E2',9(36)>], ["price", #<BigDecimal:7ffc3b470808,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b470470,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ffc3b11a550,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b11a820,'0.25E2',9(36)>], ["price", #<BigDecimal:7ffc3b36c498,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7ffc3b11aaf0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ffc3b56bff0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b56c270,'0.0',9(36)>], ["price", #<BigDecimal:7ffc3b56c900,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b56c590,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ffc3c802c90,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3c802f10,'0.1E1',9(36)>], ["price", #<BigDecimal:7ffc3c803618,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7ffc3c803258,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ffc3b5437f8,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b543a78,'0.5E1',9(36)>], ["price", #<BigDecimal:7ffc3b55fc78,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7ffc3b55f8e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ffc3b1f1a50,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b1f1ca8,'0.0',9(36)>], ["price", #<BigDecimal:7ffc3b606618,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b1f2040,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ffc3b3e74b8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b3e77d8,'0.1E1',9(36)>], ["price", #<BigDecimal:7ffc3b3e7e40,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b3e7aa8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ffc3b2aaf78,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b2ab1f8,'0.5E1',9(36)>], ["price", #<BigDecimal:7ffc3b6ff8d0,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b2ab4f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ffc3b508db0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b509008,'0.0',9(36)>], ["price", #<BigDecimal:7ffc3b509648,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b5092d8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ffc3b29e8b8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ffc3b29eb10,'0.1E1',9(36)>], ["price", #<BigDecimal:7ffc3b29f1a0,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b29ede0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ffc3b09b8e0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ffc3b09bc00,'0.5E1',9(36)>], ["price", #<BigDecimal:7ffc3b09c510,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7ffc3b09bfc0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (2.5ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7ffc3c9a14e8,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7ffc3c9a1150,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3c9a1b50,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '01593b75-26b2-4331-a1b5-0ed2444893af' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "01593b75-26b2-4331-a1b5-0ed2444893af"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7ffc3a715410,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7ffc3a7150a0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a7157a8,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.0ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f7829c1d-a2d7-43f5-93ce-5f61bdbd7e6c' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f7829c1d-a2d7-43f5-93ce-5f61bdbd7e6c"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7ffc3a6b05d8,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7ffc3a6b0268,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a6b0948,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '900fceb0-2632-4627-9e4b-21a6d2ddafb0' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "900fceb0-2632-4627-9e4b-21a6d2ddafb0"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7ffc3b209fb0,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7ffc3b209c40,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3b20a320,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '025443d0-09b9-49f1-aede-f9eaa826308a' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "025443d0-09b9-49f1-aede-f9eaa826308a"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7ffc3a75a128,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7ffc3a759db8,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a75a498,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd6d7b2d4-369e-4c2c-befd-0b8c6bb9e482' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d6d7b2d4-369e-4c2c-befd-0b8c6bb9e482"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7ffc3cbf4bc8,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7ffc3cbf4858,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3cbf4f38,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'bd4e1507-9a38-4637-bd9c-ae113238c046' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "bd4e1507-9a38-4637-bd9c-ae113238c046"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7ffc3a1e6a98,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7ffc3a1e6728,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a1e6e08,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'be27abc2-7bfe-43b9-bddb-92ed5a9f1bfb' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "be27abc2-7bfe-43b9-bddb-92ed5a9f1bfb"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7ffc3a4c6628,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7ffc3a4c62b8,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a4c6998,'0.78E0',9(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'dfe19ba3-f793-4460-8e33-c7e056e3cd62' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "dfe19ba3-f793-4460-8e33-c7e056e3cd62"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7ffc3b6db3e0,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7ffc3b6db070,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3b6db750,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f3faf65f-2bf3-4c3e-ad26-3d22e3ff9e79' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f3faf65f-2bf3-4c3e-ad26-3d22e3ff9e79"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7ffc3a4fa400,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7ffc3a4fa090,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["weight", #<BigDecimal:7ffc3a4f27a0,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '857453ff-e473-4316-8373-2fddd7b5caef' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "857453ff-e473-4316-8373-2fddd7b5caef"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$0Vua8qbGP8rLXCoP4zLHKOmCzp7z/cVZJCSqLWe5WF1CqlLrDlM0K"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["status", "building"], ["token", "b3fb754f-43f8-4158-92ec-4735557b5d9e"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.2ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7ffc3a53e268,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7ffc3a53e4e8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7ffc3a53e7e0,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7ffc3cbf40b0,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7ffc3cbf3e08,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7ffc3a79c000,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7ffc3a79c280,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7ffc3a79c410,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36mSQL (0.1ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7ffc3a7a6398,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7ffc3a7a60f0,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mShoppe::Order Load (0.0ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["status", "building"], ["token", "1dff8ec3-4895-44b4-a2f3-94954d657962"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.2ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$hAwELiqF8CmE4K7hWYszVeD306cXXBhXpP9YRFQRgizggsBosRZty"], ["updated_at", Sun, 06 Oct 2013 17:20:44 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (3.0ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (1.0ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fe3b9930108,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fe3b9930478,'0.0',9(36)>], ["price", #<BigDecimal:7fe3bbb6e710,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9930748,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fe3b9e88290,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fe3b9e88510,'0.0',9(36)>], ["price", #<BigDecimal:7fe3b9e88c68,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9e888d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fe3b9cb6c00,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fe3b9cb6f20,'0.1E1',9(36)>], ["price", #<BigDecimal:7fe3b9cb79c0,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9cb73f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fe3bb8e6e20,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fe3bb8e72f8,'0.5E1',9(36)>], ["price", #<BigDecimal:7fe3bb8e79d8,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3bb8e7668,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fe3b9d31b80,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fe3b9d31ef0,'0.1E2',9(36)>], ["price", #<BigDecimal:7fe3b9d326e8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9d32300,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fe3bb907210,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fe3bb9074e0,'0.25E2',9(36)>], ["price", #<BigDecimal:7fe3bb907b48,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fe3bb9077b0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fe3b9ff18c0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fe3b9ff1b40,'0.0',9(36)>], ["price", #<BigDecimal:7fe3b9ff21d0,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9ff1e60,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fe3bb97f378,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fe3bb97f5f8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fe3bb97fd00,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fe3bb97f940,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fe3b9ddbcc0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fe3b9ddbf68,'0.5E1',9(36)>], ["price", #<BigDecimal:7fe3b9f16338,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fe3b9ddc378,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fe3bb9f58c0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fe3bb9f5b18,'0.0',9(36)>], ["price", #<BigDecimal:7fe3bb9f6270,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3bb9f5eb0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fe3b9d09f18,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fe3b9d0a238,'0.1E1',9(36)>], ["price", #<BigDecimal:7fe3b9d0a8c8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9d0a508,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fe3b9b56bd0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fe3b9b56e50,'0.5E1',9(36)>], ["price", #<BigDecimal:7fe3b9b57508,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3b9b57170,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fe3bbb2e020,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fe3bbb2e278,'0.0',9(36)>], ["price", #<BigDecimal:7fe3bbb2e8b8,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3bbb2e548,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fe3bbb28558,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fe3bbb287b0,'0.1E1',9(36)>], ["price", #<BigDecimal:7fe3bbb28e40,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3bbb28ad0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fe3bb8e01b0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fe3bb8e04d0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fe3bb8e0e08,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fe3bb8e0890,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fe3bbe9aee8,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fe3bbe9aab0,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bbe9b460,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f434b402-af24-430e-ac21-9541767656d6' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f434b402-af24-430e-ac21-9541767656d6"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fe3bcd838b0,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fe3bcd83540,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bcd83c20,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5455a9bc-459d-4de6-ac4a-c03a4636fd9e' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5455a9bc-459d-4de6-ac4a-c03a4636fd9e"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fe3bcce5458,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fe3bcce50e8,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bcce57c8,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '61920630-7a76-4157-a292-45411d0e48a7' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "61920630-7a76-4157-a292-45411d0e48a7"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fe3bcf4be18,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fe3bcf4baa8,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bcf4c188,'0.223E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ee60c54d-d884-48ce-a0de-282c44e25b92' LIMIT 1[0m [1m[35mSQL (0.7ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ee60c54d-d884-48ce-a0de-282c44e25b92"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fe3bcb81760,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fe3bcb813f0,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bcb81ad0,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '95b0de51-a7fe-43bf-8aaa-9843cee01292' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "95b0de51-a7fe-43bf-8aaa-9843cee01292"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fe3bbb00800,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fe3bbb00490,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bbb00b70,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '16745826-d04a-4cf6-a786-2bdc0d260263' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "16745826-d04a-4cf6-a786-2bdc0d260263"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fe3bc9fc660,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fe3bc9fc2f0,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3bc9fc9d0,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '036c8bdb-80db-4cac-b4b9-07dbd590dfb9' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "036c8bdb-80db-4cac-b4b9-07dbd590dfb9"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fe3b9ca8e70,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fe3b9ca8b00,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3b9ca91e0,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b6777728-eb79-4160-888f-380ed04d3f86' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b6777728-eb79-4160-888f-380ed04d3f86"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fe3b9ebdc60,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fe3b9ebd8f0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:21:00 UTC +00:00], ["weight", #<BigDecimal:7fe3b9ebdfd0,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5f3b306b-ca9f-49f2-b80c-978af175be34' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5f3b306b-ca9f-49f2-b80c-978af175be34"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fe3bb928488,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fe3bb928118,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["weight", #<BigDecimal:7fe3bb9287f8,'0.128E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '303c080a-6ef3-4a89-96ea-5efdacf80e6c' LIMIT 1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "303c080a-6ef3-4a89-96ea-5efdacf80e6c"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$iGMctQCyzm4PWPabx6YKoOXBjlfLZhqzmQjqCueBNKIvMieIxaTw2"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["status", "building"], ["token", "d552be49-147c-48b8-a18a-280744aa48ab"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7fe3bbde32c0,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fe3bbde3540,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fe3bbde3838,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7fe3bbafff18,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7fe3bbaffc48,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7fe3b9978228,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fe3b99784a8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fe3b9978638,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7fe3b9da3000,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7fe3b9da2d58,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36m (1.9ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["status", "building"], ["token", "e634ae37-6379-4f85-856e-d365fb3a5da5"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `password_digest` [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$p6AzPSh9Tp.w1y5p34mrkOVlQYLpSdPyHhKxsTvFJtN3/kr1h3X3e"], ["updated_at", Sun, 06 Oct 2013 17:21:01 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (2.9ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.2ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fd561790160,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fd5617904d0,'0.0',9(36)>], ["price", #<BigDecimal:7fd565369d58,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fd5617907a0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fd5656ac6c8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fd5656ac948,'0.0',9(36)>], ["price", #<BigDecimal:7fd5656ad0a0,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fd5656acd08,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fd5651dae88,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fd5651db1a8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fd5651dbc48,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fd5651db680,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fd56539bab0,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fd56539bf88,'0.5E1',9(36)>], ["price", #<BigDecimal:7fd56539c668,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fd56539c2f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fd565385620,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fd565385990,'0.1E2',9(36)>], ["price", #<BigDecimal:7fd565386188,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fd565385da0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fd5650526b0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fd565052980,'0.25E2',9(36)>], ["price", #<BigDecimal:7fd565052fe8,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fd565052c50,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fd5650a3588,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fd5650a3808,'0.0',9(36)>], ["price", #<BigDecimal:7fd5650a3e98,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fd5650a3b28,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fd5614e7828,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fd5614e7aa8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fd5614e81b0,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fd5614e7df0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fd565411580,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fd565411828,'0.5E1',9(36)>], ["price", #<BigDecimal:7fd5656537f8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fd565411c38,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fd5650647c0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fd565064a18,'0.0',9(36)>], ["price", #<BigDecimal:7fd565065170,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fd565064db0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fd5652d1c38,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fd5652d1f58,'0.1E1',9(36)>], ["price", #<BigDecimal:7fd5652d25e8,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fd5652d2228,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fd5656cf718,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fd5656cf998,'0.5E1',9(36)>], ["price", #<BigDecimal:7fd5652c8250,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fd5656cfcb8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fd565590190,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fd5655903e8,'0.0',9(36)>], ["price", #<BigDecimal:7fd565590a28,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fd5655906b8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fd565674e80,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fd5656750d8,'0.1E1',9(36)>], ["price", #<BigDecimal:7fd565675768,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fd5656753f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fd56505c2a0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fd56505c5c0,'0.5E1',9(36)>], ["price", #<BigDecimal:7fd56505cef8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fd56505c980,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fd5652aa2a0,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fd5652a9f08,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd5652aa908,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '67057f3e-9ebb-40bb-9b74-fcf13ad4723d' LIMIT 1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "67057f3e-9ebb-40bb-9b74-fcf13ad4723d"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.5ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fd562c2e888,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fd562c2e518,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd562c2ec20,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '6e83d19e-c485-4228-be65-35def938f081' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "6e83d19e-c485-4228-be65-35def938f081"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fd562b8f468,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fd562b8f0f8,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd562b8f7d8,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '73f922d4-7b28-49f4-b906-eb5d4c5c0dbf' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "73f922d4-7b28-49f4-b906-eb5d4c5c0dbf"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fd562a0e030,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fd562a0dcc0,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd562a0e3a0,'0.223E1',18(45)>]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '3632447d-5402-41ef-8bef-a2445e896ead' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "3632447d-5402-41ef-8bef-a2445e896ead"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (2.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fd56555abd0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fd56555a860,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd56555af40,'0.24E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9ab23a2f-3c62-4f9e-b049-dbcd00b14fc9' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9ab23a2f-3c62-4f9e-b049-dbcd00b14fc9"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fd5638f7088,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fd5638f6d18,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd5638f73f8,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '35eec7ff-9dc6-4ed4-8254-b108ae875406' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "35eec7ff-9dc6-4ed4-8254-b108ae875406"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fd562a5f7a0,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fd562a5f430,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd562a5fb10,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '3c92da5c-6bfa-4557-81ab-2b51eb2f381c' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "3c92da5c-6bfa-4557-81ab-2b51eb2f381c"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fd561648988,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fd561648618,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd561648cf8,'0.78E0',9(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '0388f471-9044-463a-8fac-77d74ea6684f' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "0388f471-9044-463a-8fac-77d74ea6684f"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fd5613ea8f8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fd5613ea588,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd5613eac68,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'd80b80f7-3115-407a-a1fa-d9ee6cbf43e0' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "d80b80f7-3115-407a-a1fa-d9ee6cbf43e0"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fd5652bb0c8,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fd5652bad58,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["weight", #<BigDecimal:7fd5652b3468,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ba088a55-1f60-43d9-9b61-80bfa573e4f1' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ba088a55-1f60-43d9-9b61-80bfa573e4f1"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$wl6ZPcV3grzEZrBI8d5RjOHP8cT993tgmREOK.u2Blf5ZUvC1VaES"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["status", "building"], ["token", "63937f2f-2e8e-47c5-a9b1-550dd92e704e"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7fd5638ae770,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fd5638ae9f0,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fd5638aece8,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7fd5638f63b8,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7fd5638f6110,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.1ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7fd56533d7a8,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fd56533da28,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fd56533dbb8,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7fd5657b4958,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7fd5657b46b0,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["status", "building"], ["token", "8c28245d-89a4-47e5-9a53-0781acab2a2e"], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.2ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `password_digest` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$IE1mqHmwzuIxtavzWicaMuYQ6IZecZfyqmSrvP7tU31bvT0G7f.Z."], ["updated_at", Sun, 06 Oct 2013 17:21:12 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[36m (2.8ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.3ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (0.8ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.4ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7fc4bb119e50,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7fc4bb11a1c0,'0.0',9(36)>], ["price", #<BigDecimal:7fc4bc1aa058,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7fc4bc1a9cc0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fc4b91117e8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fc4b9111a68,'0.0',9(36)>], ["price", #<BigDecimal:7fc4b91121c0,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7fc4b9111e28,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fc4bded1578,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bded1898,'0.1E1',9(36)>], ["price", #<BigDecimal:7fc4bded2338,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7fc4bded1d70,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fc4bd8ddfb8,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bd8de490,'0.5E1',9(36)>], ["price", #<BigDecimal:7fc4bd8deb70,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bd8de800,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fc4bdc27728,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bdc27a98,'0.1E2',9(36)>], ["price", #<BigDecimal:7fc4bdc28290,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bdc27ea8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7fc4bd8467d0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bd846aa0,'0.25E2',9(36)>], ["price", #<BigDecimal:7fc4bd847108,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7fc4bd846d70,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fc4bb563e20,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bb5640a0,'0.0',9(36)>], ["price", #<BigDecimal:7fc4bb564730,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7fc4bb5643c0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fc4bb56a6d0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bb56a950,'0.1E1',9(36)>], ["price", #<BigDecimal:7fc4bb56b058,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7fc4bb56ac98,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7fc4bb46d458,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bb46d700,'0.5E1',9(36)>], ["price", #<BigDecimal:7fc4bb2e14b8,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7fc4bb46db10,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fc4bb3d0860,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bb3d0ab8,'0.0',9(36)>], ["price", #<BigDecimal:7fc4bb3d1210,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bb3d0e50,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fc4bb1df2e0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bb1df600,'0.1E1',9(36)>], ["price", #<BigDecimal:7fc4bb1dfc90,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bb1df8d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7fc4bb482380,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bb482600,'0.5E1',9(36)>], ["price", #<BigDecimal:7fc4bb47ace8,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bb482920,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fc4bdefffe0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bdf00238,'0.0',9(36)>], ["price", #<BigDecimal:7fc4bdf00878,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bdf00508,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fc4bdba2910,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7fc4bdba2b68,'0.1E1',9(36)>], ["price", #<BigDecimal:7fc4bdba31f8,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bdba2e88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7fc4bda78d50,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7fc4bda79070,'0.5E1',9(36)>], ["price", #<BigDecimal:7fc4bda799a8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7fc4bda79430,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (2.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7fc4bda94988,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7fc4bda94500,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bda8cfa8,'0.1119E1',18(45)>]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9e2e2085-a934-429f-8577-69daf16ad94a' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9e2e2085-a934-429f-8577-69daf16ad94a"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.2ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7fc4bc12c450,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7fc4bc12c0e0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bc12c7c0,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a332894a-67d5-4978-809f-4fbf85a15492' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a332894a-67d5-4978-809f-4fbf85a15492"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7fc4bc385210,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7fc4bc384ea0,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bc385580,'0.223E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f502130f-5761-4b89-9d12-2b95ac83bb92' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f502130f-5761-4b89-9d12-2b95ac83bb92"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7fc4bb152bd8,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7fc4bb152868,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bb152f48,'0.223E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '274b48c8-e266-47a3-bc7c-d44359d4449c' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "274b48c8-e266-47a3-bc7c-d44359d4449c"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.5ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7fc4bc234d20,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7fc4bc2349b0,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bc235090,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'bcca2524-577e-4c07-bd73-69a87ac418b6' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "bcca2524-577e-4c07-bd73-69a87ac418b6"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7fc4b927e9a0,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7fc4b927e630,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4b927ed10,'0.24E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9436927f-77bc-43c9-b9b3-e052facd7107' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9436927f-77bc-43c9-b9b3-e052facd7107"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7fc4b9ade280,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7fc4b9addf10,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4b9ade5f0,'0.89E0',9(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '01fc17f5-78e4-4d89-8b92-90f2394068a4' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "01fc17f5-78e4-4d89-8b92-90f2394068a4"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7fc4bdba5e80,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7fc4bdba5b10,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bdba61f0,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a8f216d0-e37b-4f14-b96a-584de7522a80' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a8f216d0-e37b-4f14-b96a-584de7522a80"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7fc4bc033030,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7fc4bc032cc0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4bc0333a0,'0.78E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'ab73e318-cc36-4fc9-a391-1d5b052235d0' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "ab73e318-cc36-4fc9-a391-1d5b052235d0"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7fc4b9a56e48,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7fc4b9a56ad8,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["weight", #<BigDecimal:7fc4b9a571b8,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'f02f10aa-baa1-4399-bf4f-4b5a15ff2b8c' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "f02f10aa-baa1-4399-bf4f-4b5a15ff2b8c"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$XpLYjpCO453nNozBrr7Pz..WFdv2/3Nli24GSYRy6wwe6GyTXzyhe"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["status", "building"], ["token", "44b2aa19-4da9-4e6a-b031-a3feb09e2829"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7fc4b9af8ab8,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fc4b9af8d38,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fc4b9af9030,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7fc4bdbee4c8,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7fc4bdbee220,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.1ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7fc4b94465f8,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7fc4b9446878,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7fc4b9446a08,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2 [["quantity", 1], ["tax_amount", #<BigDecimal:7fc4b9447d18,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7fc4b9447a70,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["status", "building"], ["token", "e33d7aec-40ad-46de-a383-d5d85ad1c0ff"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.2ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$Z6bCS0OpIGVH.wEb6Acny.7y6UU9t83t7UJHUr6fKQVne/U4Kmc8m"], ["updated_at", Sun, 06 Oct 2013 17:21:26 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.6ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (3.1ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.4ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.8ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (1.0ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7ff0ef3847e8,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7ff0ef384ae0,'0.0',9(36)>], ["price", #<BigDecimal:7ff0ef376760,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7ff0ef384db0,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff0ec62de20,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ec629c08,'0.0',9(36)>], ["price", #<BigDecimal:7ff0ec61b9f0,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec620838,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff0ec6edc48,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ec6ee670,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff0ec6e5ca0,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec6ef188,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff0ec74a560,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7ff0ec744d68,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff0ec740ba0,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec7468c0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff0ec7af168,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7ff0ec7af5f0,'0.1E2',9(36)>], ["price", #<BigDecimal:7ff0ec7a9a88,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec7a8278,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7ff0ec7e47f0,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7ff0ec7e4fc0,'0.25E2',9(36)>], ["price", #<BigDecimal:7ff0ec7e70b8,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7ff0ec7e5538,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff0ec84de58,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ec84eec0,'0.0',9(36)>], ["price", #<BigDecimal:7ff0ec84ff28,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec84f6e0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff0ec87bce0,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ec874580,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff0ec876588,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7ff0ec874f80,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7ff0ec89b748,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff0ec894268,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff0ec895f28,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7ff0ec895a00,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff0ea9ae970,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ea9aed80,'0.0',9(36)>], ["price", #<BigDecimal:7ff0ea9af6e0,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ea9af118,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff0ecd5e6b8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ecd5ea28,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff0ecd5f158,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ecd5ed48,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7ff0ea99cc48,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff0ea99cec8,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff0ea99d530,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ea99d198,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff0ef3fe3b8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ef3fe7c8,'0.0',9(36)>], ["price", #<BigDecimal:7ff0ef3ff268,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ef3feb88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff0ed94b9f8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7ff0ed94bd18,'0.1E1',9(36)>], ["price", #<BigDecimal:7ff0ed94c448,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0ed94c088,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7ff0edf6bc70,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7ff0edf6c008,'0.5E1',9(36)>], ["price", #<BigDecimal:7ff0edf6cbe8,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7ff0edf6c3f0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:21:38 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7ff0ef3cabd0,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7ff0ef3ca860,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef3caf40,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '781b4268-a916-4414-b72b-b9c26d6ecaa0' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "781b4268-a916-4414-b72b-b9c26d6ecaa0"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (1.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7ff0ef1d7490,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7ff0ef1d7120,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef1d78c8,'0.1419E1',18(45)>]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '1e0a5729-8ea4-4029-8775-342fa94583cb' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "1e0a5729-8ea4-4029-8775-342fa94583cb"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.1ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7ff0ef31cda0,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7ff0ef31c968,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef31d1b0,'0.223E1',18(45)>]] [1m[35m (0.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.0ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b6906b55-7b01-4a2b-8032-c551120b4673' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b6906b55-7b01-4a2b-8032-c551120b4673"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7ff0ef0ae208,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7ff0ef0adda8,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef0a6620,'0.223E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '01b69595-ddff-4b98-b723-b224c78115e8' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "01b69595-ddff-4b98-b723-b224c78115e8"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.6ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7ff0ef0d8378,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7ff0ef0d8008,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef0d8828,'0.24E1',18(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'a97c3507-b62b-4a12-bcc3-61fda28a5430' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "a97c3507-b62b-4a12-bcc3-61fda28a5430"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.4ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7ff0ef664940,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7ff0ef66c5a0,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef664d00,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '577e0bf6-6e99-4c75-8fe0-2bd35a5cdd49' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "577e0bf6-6e99-4c75-8fe0-2bd35a5cdd49"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7ff0ef39cf50,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7ff0ef39cbe0,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef39d2c0,'0.89E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '54913e84-c7ba-49af-b97c-88da4decfe79' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "54913e84-c7ba-49af-b97c-88da4decfe79"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7ff0ef43b150,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7ff0ef43a890,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef43b8a8,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '14d679cc-7d35-415b-a7a8-28becb9358e7' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "14d679cc-7d35-415b-a7a8-28becb9358e7"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7ff0ef2ab740,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7ff0ef2ab3d0,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ef2abab0,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.0ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '34229f8e-4258-4d91-95fe-49df62e48ead' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "34229f8e-4258-4d91-95fe-49df62e48ead"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.2ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7ff0ede97970,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7ff0ede97600,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["weight", #<BigDecimal:7ff0ede97ce0,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '38a9587a-4f08-408b-893f-e653c4869106' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "38a9587a-4f08-408b-893f-e653c4869106"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.4ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$bw88o4x/OoG59CskQNfx5uFDRGZWS4rLc2pLFh6glyAJ.QfcGlQVG"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["status", "building"], ["token", "e6829552-359d-499a-be6d-dc3cce8e8b75"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7ff0ef0d4700,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7ff0ef0d4980,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7ff0ef0d4c78,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7ff0ef6420e8,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7ff0ef641e40,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.1ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7ff0ef39a728,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7ff0ef39a9a8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7ff0ef39ab38,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mSQL (0.1ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2 [["quantity", 1], ["tax_amount", #<BigDecimal:7ff0ef3a31e8,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7ff0ef3a2f40,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36mShoppe::Order Load (0.0ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35m (0.7ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["status", "building"], ["token", "34980c86-ee5b-4059-9a4b-bedd8bb281d7"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[36mShoppe::User Load (0.2ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.1ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1 [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$AxUIBYCxT9hSCVkDy9eoyuqfyLPfp3e3TcM.ST4T2ULbrG7r1n8aq"], ["updated_at", Sun, 06 Oct 2013 17:21:39 UTC +00:00]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.5ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m ---------------------- ShoppeTest: test_truth ---------------------- [1m[35m (0.0ms)[0m rollback transaction [1m[36m (2.6ms)[0m [1mCREATE TABLE "shoppe_attachments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "token" varchar(255), "role" varchar(255), "file_name" varchar(255), "file_type" varchar(255), "data" blob(10485760), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_delivery_service_prices" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "delivery_service_id" integer, "code" varchar(255), "price" decimal(8,2), "tax_rate" decimal(8,2), "min_weight" decimal(8,2), "max_weight" decimal(8,2), "created_at" datetime, "updated_at" datetime) [1m[36m (1.5ms)[0m [1mCREATE TABLE "shoppe_delivery_services" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "code" varchar(255), "default" boolean DEFAULT 'f', "active" boolean DEFAULT 't', "created_at" datetime, "updated_at" datetime, "courier" varchar(255), "tracking_url" varchar(255)) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_key_value_store" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer, "parent_type" varchar(255), "group" varchar(255), "name" varchar(255), "value" varchar(255)) [1m[36m (0.9ms)[0m [1mCREATE TABLE "shoppe_order_items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "order_id" integer, "product_id" integer, "quantity" integer DEFAULT 1, "unit_price" decimal(8,2), "tax_amount" decimal(8,2), "tax_rate" decimal(8,2), "weight" decimal(8,3) DEFAULT 0.0, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.0ms)[0m CREATE TABLE "shoppe_orders" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "token" varchar(255), "first_name" varchar(255), "last_name" varchar(255), "company" varchar(255), "address1" varchar(255), "address2" varchar(255), "address3" varchar(255), "address4" varchar(255), "postcode" varchar(255), "email_address" varchar(255), "phone_number" varchar(255), "status" varchar(255), "received_at" datetime, "accepted_at" datetime, "shipped_at" datetime, "created_at" datetime, "updated_at" datetime, "delivery_service_id" integer, "delivery_price" decimal(8,2), "delivery_tax_rate" decimal(8,2), "delivery_tax_amount" decimal(8,2), "paid_at" datetime, "accepted_by" integer, "shipped_by" integer, "consignment_number" varchar(255), "rejected_at" datetime, "rejected_by" integer, "ip_address" varchar(255), "country" varchar(255), "payment_reference" varchar(255), "payment_method" varchar(255)) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_product_categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "permalink" varchar(255), "description" text, "created_at" datetime, "updated_at" datetime) [0m [1m[35m (1.1ms)[0m CREATE TABLE "shoppe_products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "product_category_id" integer, "title" varchar(255), "sku" varchar(255), "permalink" varchar(255), "description" text, "short_description" text, "active" boolean DEFAULT 't', "weight" decimal(8,3) DEFAULT 0.0, "price" decimal(8,2) DEFAULT 0.0, "tax_rate" decimal(8,2) DEFAULT 0.0, "stock" integer DEFAULT 0, "created_at" datetime, "updated_at" datetime, "featured" boolean DEFAULT 'f', "in_the_box" text) [1m[36m (0.7ms)[0m [1mCREATE TABLE "shoppe_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "email_address" varchar(255), "password_digest" varchar(255), "created_at" datetime, "updated_at" datetime) [0m [1m[35m (0.9ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations" [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131006144849')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094549') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094551')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926094647') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926094654')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130926104450') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130926151718')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927113134') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927130022')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130927132143') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130927150025')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928111819') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928131502')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928134518') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928173818')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928180041') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928185655')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130928193023') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130928201257')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130929151744') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130929203421')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130930181344') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002154122')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131002155246') [1m[36m (0.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131002162301')[0m [1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131003163827') [1m[36m (0.7ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20131004185043')[0m [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20131004193320') [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (4.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMFC"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "Royal Mail (1st class)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (2.6ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 1], ["max_weight", #<BigDecimal:7f82701b47d0,'0.5E-1',9(45)>], ["min_weight", #<BigDecimal:7f82701b5180,'0.0',9(36)>], ["price", #<BigDecimal:7f8270703718,'0.6E0',9(45)>], ["tax_rate", #<BigDecimal:7f82701b5ab8,'0.0',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "RMSF"], ["courier", "Royal Mail"], ["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "Royal Mail (signed for)"], ["tracking_url", "http://royalmail.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f826ef3b9c8,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f826ef3bcc0,'0.0',9(36)>], ["price", #<BigDecimal:7f826ef3c490,'0.5E1',9(45)>], ["tax_rate", #<BigDecimal:7f826ef3c058,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f826eff6390,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f826eff65e8,'0.1E1',9(36)>], ["price", #<BigDecimal:7f826eff6c78,'0.8E1',9(45)>], ["tax_rate", #<BigDecimal:7f826eff68b8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f826e94b590,'0.1E2',9(36)>], ["min_weight", #<BigDecimal:7f826e94b838,'0.5E1',9(36)>], ["price", #<BigDecimal:7f826e94bea0,'0.1E2',9(45)>], ["tax_rate", #<BigDecimal:7f826e94bb30,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.7ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f826ee1e6f8,'0.25E2',9(36)>], ["min_weight", #<BigDecimal:7f826ee1e978,'0.1E2',9(36)>], ["price", #<BigDecimal:7f826ee1f0a8,'0.12E2',9(45)>], ["tax_rate", #<BigDecimal:7f826ee1ec48,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 2], ["max_weight", #<BigDecimal:7f826eeffec8,'0.5E2',9(36)>], ["min_weight", #<BigDecimal:7f826ef00170,'0.25E2',9(36)>], ["price", #<BigDecimal:7f826ef039b0,'0.1625E2',18(45)>], ["tax_rate", #<BigDecimal:7f826ef035c8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.4ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "default", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["code", "ND16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["default", true], ["name", "Next Day Delivery (before 4pm)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (1.0ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f826efa76f0,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f826efa7a88,'0.0',9(36)>], ["price", #<BigDecimal:7f826efa81e0,'0.7E1',9(45)>], ["tax_rate", #<BigDecimal:7f826efa7d80,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f826ea286e8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f826ea28968,'0.1E1',9(36)>], ["price", #<BigDecimal:7f826ea29048,'0.9E1',9(45)>], ["tax_rate", #<BigDecimal:7f826ea28c88,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 3], ["max_weight", #<BigDecimal:7f826e8a9240,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f826e8a96c8,'0.5E1',9(36)>], ["price", #<BigDecimal:7f826e8aa280,'0.115E2',18(45)>], ["tax_rate", #<BigDecimal:7f826e8a9c40,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NS10"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "Next Day Delivery (before 10am)"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f826ebb1c30,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f826ebb2220,'0.0',9(36)>], ["price", #<BigDecimal:7f826ebb2a40,'0.17E2',9(45)>], ["tax_rate", #<BigDecimal:7f826ebb26d0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f8270733d50,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f8270734020,'0.1E1',9(36)>], ["price", #<BigDecimal:7f82707346b0,'0.19E2',9(45)>], ["tax_rate", #<BigDecimal:7f8270734318,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 4], ["max_weight", #<BigDecimal:7f826edb4af0,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f826edb4f28,'0.5E1',9(36)>], ["price", #<BigDecimal:7f826edb5630,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f826edb52c0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_services" ("code", "courier", "created_at", "name", "tracking_url", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["code", "NDSA16"], ["courier", "UPS"], ["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "Saturday Delivery"], ["tracking_url", "http://trackingurl.com/track/{{consignment_number}}"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f827052a478,'0.1E1',9(36)>], ["min_weight", #<BigDecimal:7f827052a6d0,'0.0',9(36)>], ["price", #<BigDecimal:7f827052ad10,'0.27E2',9(45)>], ["tax_rate", #<BigDecimal:7f827052a9a0,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mSQL (0.2ms)[0m INSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f826ea9f1f8,'0.5E1',9(36)>], ["min_weight", #<BigDecimal:7f826ea9f450,'0.1E1',9(36)>], ["price", #<BigDecimal:7f826ea9fbd0,'0.29E2',9(45)>], ["tax_rate", #<BigDecimal:7f826ea9f770,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (0.8ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_delivery_service_prices" ("created_at", "delivery_service_id", "max_weight", "min_weight", "price", "tax_rate", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["delivery_service_id", 5], ["max_weight", #<BigDecimal:7f826ed86330,'0.2E2',9(36)>], ["min_weight", #<BigDecimal:7f826ed865b0,'0.5E1',9(36)>], ["price", #<BigDecimal:7f826ed86d30,'0.37E2',9(45)>], ["tax_rate", #<BigDecimal:7f826ed868f8,'0.2E2',9(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.2ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-phones' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "VoIP Phones"], ["permalink", "voip-phones"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (2.6ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'voip-accessories' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "VoIP Accessories"], ["permalink", "voip-accessories"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::ProductCategory Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_product_categories" WHERE "shoppe_product_categories"."permalink" = 'network-eqipment' LIMIT 1 [1m[36mSQL (0.2ms)[0m [1mINSERT INTO "shoppe_product_categories" ("created_at", "name", "permalink", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["name", "Network Eqipment"], ["permalink", "network-eqipment"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t20p' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t20p"], ["price", #<BigDecimal:7f82706a8f48,'0.5499E2',18(45)>], ["product_category_id", 1], ["short_description", "If cheap & cheerful is what you’re after, the Yealink T20P is what you’re looking for."], ["sku", "YL-SIP-T20P"], ["stock", 20], ["tax_rate", #<BigDecimal:7f82706a89f8,'0.2E2',9(45)>], ["title", "Yealink T20P"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f82706a9380,'0.1119E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t20p' AND "shoppe_products"."id" != 1) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'bf96d222-8c45-459d-ad93-b79485819a0b' LIMIT 1 [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<127400 bytes of binary data>"], ["file_name", "t20p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 1], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "bf96d222-8c45-459d-ad93-b79485819a0b"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 1], ["parent_type", "Shoppe::Product"]] [1m[36m (2.7ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t22p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t22p"], ["price", #<BigDecimal:7f8271040060,'0.6498999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T22P"], ["stock", 12], ["tax_rate", #<BigDecimal:7f827103fcf0,'0.2E2',9(45)>], ["title", "Yealink T22P"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f8271038400,'0.1419E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t22p' AND "shoppe_products"."id" != 2) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'b9b2f0bf-0dcc-48e9-9555-f1408b18dff5' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<101139 bytes of binary data>"], ["file_name", "t22p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 2], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "b9b2f0bf-0dcc-48e9-9555-f1408b18dff5"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 2], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t26p' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "yealink-t26p"], ["price", #<BigDecimal:7f827106a1a8,'0.8898999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "YL-SIP-T26P"], ["stock", 5], ["tax_rate", #<BigDecimal:7f8271069e38,'0.2E2',9(45)>], ["title", "Yealink T26P"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f827106a518,'0.223E1',18(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t26p' AND "shoppe_products"."id" != 3) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'c241cc4a-946d-4978-9fad-98d73707c293' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<67267 bytes of binary data>"], ["file_name", "t26p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 3], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "c241cc4a-946d-4978-9fad-98d73707c293"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.1ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 3], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-t46gn' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-t46gn"], ["price", #<BigDecimal:7f827052dfd8,'0.14999E3',18(45)>], ["product_category_id", 1], ["short_description", "Colourful, sharp, fast & down right sexy. The Yealink T46P will make your scream!"], ["sku", "YL-SIP-T46GN"], ["stock", 5], ["tax_rate", #<BigDecimal:7f827052dc68,'0.2E2',9(45)>], ["title", "Yealink T46GN"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f827052e348,'0.223E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-t46gn' AND "shoppe_products"."id" != 4) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5e29a1fe-bcdb-484f-a00f-0fd6aaea206c' LIMIT 1[0m [1m[35mSQL (0.6ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<197941 bytes of binary data>"], ["file_name", "t46gn.jpg"], ["file_type", "image/jpeg"], ["parent_id", 4], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5e29a1fe-bcdb-484f-a00f-0fd6aaea206c"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 4], ["parent_type", "Shoppe::Product"]] [1m[35m (1.7ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-grey' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-870-grey"], ["price", #<BigDecimal:7f8271006f40,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-GREY"], ["stock", 2], ["tax_rate", #<BigDecimal:7f8271006bd0,'0.2E2',9(45)>], ["title", "Snom 870 (Grey)"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f82710072b0,'0.24E1',18(45)>]] [1m[35m (1.0ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-grey' AND "shoppe_products"."id" != 5) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '9e067a1d-dc7b-4449-b9e2-dc6688c8a38a' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<105894 bytes of binary data>"], ["file_name", "snom-870-grey.jpg"], ["file_type", "image/jpeg"], ["parent_id", 5], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "9e067a1d-dc7b-4449-b9e2-dc6688c8a38a"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 5], ["parent_type", "Shoppe::Product"]] [1m[36m (1.3ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-870-black' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "snom-870-black"], ["price", #<BigDecimal:7f826c7c2400,'0.235E3',9(45)>], ["product_category_id", 1], ["short_description", "The perfect & beautiful VoIP phone for the discerning professional desk."], ["sku", "SM-870-BLK"], ["tax_rate", #<BigDecimal:7f826c7c2090,'0.2E2',9(45)>], ["title", "Snom 870 (Black)"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f826c7c2770,'0.24E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-870-black' AND "shoppe_products"."id" != 6) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = 'fdce6cb7-df30-4503-9983-2bb6dd6eeacc' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<85691 bytes of binary data>"], ["file_name", "snom-870-blk.jpg"], ["file_type", "image/jpeg"], ["parent_id", 6], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "fdce6cb7-df30-4503-9983-2bb6dd6eeacc"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 6], ["parent_type", "Shoppe::Product"]] [1m[35m (1.2ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-mono-headset' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-mono-headset"], ["price", #<BigDecimal:7f826ea236c0,'0.3499E2',18(45)>], ["product_category_id", 2], ["short_description", "If you're often on the phone, this headset will make your life 100x easier. Guaranteed*."], ["sku", "YL-YHS32"], ["stock", 3], ["tax_rate", #<BigDecimal:7f826ea23350,'0.2E2',9(45)>], ["title", "Yealink Mono Headset"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f826ea23a30,'0.89E0',9(45)>]] [1m[35m (0.9ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-mono-headset' AND "shoppe_products"."id" != 7) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '4c21a062-2916-4f6f-af32-c7b26be7ab8b' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<19129 bytes of binary data>"], ["file_name", "yhs32.jpg"], ["file_type", "image/jpeg"], ["parent_id", 7], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "4c21a062-2916-4f6f-af32-c7b26be7ab8b"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 7], ["parent_type", "Shoppe::Product"]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm2' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm2"], ["price", #<BigDecimal:7f826c6e30e8,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM2"], ["tax_rate", #<BigDecimal:7f826c6e2d78,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM2)"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f826c6e3458,'0.78E0',9(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm2' AND "shoppe_products"."id" != 8) LIMIT 1[0m [1m[35m (0.1ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '387ac1cd-b380-4805-8ab0-503295fd046d' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 8], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "387ac1cd-b380-4805-8ab0-503295fd046d"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 8], ["parent_type", "Shoppe::Product"]] [1m[35m (1.1ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'snom-wired-headset-mm3' LIMIT 1 [1m[36mSQL (0.3ms)[0m [1mINSERT INTO "shoppe_products" ("created_at", "description", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["permalink", "snom-wired-headset-mm3"], ["price", #<BigDecimal:7f82710b88d0,'0.38E2',9(45)>], ["product_category_id", 2], ["short_description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["sku", "SM-MM3"], ["stock", 1], ["tax_rate", #<BigDecimal:7f82710b8560,'0.2E2',9(45)>], ["title", "Snom Wired Headset (MM3)"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f82710b8c40,'0.78E0',9(45)>]] [1m[35m (0.8ms)[0m commit transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m [1m[35mShoppe::Product Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'snom-wired-headset-mm3' AND "shoppe_products"."id" != 9) LIMIT 1 [1m[36m (0.1ms)[0m [1mSELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image'[0m [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[35mShoppe::Attachment Exists (0.1ms)[0m SELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '49f224cb-53a5-493d-9dd3-b7386252d467' LIMIT 1 [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<74040 bytes of binary data>"], ["file_name", "snom-mm2.jpg"], ["file_type", "image/jpeg"], ["parent_id", 9], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "49f224cb-53a5-493d-9dd3-b7386252d467"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Attachment Load (0.0ms)[0m SELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0 [["parent_id", 9], ["parent_type", "Shoppe::Product"]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE "shoppe_products"."permalink" = 'yealink-w52p' LIMIT 1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_products" ("created_at", "description", "featured", "permalink", "price", "product_category_id", "short_description", "sku", "stock", "tax_rate", "title", "updated_at", "weight") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["description", "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."], ["featured", true], ["permalink", "yealink-w52p"], ["price", #<BigDecimal:7f82710fbcc0,'0.9998999999 999999E2',27(45)>], ["product_category_id", 1], ["short_description", "Wireless SIP phones are hard to come by but this beauty from Yealink is fab."], ["sku", "TL-SIP-W52P"], ["stock", 1], ["tax_rate", #<BigDecimal:7f82710fb950,'0.2E2',9(45)>], ["title", "Yealink W52P"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["weight", #<BigDecimal:7f82710fc030,'0.128E1',18(45)>]] [1m[36m (0.9ms)[0m [1mcommit transaction[0m [1m[35m (0.0ms)[0m begin transaction [1m[36mShoppe::Product Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_products" WHERE ("shoppe_products"."permalink" = 'yealink-w52p' AND "shoppe_products"."id" != 10) LIMIT 1[0m [1m[35m (0.0ms)[0m SELECT "shoppe_attachments"."id" FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND "shoppe_attachments"."role" = 'default_image' [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[36mShoppe::Attachment Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "shoppe_attachments" WHERE "shoppe_attachments"."token" = '5614d456-dd04-40cf-bda7-7f4cd3157046' LIMIT 1[0m [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_attachments" ("created_at", "data", "file_name", "file_type", "parent_id", "parent_type", "role", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["data", "<102742 bytes of binary data>"], ["file_name", "w52p.jpg"], ["file_type", "image/jpeg"], ["parent_id", 10], ["parent_type", "Shoppe::Product"], ["role", :default_image], ["token", "5614d456-dd04-40cf-bda7-7f4cd3157046"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Attachment Load (0.0ms)[0m [1mSELECT "shoppe_attachments".* FROM "shoppe_attachments" WHERE "shoppe_attachments"."parent_id" = ? AND "shoppe_attachments"."parent_type" = ? AND 1=0[0m [["parent_id", 10], ["parent_type", "Shoppe::Product"]] [1m[35m (1.3ms)[0m commit transaction [1m[36m (0.1ms)[0m [1mbegin transaction[0m Binary data inserted for `string` type on column `password_digest` [1m[35mSQL (0.4ms)[0m INSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["email_address", "adam@niftyware.io"], ["first_name", "Adam"], ["last_name", "Cooke"], ["password_digest", "$2a$04$Kl776UT6w3K4uA5j15TkteAoR1JzepZHHYfoVrx8NB9pT0EwHiUru"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36m (1.1ms)[0m [1mcommit transaction[0m [1m[35m (0.1ms)[0m begin transaction ---------------------------------------- Shoppe::BasketTest: test_adding_products ---------------------------------------- [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["status", "building"], ["token", "b7815ad8-6b93-4a7e-b4a1-17b2e17b2611"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T20P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 1 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["order_id", 1], ["product_id", 1], ["quantity", 0], ["tax_amount", #<BigDecimal:7f826ea822b0,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7f826ea82530,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7f826ea82828,'0.5499E2',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 1 [["quantity", 1], ["tax_amount", #<BigDecimal:7f826ea7b438,'0.10998E2',18(36)>], ["weight", #<BigDecimal:7f826ea7b190,'0.1119E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 1.119 AND max_weight >= 1.119) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.1ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36mShoppe::Product Load (0.1ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36mShoppe::OrderItem Load (0.1ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1[0m [["order_id", 1]] [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_order_items" ("created_at", "order_id", "product_id", "quantity", "tax_amount", "tax_rate", "unit_price", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["order_id", 1], ["product_id", 2], ["quantity", 0], ["tax_amount", #<BigDecimal:7f826cbb6228,'0.0',9(36)>], ["tax_rate", #<BigDecimal:7f826cbb64a8,'0.2E2',9(36)>], ["unit_price", #<BigDecimal:7f826cbb6638,'0.6498999999 999999E2',27(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mSQL (0.2ms)[0m [1mUPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2[0m [["quantity", 1], ["tax_amount", #<BigDecimal:7f826cb54168,'0.1299799999 9999998E2',27(45)>], ["weight", #<BigDecimal:7f826cb53ec0,'0.1419E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35mShoppe::Order Load (0.1ms)[0m SELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1 [["id", 1]] [1m[36mShoppe::OrderItem Load (0.0ms)[0m [1mSELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ?[0m [["order_id", 1]] [1m[35mShoppe::DeliveryServicePrice Load (0.1ms)[0m SELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 2.538 AND max_weight >= 2.538) ORDER BY `default` desc, price asc [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 3]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 2]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 4]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 5]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? LIMIT 1[0m [["id", 1]] [1m[35mShoppe::Product Load (0.1ms)[0m SELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."sku" = 'YL-SIP-T22P' LIMIT 1 [1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? AND "shoppe_order_items"."product_id" = 2 ORDER BY "shoppe_order_items"."id" ASC LIMIT 1 [["order_id", 1]] [1m[36mShoppe::Product Load (0.2ms)[0m [1mSELECT "shoppe_products".* FROM "shoppe_products" WHERE "shoppe_products"."id" = ? ORDER BY "shoppe_products"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mSQL (0.2ms)[0m UPDATE "shoppe_order_items" SET "quantity" = ?, "tax_amount" = ?, "weight" = ?, "updated_at" = ? WHERE "shoppe_order_items"."id" = 2 [["quantity", 2], ["tax_amount", #<BigDecimal:7f82710b8998,'0.2599599999 9999996E2',27(54)>], ["weight", #<BigDecimal:7f82710c0350,'0.2838E1',18(45)>], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mShoppe::Order Load (0.1ms)[0m [1mSELECT "shoppe_orders".* FROM "shoppe_orders" WHERE "shoppe_orders"."id" = ? ORDER BY "shoppe_orders"."id" ASC LIMIT 1[0m [["id", 1]] [1m[35mShoppe::OrderItem Load (0.1ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36mShoppe::DeliveryServicePrice Load (0.1ms)[0m [1mSELECT "shoppe_delivery_service_prices".* FROM "shoppe_delivery_service_prices" INNER JOIN "shoppe_delivery_services" ON "shoppe_delivery_services"."id" = "shoppe_delivery_service_prices"."delivery_service_id" WHERE "shoppe_delivery_services"."active" = 't' AND (min_weight <= 3.957 AND max_weight >= 3.957) ORDER BY `default` desc, price asc[0m [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 3]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 2]] [1m[35mShoppe::DeliveryService Load (0.0ms)[0m SELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1 [["id", 4]] [1m[36mShoppe::DeliveryService Load (0.0ms)[0m [1mSELECT "shoppe_delivery_services".* FROM "shoppe_delivery_services" WHERE "shoppe_delivery_services"."id" = ? ORDER BY "shoppe_delivery_services"."id" ASC LIMIT 1[0m [["id", 5]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.7ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction ------------------------------------------------------- Shoppe::BasketTest: test_basket_has_no_items_by_default ------------------------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.5ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["status", "building"], ["token", "732afc0d-29ba-478e-996d-f2889a41a1bd"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.1ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35mShoppe::OrderItem Load (0.0ms)[0m SELECT "shoppe_order_items".* FROM "shoppe_order_items" WHERE "shoppe_order_items"."order_id" = ? [["order_id", 1]] [1m[36m (0.4ms)[0m [1mrollback transaction[0m [1m[35m (0.1ms)[0m begin transaction --------------------------------------- Shoppe::BasketTest: test_initial_status --------------------------------------- [1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m [1m[35mSQL (0.3ms)[0m INSERT INTO "shoppe_orders" ("created_at", "status", "token", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["status", "building"], ["token", "ced2d217-a09b-4b1c-ad52-d31029bafe4b"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[36mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m [1mSELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties'[0m [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[35mNifty::KeyValueStore::KeyValuePair Load (0.0ms)[0m SELECT "shoppe_key_value_store".* FROM "shoppe_key_value_store" WHERE "shoppe_key_value_store"."parent_id" = ? AND "shoppe_key_value_store"."parent_type" = ? AND "shoppe_key_value_store"."group" = 'properties' [["parent_id", 1], ["parent_type", "Shoppe::Order"]] [1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m [1m[35m (0.4ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m ------------------------------------- Shoppe::UserTest: test_authentication ------------------------------------- [1m[35mShoppe::User Load (0.2ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" WHERE "shoppe_users"."email_address" = 'adam@niftyware.io' ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.1ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction -------------------------------- Shoppe::UserTest: test_full_name -------------------------------- [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m rollback transaction [1m[36m (0.0ms)[0m [1mbegin transaction[0m --------------------------------- Shoppe::UserTest: test_short_name --------------------------------- [1m[35mShoppe::User Load (0.1ms)[0m SELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1 [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ------------------------------------ Shoppe::UserTest: test_user_creation ------------------------------------ [1m[36mShoppe::User Load (0.1ms)[0m [1mSELECT "shoppe_users".* FROM "shoppe_users" ORDER BY "shoppe_users"."id" ASC LIMIT 1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 [1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m [1m[35m (0.0ms)[0m SAVEPOINT active_record_1 Binary data inserted for `string` type on column `password_digest` [1m[36mSQL (0.4ms)[0m [1mINSERT INTO "shoppe_users" ("created_at", "email_address", "first_name", "last_name", "password_digest", "updated_at") VALUES (?, ?, ?, ?, ?, ?)[0m [["created_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00], ["email_address", "test@example.com"], ["first_name", "Test"], ["last_name", "User"], ["password_digest", "$2a$04$sByJAWbFB/S/4pxmOvURWujcva3w7F/w6lYMBc6MlKrp6oU7YR8ga"], ["updated_at", Sun, 06 Oct 2013 17:22:18 UTC +00:00]] [1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1 [1m[36m (0.5ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------------------------- ShoppeTest: test_configuration_is_loaded ---------------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction --------------------------------- ShoppeTest: test_root_path_is_set --------------------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m [1m[35m (0.0ms)[0m begin transaction ---------------------- ShoppeTest: test_truth ---------------------- [1m[36m (0.0ms)[0m [1mrollback transaction[0m