ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 14:35:01', '2016-09-17 14:35:01', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 14:35:01', '2016-09-17 14:35:01', 94564450, 690933842) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 14:35:01', '2016-09-17 14:35:01', 690933842)  (0.6ms) commit transaction  (0.1ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 14:35:01.999712"], ["updated_at", "2016-09-17 14:35:01.999712"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.6ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.5ms) DELETE FROM "products" Fixture Insert (0.5ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 16:39:10', '2016-09-17 16:39:10', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 16:39:10', '2016-09-17 16:39:10', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 16:39:10', '2016-09-17 16:39:10', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 16:39:10.197346"], ["updated_at", "2016-09-17 16:39:10.197346"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:39:23', '2016-09-17 18:39:23', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:39:23', '2016-09-17 18:39:23', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:39:23', '2016-09-17 18:39:23', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-09-17 18:39:23.310152"], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", "2016-09-17 18:39:23.310152"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:39:44', '2016-09-17 18:39:44', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:39:44', '2016-09-17 18:39:44', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:39:44', '2016-09-17 18:39:44', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 17 Sep 2016 18:39:44 UTC +00:00], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", Sat, 17 Sep 2016 18:39:44 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "products" Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:44:54', '2016-09-17 18:44:54', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:44:54', '2016-09-17 18:44:54', 94564450, 690933842) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:44:54', '2016-09-17 18:44:54', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (1.1ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 17 Sep 2016 18:44:54 UTC +00:00], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", Sat, 17 Sep 2016 18:44:54 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:45:17', '2016-09-17 18:45:17', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:45:17', '2016-09-17 18:45:17', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:45:17', '2016-09-17 18:45:17', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-09-17 18:45:17.456926"], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", "2016-09-17 18:45:17.456926"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:45:23', '2016-09-17 18:45:23', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:45:23', '2016-09-17 18:45:23', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:45:23', '2016-09-17 18:45:23', 690933842)  (4.6ms) commit transaction  (0.1ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", "2016-09-17 18:45:23.875138"], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", "2016-09-17 18:45:23.875138"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 18:45:35', '2016-09-17 18:45:35', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 18:45:35', '2016-09-17 18:45:35', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 18:45:35', '2016-09-17 18:45:35', 690933842)  (0.6ms) commit transaction  (0.1ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 18:45:35.463967"], ["updated_at", "2016-09-17 18:45:35.463967"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.8ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "shop_id" integer, "name" varchar(255), "sizes" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.8ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011451')  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011427')  (0.1ms) begin transaction Fixture Delete (0.6ms) DELETE FROM "products" Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 19:51:38', '2016-09-17 19:51:38', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 19:51:38', '2016-09-17 19:51:38', 94564450, 690933842) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 19:51:38', '2016-09-17 19:51:38', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.9ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 17 Sep 2016 19:51:38 UTC +00:00], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", Sat, 17 Sep 2016 19:51:38 UTC +00:00]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.7ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "shop_id" integer, "name" varchar(255), "sizes" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)   (0.6ms) CREATE TABLE "shops" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.1ms) SELECT version FROM "schema_migrations"  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011451')  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011427') ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) begin transaction Fixture Delete (0.1ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 19:57:46', '2016-09-17 19:57:46', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 19:57:46', '2016-09-17 19:57:46', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 19:57:46', '2016-09-17 19:57:46', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 17 Sep 2016 19:57:46 UTC +00:00], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", Sat, 17 Sep 2016 19:57:46 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.1ms) begin transaction Fixture Delete (0.7ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 20:15:05', '2016-09-17 20:15:05', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 20:15:05', '2016-09-17 20:15:05', 94564450, 690933842) Fixture Delete (0.1ms) DELETE FROM "shops" Fixture Insert (0.1ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 20:15:05', '2016-09-17 20:15:05', 690933842)  (4.6ms) commit transaction  (0.1ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "products" ("created_at", "name", "shop_id", "sizes", "updated_at") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 17 Sep 2016 20:15:05 UTC +00:00], ["name", "iMac"], ["shop_id", 690933842], ["sizes", "--- []\n"], ["updated_at", Sat, 17 Sep 2016 20:15:05 UTC +00:00]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 20:21:05', '2016-09-17 20:21:05', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 20:21:05', '2016-09-17 20:21:05', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 20:21:05', '2016-09-17 20:21:05', 690933842)  (0.6ms) commit transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.1ms) SAVEPOINT active_record_1 SQL (1.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 20:21:05.991528"], ["updated_at", "2016-09-17 20:21:05.991528"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.2ms) rollback transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 20:28:27', '2016-09-17 20:28:27', 475308017, 690933842) Fixture Insert (0.0ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 20:28:27', '2016-09-17 20:28:27', 94564450, 690933842) Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 20:28:27', '2016-09-17 20:28:27', 690933842)  (0.7ms) commit transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]  (0.0ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.7ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 20:28:27.277426"], ["updated_at", "2016-09-17 20:28:27.277426"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.5ms) rollback transaction ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "products" Fixture Insert (0.9ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 21:08:57', '2016-09-17 21:08:57', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 21:08:57', '2016-09-17 21:08:57', 94564450, 690933842) Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 21:08:57', '2016-09-17 21:08:57', 690933842)  (6.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "products" Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 21:09:50', '2016-09-17 21:09:50', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 21:09:50', '2016-09-17 21:09:50', 94564450, 690933842) Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 21:09:50', '2016-09-17 21:09:50', 690933842)  (4.3ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]  (0.3ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 21:09:51.023102"], ["updated_at", "2016-09-17 21:09:51.023102"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "products" Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 21:10:28', '2016-09-17 21:10:28', 475308017, 690933842) Fixture Insert (0.1ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 21:10:28', '2016-09-17 21:10:28', 94564450, 690933842) Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 21:10:28', '2016-09-17 21:10:28', 690933842)  (4.2ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 21:10:28.350963"], ["updated_at", "2016-09-17 21:10:28.350963"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "products" Fixture Insert (0.3ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPhone', '2016-09-17 21:11:38', '2016-09-17 21:11:38', 475308017, 690933842) Fixture Insert (0.2ms) INSERT INTO "products" ("name", "created_at", "updated_at", "id", "shop_id") VALUES ('iPad', '2016-09-17 21:11:38', '2016-09-17 21:11:38', 94564450, 690933842) Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.3ms) INSERT INTO "shops" ("name", "created_at", "updated_at", "id") VALUES ('Apple', '2016-09-17 21:11:38', '2016-09-17 21:11:38', 690933842)  (0.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933842], ["created_at", "2016-09-17 21:11:38.398488"], ["updated_at", "2016-09-17 21:11:38.398488"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "products" Fixture Insert (0.3ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (1, 1, 'iPhone', '2016-09-18 00:20:27', '2016-09-18 00:20:27') Fixture Insert (0.1ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (2, 1, 'iPad', '2016-09-18 00:20:27', '2016-09-18 00:20:27') Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("id", "name", "created_at", "updated_at") VALUES (1, 'Apple', '2016-09-18 00:20:27', '2016-09-18 00:20:27')  (12.9ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]] Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 1], ["created_at", "2016-09-18 00:20:27.081561"], ["updated_at", "2016-09-18 00:20:27.081561"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS  (0.1ms) SET FOREIGN_KEY_CHECKS = 0  (0.1ms) BEGIN Fixture Delete (0.8ms) DELETE FROM `products` Fixture Insert (0.2ms) INSERT INTO `products` (`id`, `shop_id`, `name`, `created_at`, `updated_at`) VALUES (1, 1, 'iPhone', '2016-09-18 00:21:51', '2016-09-18 00:21:51') Fixture Insert (0.1ms) INSERT INTO `products` (`id`, `shop_id`, `name`, `created_at`, `updated_at`) VALUES (2, 1, 'iPad', '2016-09-18 00:21:51', '2016-09-18 00:21:51') Fixture Delete (0.1ms) DELETE FROM `shops` Fixture Insert (0.1ms) INSERT INTO `shops` (`id`, `name`, `created_at`, `updated_at`) VALUES (1, 'Apple', '2016-09-18 00:21:51', '2016-09-18 00:21:51')  (0.3ms) COMMIT  (0.1ms) SET FOREIGN_KEY_CHECKS = 1  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (2.0ms) SELECT `products`.* FROM `products` WHERE `products`.`id` = 1 LIMIT 1  (0.1ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1 Product Load (0.5ms) SELECT `products`.* FROM `products` WHERE `products`.`shop_id` = 1  (0.4ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO `products` (`name`, `shop_id`, `created_at`, `updated_at`) VALUES ('iMac', 1, '2016-09-18 00:21:51', '2016-09-18 00:21:51')  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.0ms) begin transaction Fixture Delete (0.2ms) DELETE FROM "products" Fixture Insert (0.1ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (1, 1, 'iPhone', '2016-09-18 00:22:57', '2016-09-18 00:22:57') Fixture Insert (0.0ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (2, 1, 'iPad', '2016-09-18 00:22:57', '2016-09-18 00:22:57') Fixture Delete (0.0ms) DELETE FROM "shops" Fixture Insert (0.0ms) INSERT INTO "shops" ("id", "name", "created_at", "updated_at") VALUES (1, 'Apple', '2016-09-18 00:22:57', '2016-09-18 00:22:57')  (4.6ms) commit transaction  (0.0ms) begin transaction ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]  (0.1ms) rollback transaction  (0.0ms) begin transaction ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 1]] Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 1]]  (0.0ms) SAVEPOINT active_record_1 SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "iMac"], ["shop_id", 1], ["created_at", "2016-09-18 00:22:57.166117"], ["updated_at", "2016-09-18 00:22:57.166117"]]  (0.0ms) RELEASE SAVEPOINT active_record_1  (0.3ms) rollback transaction ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.2ms) BEGIN Fixture Delete (0.4ms) DELETE FROM "products" Fixture Insert (0.3ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (1, 1, 'iPhone', '2016-09-18 13:22:38', '2016-09-18 13:22:38') Fixture Insert (0.1ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (2, 1, 'iPad', '2016-09-18 13:22:38', '2016-09-18 13:22:38') Fixture Delete (0.3ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("id", "name", "created_at", "updated_at") VALUES (1, 'Apple', '2016-09-18 13:22:38', '2016-09-18 13:22:38')  (13.4ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]  (0.1ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 1], ["created_at", "2016-09-18 13:22:38.919634"], ["updated_at", "2016-09-18 13:22:38.919634"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL  (0.1ms) BEGIN Fixture Delete (0.3ms) DELETE FROM "products" Fixture Insert (0.2ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (1, 1, 'iPhone', '2016-09-18 13:24:50', '2016-09-18 13:24:50') Fixture Insert (0.1ms) INSERT INTO "products" ("id", "shop_id", "name", "created_at", "updated_at") VALUES (2, 1, 'iPad', '2016-09-18 13:24:50', '2016-09-18 13:24:50') Fixture Delete (0.2ms) DELETE FROM "shops" Fixture Insert (0.2ms) INSERT INTO "shops" ("id", "name", "created_at", "updated_at") VALUES (1, 'Apple', '2016-09-18 13:24:50', '2016-09-18 13:24:50')  (4.2ms) COMMIT  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL  (0.1ms) BEGIN ------------------------------ AssociationTest: test_accessor ------------------------------ Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]] Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]  (0.2ms) SAVEPOINT active_record_1 SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 1], ["created_at", "2016-09-18 13:24:50.529334"], ["updated_at", "2016-09-18 13:24:50.529334"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.1ms) BEGIN ---------------------------- AttributeTest: test_accessor ---------------------------- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) ROLLBACK