listable_collections 0.1.0 → 4.0.0.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,934 +1,24 @@
1
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
-  (0.0ms) begin transaction
3
- Fixture Delete (0.2ms) DELETE FROM "products"
4
- 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)
5
- 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)
6
- Fixture Delete (0.1ms) DELETE FROM "shops"
7
- 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)
8
-  (0.6ms) commit transaction
9
-  (0.1ms) begin transaction
10
- ----------------------------
11
- AttributeTest: test_accessor
12
- ----------------------------
13
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
14
-  (0.0ms) rollback transaction
15
-  (0.0ms) begin transaction
16
- ------------------------------
17
- AssociationTest: test_accessor
18
- ------------------------------
19
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
20
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
21
-  (0.1ms) SAVEPOINT active_record_1
22
- 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"]]
23
-  (0.1ms) RELEASE SAVEPOINT active_record_1
24
-  (0.6ms) rollback transaction
25
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
26
-  (0.0ms) begin transaction
27
- Fixture Delete (0.5ms) DELETE FROM "products"
28
- 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)
29
- 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)
30
- Fixture Delete (0.0ms) DELETE FROM "shops"
31
- 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)
32
-  (0.6ms) commit transaction
33
-  (0.0ms) begin transaction
34
- ----------------------------
35
- AttributeTest: test_accessor
36
- ----------------------------
37
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
38
-  (0.0ms) rollback transaction
39
-  (0.0ms) begin transaction
40
- ------------------------------
41
- AssociationTest: test_accessor
42
- ------------------------------
43
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
44
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
45
-  (0.0ms) SAVEPOINT active_record_1
46
- 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"]]
47
-  (0.0ms) RELEASE SAVEPOINT active_record_1
48
-  (0.3ms) rollback transaction
49
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
50
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
51
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
52
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
53
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
54
-  (0.1ms) begin transaction
55
- Fixture Delete (0.2ms) DELETE FROM "products"
56
- 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)
57
- 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)
58
- Fixture Delete (0.0ms) DELETE FROM "shops"
59
- 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)
60
-  (0.6ms) commit transaction
61
-  (0.0ms) begin transaction
62
- ------------------------------
63
- AssociationTest: test_accessor
64
- ------------------------------
65
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
66
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
67
-  (0.0ms) SAVEPOINT active_record_1
68
- 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"]]
69
-  (0.0ms) RELEASE SAVEPOINT active_record_1
70
-  (0.3ms) rollback transaction
71
-  (0.0ms) begin transaction
72
- ----------------------------
73
- AttributeTest: test_accessor
74
- ----------------------------
75
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
76
-  (0.0ms) rollback transaction
77
-  (0.0ms) begin transaction
78
- Fixture Delete (0.2ms) DELETE FROM "products"
79
- 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)
80
- 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)
81
- Fixture Delete (0.0ms) DELETE FROM "shops"
82
- 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)
83
-  (0.6ms) commit transaction
84
-  (0.0ms) begin transaction
85
- ------------------------------
86
- AssociationTest: test_accessor
87
- ------------------------------
88
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
89
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
90
-  (0.0ms) SAVEPOINT active_record_1
91
- 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]]
92
-  (0.0ms) RELEASE SAVEPOINT active_record_1
93
-  (0.3ms) rollback transaction
94
-  (0.0ms) begin transaction
95
- ----------------------------
96
- AttributeTest: test_accessor
97
- ----------------------------
98
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
99
-  (0.0ms) rollback transaction
100
-  (0.1ms) begin transaction
101
- Fixture Delete (0.7ms) DELETE FROM "products"
102
- 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)
103
- 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)
104
- Fixture Delete (0.1ms) DELETE FROM "shops"
105
- 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)
106
-  (0.6ms) commit transaction
107
-  (0.0ms) begin transaction
108
- ------------------------------
109
- AssociationTest: test_accessor
110
- ------------------------------
111
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
112
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
113
-  (0.0ms) SAVEPOINT active_record_1
114
- 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]]
115
-  (0.0ms) RELEASE SAVEPOINT active_record_1
116
-  (0.3ms) rollback transaction
117
-  (0.0ms) begin transaction
118
- ----------------------------
119
- AttributeTest: test_accessor
120
- ----------------------------
121
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
122
-  (0.0ms) rollback transaction
123
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
124
-  (0.0ms) begin transaction
125
- Fixture Delete (0.2ms) DELETE FROM "products"
126
- 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)
127
- 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)
128
- Fixture Delete (0.0ms) DELETE FROM "shops"
129
- 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)
130
-  (0.6ms) commit transaction
131
-  (0.0ms) begin transaction
132
- ----------------------------
133
- AttributeTest: test_accessor
134
- ----------------------------
135
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
136
-  (0.0ms) rollback transaction
137
-  (0.0ms) begin transaction
138
- ------------------------------
139
- AssociationTest: test_accessor
140
- ------------------------------
141
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
142
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
143
-  (0.0ms) SAVEPOINT active_record_1
144
- 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"]]
145
-  (0.0ms) RELEASE SAVEPOINT active_record_1
146
-  (0.2ms) rollback transaction
147
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
148
-  (0.0ms) begin transaction
149
- Fixture Delete (0.2ms) DELETE FROM "products"
150
- 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)
151
- 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)
152
- Fixture Delete (0.0ms) DELETE FROM "shops"
153
- 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)
154
-  (4.6ms) commit transaction
155
-  (0.1ms) begin transaction
156
- ------------------------------
157
- AssociationTest: test_accessor
158
- ------------------------------
159
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
160
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
161
-  (0.0ms) SAVEPOINT active_record_1
162
- 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"]]
163
-  (0.0ms) RELEASE SAVEPOINT active_record_1
164
-  (0.3ms) rollback transaction
165
-  (0.0ms) begin transaction
166
- ----------------------------
167
- AttributeTest: test_accessor
168
- ----------------------------
169
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
170
-  (0.0ms) rollback transaction
171
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
172
-  (0.0ms) begin transaction
173
- Fixture Delete (0.2ms) DELETE FROM "products"
174
- 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)
175
- 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)
176
- Fixture Delete (0.0ms) DELETE FROM "shops"
177
- 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)
178
-  (0.6ms) commit transaction
179
-  (0.1ms) begin transaction
180
- ----------------------------
181
- AttributeTest: test_accessor
182
- ----------------------------
183
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
184
-  (0.0ms) rollback transaction
185
-  (0.0ms) begin transaction
186
- ------------------------------
187
- AssociationTest: test_accessor
188
- ------------------------------
189
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
190
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
191
-  (0.1ms) SAVEPOINT active_record_1
192
- 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"]]
193
-  (0.0ms) RELEASE SAVEPOINT active_record_1
194
-  (0.3ms) rollback transaction
195
-  (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) 
196
-  (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)
197
-  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
198
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
199
-  (0.1ms) SELECT version FROM "schema_migrations"
200
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011451')
201
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011427')
202
-  (0.1ms) begin transaction
203
- Fixture Delete (0.6ms) DELETE FROM "products"
204
- 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)
205
- 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)
206
- Fixture Delete (0.1ms) DELETE FROM "shops"
207
- 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)
208
-  (0.6ms) commit transaction
209
-  (0.0ms) begin transaction
210
- ------------------------------
211
- AssociationTest: test_accessor
212
- ------------------------------
213
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
214
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
215
-  (0.0ms) SAVEPOINT active_record_1
216
- 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]]
217
-  (0.1ms) RELEASE SAVEPOINT active_record_1
218
-  (0.3ms) rollback transaction
219
-  (0.0ms) begin transaction
220
- ----------------------------
221
- AttributeTest: test_accessor
222
- ----------------------------
223
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
224
-  (0.0ms) rollback transaction
225
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
226
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
227
-  (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) 
228
-  (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)
229
-  (0.6ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
230
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
231
-  (0.1ms) SELECT version FROM "schema_migrations"
232
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011451')
233
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20160916011427')
234
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
235
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
236
- ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations".* FROM "schema_migrations"
237
-  (0.1ms) begin transaction
238
- Fixture Delete (0.1ms) DELETE FROM "products"
239
- 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)
240
- 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)
241
- Fixture Delete (0.0ms) DELETE FROM "shops"
242
- 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)
243
-  (0.6ms) commit transaction
244
-  (0.0ms) begin transaction
245
- ------------------------------
246
- AssociationTest: test_accessor
247
- ------------------------------
248
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
249
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
250
-  (0.0ms) SAVEPOINT active_record_1
251
- 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]]
252
-  (0.0ms) RELEASE SAVEPOINT active_record_1
253
-  (0.3ms) rollback transaction
254
-  (0.0ms) begin transaction
255
- ----------------------------
256
- AttributeTest: test_accessor
257
- ----------------------------
258
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
259
-  (0.0ms) rollback transaction
260
-  (0.1ms) begin transaction
261
- Fixture Delete (0.7ms) DELETE FROM "products"
262
- 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)
263
- 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)
264
- Fixture Delete (0.1ms) DELETE FROM "shops"
265
- 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)
266
-  (4.6ms) commit transaction
267
-  (0.1ms) begin transaction
268
- ------------------------------
269
- AssociationTest: test_accessor
270
- ------------------------------
271
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
272
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
273
-  (0.0ms) SAVEPOINT active_record_1
274
- 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]]
275
-  (0.0ms) RELEASE SAVEPOINT active_record_1
276
-  (0.3ms) rollback transaction
277
-  (0.0ms) begin transaction
278
- ----------------------------
279
- AttributeTest: test_accessor
280
- ----------------------------
281
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
282
-  (0.0ms) rollback transaction
283
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
284
-  (0.0ms) begin transaction
285
- Fixture Delete (0.2ms) DELETE FROM "products"
286
- 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)
287
- 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)
288
- Fixture Delete (0.0ms) DELETE FROM "shops"
289
- 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)
290
-  (0.6ms) commit transaction
291
-  (0.0ms) begin transaction
292
- ----------------------------
293
- AttributeTest: test_accessor
294
- ----------------------------
295
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
296
-  (0.1ms) rollback transaction
297
-  (0.0ms) begin transaction
298
- ------------------------------
299
- AssociationTest: test_accessor
300
- ------------------------------
301
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
302
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
303
-  (0.1ms) SAVEPOINT active_record_1
304
- 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"]]
305
-  (0.0ms) RELEASE SAVEPOINT active_record_1
306
-  (0.2ms) rollback transaction
307
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
308
-  (0.0ms) begin transaction
309
- Fixture Delete (0.2ms) DELETE FROM "products"
310
- 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)
311
- 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)
312
- Fixture Delete (0.0ms) DELETE FROM "shops"
313
- 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)
314
-  (0.7ms) commit transaction
315
-  (0.0ms) begin transaction
316
- ----------------------------
317
- AttributeTest: test_accessor
318
- ----------------------------
319
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 475308017]]
320
-  (0.0ms) rollback transaction
321
-  (0.0ms) begin transaction
322
- ------------------------------
323
- AssociationTest: test_accessor
324
- ------------------------------
325
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 690933842]]
326
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 690933842]]
327
-  (0.0ms) SAVEPOINT active_record_1
328
- 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"]]
329
-  (0.1ms) RELEASE SAVEPOINT active_record_1
330
-  (0.5ms) rollback transaction
331
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
332
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
333
-  (0.2ms) BEGIN
334
- Fixture Delete (0.3ms) DELETE FROM "products"
335
- 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)
336
- 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)
337
- Fixture Delete (0.2ms) DELETE FROM "shops"
338
- 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)
339
-  (6.4ms) COMMIT
340
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
341
-  (0.1ms) BEGIN
342
- ------------------------------
343
- AssociationTest: test_accessor
344
- ------------------------------
345
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]]
346
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]
347
-  (0.2ms) ROLLBACK
348
-  (0.1ms) BEGIN
349
- ----------------------------
350
- AttributeTest: test_accessor
351
- ----------------------------
352
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]
353
-  (0.1ms) ROLLBACK
354
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
355
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
356
-  (0.1ms) BEGIN
357
- Fixture Delete (0.3ms) DELETE FROM "products"
358
- 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)
359
- 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)
360
- Fixture Delete (0.2ms) DELETE FROM "shops"
361
- 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)
362
-  (4.3ms) COMMIT
363
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
364
-  (0.1ms) BEGIN
365
- ------------------------------
366
- AssociationTest: test_accessor
367
- ------------------------------
368
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]]
369
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]
370
-  (0.3ms) SAVEPOINT active_record_1
371
- 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"]]
372
-  (0.1ms) RELEASE SAVEPOINT active_record_1
373
-  (0.2ms) ROLLBACK
374
-  (0.1ms) BEGIN
375
- ----------------------------
376
- AttributeTest: test_accessor
377
- ----------------------------
378
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]
379
-  (0.2ms) ROLLBACK
380
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
381
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
382
-  (0.1ms) BEGIN
383
- Fixture Delete (0.3ms) DELETE FROM "products"
384
- 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)
385
- 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)
386
- Fixture Delete (0.2ms) DELETE FROM "shops"
387
- 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)
388
-  (4.2ms) COMMIT
389
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
390
-  (0.1ms) BEGIN
391
- ------------------------------
392
- AssociationTest: test_accessor
393
- ------------------------------
394
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]]
395
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]
396
-  (0.2ms) SAVEPOINT active_record_1
397
- 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"]]
398
-  (0.1ms) RELEASE SAVEPOINT active_record_1
399
-  (0.2ms) ROLLBACK
400
-  (0.1ms) BEGIN
401
- ----------------------------
402
- AttributeTest: test_accessor
403
- ----------------------------
404
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]
405
-  (0.1ms) ROLLBACK
406
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
407
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
408
-  (0.1ms) BEGIN
409
- Fixture Delete (0.3ms) DELETE FROM "products"
410
- 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)
411
- 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)
412
- Fixture Delete (0.2ms) DELETE FROM "shops"
413
- 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)
414
-  (0.4ms) COMMIT
415
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
416
-  (0.1ms) BEGIN
417
- ------------------------------
418
- AssociationTest: test_accessor
419
- ------------------------------
420
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 690933842]]
421
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933842]]
422
-  (0.2ms) SAVEPOINT active_record_1
423
- 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"]]
424
-  (0.1ms) RELEASE SAVEPOINT active_record_1
425
-  (0.1ms) ROLLBACK
426
-  (0.2ms) BEGIN
427
- ----------------------------
428
- AttributeTest: test_accessor
429
- ----------------------------
430
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 475308017]]
431
-  (0.1ms) ROLLBACK
432
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
433
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
434
-  (0.1ms) BEGIN
435
- Fixture Delete (0.4ms) DELETE FROM "products"
436
- 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')
437
- 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')
438
- Fixture Delete (0.2ms) DELETE FROM "shops"
439
- 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')
440
-  (12.9ms) COMMIT
441
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
442
-  (0.1ms) BEGIN
443
- ----------------------------
444
- AttributeTest: test_accessor
445
- ----------------------------
446
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
447
-  (0.2ms) ROLLBACK
448
-  (0.1ms) BEGIN
449
- ------------------------------
450
- AssociationTest: test_accessor
451
- ------------------------------
452
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]]
453
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]
454
-  (0.1ms) SAVEPOINT active_record_1
455
- 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"]]
456
-  (0.1ms) RELEASE SAVEPOINT active_record_1
457
-  (0.2ms) ROLLBACK
458
- ActiveRecord::SchemaMigration Load (0.2ms) SELECT `schema_migrations`.* FROM `schema_migrations`
459
-  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
460
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
461
-  (0.1ms) BEGIN
462
- Fixture Delete (0.8ms) DELETE FROM `products`
463
- 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')
464
- 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')
465
- Fixture Delete (0.1ms) DELETE FROM `shops`
466
- 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')
467
-  (0.3ms) COMMIT
468
-  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
469
-  (0.1ms) BEGIN
470
- ----------------------------
471
- AttributeTest: test_accessor
472
- ----------------------------
473
- Product Load (2.0ms) SELECT `products`.* FROM `products` WHERE `products`.`id` = 1 LIMIT 1
474
-  (0.1ms) ROLLBACK
475
-  (0.1ms) BEGIN
476
- ------------------------------
477
- AssociationTest: test_accessor
478
- ------------------------------
479
- Shop Load (0.2ms) SELECT `shops`.* FROM `shops` WHERE `shops`.`id` = 1 LIMIT 1
480
- Product Load (0.5ms) SELECT `products`.* FROM `products` WHERE `products`.`shop_id` = 1
481
-  (0.4ms) SAVEPOINT active_record_1
482
- 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')
483
-  (0.1ms) RELEASE SAVEPOINT active_record_1
484
-  (0.3ms) ROLLBACK
485
- ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
486
-  (0.0ms) begin transaction
487
- Fixture Delete (0.2ms) DELETE FROM "products"
488
- 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')
489
- 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')
490
- Fixture Delete (0.0ms) DELETE FROM "shops"
491
- 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')
492
-  (4.6ms) commit transaction
493
-  (0.0ms) begin transaction
494
- ----------------------------
495
- AttributeTest: test_accessor
496
- ----------------------------
497
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."id" = ? LIMIT 1 [["id", 1]]
498
-  (0.1ms) rollback transaction
499
-  (0.0ms) begin transaction
500
- ------------------------------
501
- AssociationTest: test_accessor
502
- ------------------------------
503
- Shop Load (0.1ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = ? LIMIT 1 [["id", 1]]
504
- Product Load (0.1ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = ? [["shop_id", 1]]
505
-  (0.0ms) SAVEPOINT active_record_1
506
- 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"]]
507
-  (0.0ms) RELEASE SAVEPOINT active_record_1
508
-  (0.3ms) rollback transaction
509
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
510
-  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
511
-  (0.2ms) BEGIN
512
- Fixture Delete (0.4ms) DELETE FROM "products"
513
- 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')
514
- 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')
515
- Fixture Delete (0.3ms) DELETE FROM "shops"
516
- 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')
517
-  (13.4ms) COMMIT
518
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
519
-  (0.1ms) BEGIN
520
- ----------------------------
521
- AttributeTest: test_accessor
522
- ----------------------------
523
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
524
-  (0.2ms) ROLLBACK
525
-  (0.1ms) BEGIN
526
- ------------------------------
527
- AssociationTest: test_accessor
528
- ------------------------------
529
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]]
530
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]
531
-  (0.1ms) SAVEPOINT active_record_1
532
- 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"]]
533
-  (0.1ms) RELEASE SAVEPOINT active_record_1
534
-  (0.2ms) ROLLBACK
535
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
536
-  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "products" DISABLE TRIGGER ALL;ALTER TABLE "shops" DISABLE TRIGGER ALL
537
-  (0.1ms) BEGIN
538
- Fixture Delete (0.3ms) DELETE FROM "products"
539
- 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')
540
- 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')
541
- Fixture Delete (0.2ms) DELETE FROM "shops"
542
- 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')
543
-  (4.2ms) COMMIT
544
-  (0.2ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "products" ENABLE TRIGGER ALL;ALTER TABLE "shops" ENABLE TRIGGER ALL
545
-  (0.1ms) BEGIN
546
- ------------------------------
547
- AssociationTest: test_accessor
548
- ------------------------------
549
- Shop Load (0.2ms) SELECT "shops".* FROM "shops" WHERE "shops"."id" = $1 LIMIT 1 [["id", 1]]
550
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 1]]
551
-  (0.2ms) SAVEPOINT active_record_1
552
- 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"]]
553
-  (0.1ms) RELEASE SAVEPOINT active_record_1
554
-  (0.2ms) ROLLBACK
555
-  (0.1ms) BEGIN
556
- ----------------------------
557
- AttributeTest: test_accessor
558
- ----------------------------
559
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."id" = $1 LIMIT 1 [["id", 1]]
560
-  (0.2ms) ROLLBACK
561
- ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
562
-  (0.2ms) BEGIN
1
+ ActiveRecord::SchemaMigration Load (2.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
2
+  (0.3ms) BEGIN
563
3
  ---------------------------
564
4
  AttributeTest: test_methods
565
5
  ---------------------------
566
-  (0.2ms) ROLLBACK
567
-  (0.1ms) BEGIN
568
- -----------------------------
569
- AssociationTest: test_methods
570
- -----------------------------
571
-  (0.2ms) SAVEPOINT active_record_1
572
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-09-19 11:25:29.902568"], ["updated_at", "2016-09-19 11:25:29.902568"]]
573
-  (0.1ms) RELEASE SAVEPOINT active_record_1
574
-  (0.2ms) SAVEPOINT active_record_1
575
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 690933843], ["created_at", "2016-09-19 11:25:29.921238"], ["updated_at", "2016-09-19 11:25:29.921238"]]
576
-  (0.1ms) RELEASE SAVEPOINT active_record_1
577
-  (0.1ms) SAVEPOINT active_record_1
578
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 690933843], ["created_at", "2016-09-19 11:25:29.923445"], ["updated_at", "2016-09-19 11:25:29.923445"]]
579
-  (0.2ms) RELEASE SAVEPOINT active_record_1
580
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933843]]
581
-  (0.1ms) SAVEPOINT active_record_1
582
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933843], ["created_at", "2016-09-19 11:25:29.929045"], ["updated_at", "2016-09-19 11:25:29.929045"]]
583
-  (0.1ms) RELEASE SAVEPOINT active_record_1
584
-  (0.2ms) ROLLBACK
585
- ActiveRecord::SchemaMigration Load (6.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
586
-  (0.2ms) BEGIN
587
- ---------------------------
588
- AttributeTest: test_methods
589
- ---------------------------
590
-  (0.2ms) ROLLBACK
591
-  (0.2ms) BEGIN
592
- -----------------------------
593
- AssociationTest: test_methods
594
- -----------------------------
595
-  (0.1ms) SAVEPOINT active_record_1
596
- SQL (0.8ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-09-19 23:10:10.897836"], ["updated_at", "2016-09-19 23:10:10.897836"]]
597
-  (0.2ms) RELEASE SAVEPOINT active_record_1
598
-  (0.2ms) SAVEPOINT active_record_1
599
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 690933844], ["created_at", "2016-09-19 23:10:10.920238"], ["updated_at", "2016-09-19 23:10:10.920238"]]
600
-  (0.1ms) RELEASE SAVEPOINT active_record_1
601
-  (0.1ms) SAVEPOINT active_record_1
602
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 690933844], ["created_at", "2016-09-19 23:10:10.922352"], ["updated_at", "2016-09-19 23:10:10.922352"]]
603
-  (0.2ms) RELEASE SAVEPOINT active_record_1
604
- Product Load (0.4ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933844]]
605
-  (0.1ms) SAVEPOINT active_record_1
606
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933844], ["created_at", "2016-09-19 23:10:10.927548"], ["updated_at", "2016-09-19 23:10:10.927548"]]
607
-  (0.1ms) RELEASE SAVEPOINT active_record_1
608
-  (0.2ms) ROLLBACK
609
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
610
-  (0.2ms) BEGIN
611
- -----------------------------
612
- AssociationTest: test_methods
613
- -----------------------------
614
-  (0.2ms) SAVEPOINT active_record_1
615
- SQL (6.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-09-19 23:10:25.274876"], ["updated_at", "2016-09-19 23:10:25.274876"]]
616
-  (0.1ms) RELEASE SAVEPOINT active_record_1
617
-  (0.1ms) SAVEPOINT active_record_1
618
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 690933845], ["created_at", "2016-09-19 23:10:25.307629"], ["updated_at", "2016-09-19 23:10:25.307629"]]
619
-  (0.1ms) RELEASE SAVEPOINT active_record_1
620
-  (0.1ms) SAVEPOINT active_record_1
621
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 690933845], ["created_at", "2016-09-19 23:10:25.309788"], ["updated_at", "2016-09-19 23:10:25.309788"]]
622
-  (0.1ms) RELEASE SAVEPOINT active_record_1
623
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933845]]
624
-  (0.1ms) SAVEPOINT active_record_1
625
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933845], ["created_at", "2016-09-19 23:10:25.316243"], ["updated_at", "2016-09-19 23:10:25.316243"]]
626
-  (0.1ms) RELEASE SAVEPOINT active_record_1
627
-  (0.2ms) ROLLBACK
628
-  (0.1ms) BEGIN
629
- ---------------------------
630
- AttributeTest: test_methods
631
- ---------------------------
632
-  (0.2ms) ROLLBACK
633
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
634
-  (0.2ms) BEGIN
635
- -----------------------------
636
- AssociationTest: test_methods
637
- -----------------------------
638
-  (0.2ms) SAVEPOINT active_record_1
639
- SQL (0.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-09-19 23:25:20.902395"], ["updated_at", "2016-09-19 23:25:20.902395"]]
640
-  (0.1ms) RELEASE SAVEPOINT active_record_1
641
-  (0.1ms) SAVEPOINT active_record_1
642
- SQL (0.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 690933846], ["created_at", "2016-09-19 23:25:20.925838"], ["updated_at", "2016-09-19 23:25:20.925838"]]
643
-  (0.3ms) RELEASE SAVEPOINT active_record_1
644
-  (0.1ms) SAVEPOINT active_record_1
645
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 690933846], ["created_at", "2016-09-19 23:25:20.934875"], ["updated_at", "2016-09-19 23:25:20.934875"]]
646
-  (0.1ms) RELEASE SAVEPOINT active_record_1
647
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 690933846]]
648
-  (0.1ms) SAVEPOINT active_record_1
649
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 690933846], ["created_at", "2016-09-19 23:25:20.940359"], ["updated_at", "2016-09-19 23:25:20.940359"]]
650
-  (0.2ms) RELEASE SAVEPOINT active_record_1
651
-  (0.2ms) ROLLBACK
652
-  (0.1ms) BEGIN
653
- ---------------------------
654
- AttributeTest: test_methods
655
- ---------------------------
656
-  (0.1ms) ROLLBACK
657
- ActiveRecord::SchemaMigration Load (2.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
658
-  (0.2ms) BEGIN
659
- ---------------------------
660
- AttributeTest: test_methods
661
- ---------------------------
662
-  (0.2ms) ROLLBACK
6
+  (0.3ms) ROLLBACK
663
7
   (0.1ms) BEGIN
664
8
  -----------------------------
665
9
  AssociationTest: test_methods
666
10
  -----------------------------
667
11
   (0.2ms) SAVEPOINT active_record_1
668
- SQL (19.1ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 03:05:04.358355"], ["updated_at", "2016-10-17 03:05:04.358355"]]
12
+ SQL (18.4ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-11-21 06:16:21.465844"], ["updated_at", "2016-11-21 06:16:21.465844"]]
669
13
   (0.1ms) RELEASE SAVEPOINT active_record_1
670
14
   (0.2ms) SAVEPOINT active_record_1
671
- SQL (18.4ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 2], ["created_at", "2016-10-17 03:05:04.390656"], ["updated_at", "2016-10-17 03:05:04.390656"]]
672
-  (0.1ms) RELEASE SAVEPOINT active_record_1
673
-  (0.1ms) SAVEPOINT active_record_1
674
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 2], ["created_at", "2016-10-17 03:05:04.410985"], ["updated_at", "2016-10-17 03:05:04.410985"]]
675
-  (0.2ms) RELEASE SAVEPOINT active_record_1
676
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 2]]
677
-  (0.1ms) SAVEPOINT active_record_1
678
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 2], ["created_at", "2016-10-17 03:05:04.415576"], ["updated_at", "2016-10-17 03:05:04.415576"]]
679
-  (0.2ms) RELEASE SAVEPOINT active_record_1
680
-  (0.2ms) ROLLBACK
681
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
682
-  (0.2ms) BEGIN
683
- -----------------------------
684
- AssociationTest: test_methods
685
- -----------------------------
686
-  (0.2ms) ROLLBACK
687
-  (0.1ms) BEGIN
688
- ---------------------------
689
- AttributeTest: test_methods
690
- ---------------------------
691
-  (0.1ms) ROLLBACK
692
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
693
-  (0.2ms) BEGIN
694
- -----------------------------
695
- AssociationTest: test_methods
696
- -----------------------------
697
-  (0.1ms) SAVEPOINT active_record_1
698
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:06:22.007954"], ["updated_at", "2016-10-17 04:06:22.007954"]]
699
-  (0.1ms) RELEASE SAVEPOINT active_record_1
700
-  (0.1ms) SAVEPOINT active_record_1
701
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 3], ["created_at", "2016-10-17 04:06:22.026893"], ["updated_at", "2016-10-17 04:06:22.026893"]]
15
+ SQL (23.8ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.498203"], ["updated_at", "2016-11-21 06:16:21.498203"]]
702
16
   (0.2ms) RELEASE SAVEPOINT active_record_1
703
17
   (0.1ms) SAVEPOINT active_record_1
704
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 3], ["created_at", "2016-10-17 04:06:22.028786"], ["updated_at", "2016-10-17 04:06:22.028786"]]
705
-  (0.1ms) RELEASE SAVEPOINT active_record_1
706
-  (0.2ms) ROLLBACK
707
-  (0.1ms) BEGIN
708
- ---------------------------
709
- AttributeTest: test_methods
710
- ---------------------------
711
-  (0.1ms) ROLLBACK
712
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
713
-  (0.2ms) BEGIN
714
- -----------------------------
715
- AssociationTest: test_methods
716
- -----------------------------
717
-  (0.1ms) ROLLBACK
718
-  (0.2ms) BEGIN
719
- ---------------------------
720
- AttributeTest: test_methods
721
- ---------------------------
722
-  (0.1ms) ROLLBACK
723
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
724
-  (0.2ms) BEGIN
725
- ---------------------------
726
- AttributeTest: test_methods
727
- ---------------------------
728
-  (0.1ms) ROLLBACK
729
-  (0.1ms) BEGIN
730
- -----------------------------
731
- AssociationTest: test_methods
732
- -----------------------------
733
-  (0.1ms) SAVEPOINT active_record_1
734
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:07:53.835060"], ["updated_at", "2016-10-17 04:07:53.835060"]]
735
-  (0.1ms) RELEASE SAVEPOINT active_record_1
736
-  (0.2ms) SAVEPOINT active_record_1
737
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 4], ["created_at", "2016-10-17 04:07:53.846004"], ["updated_at", "2016-10-17 04:07:53.846004"]]
738
-  (0.1ms) RELEASE SAVEPOINT active_record_1
739
-  (0.1ms) SAVEPOINT active_record_1
740
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 4], ["created_at", "2016-10-17 04:07:53.847920"], ["updated_at", "2016-10-17 04:07:53.847920"]]
741
-  (0.2ms) RELEASE SAVEPOINT active_record_1
742
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 4]]
743
-  (0.1ms) SAVEPOINT active_record_1
744
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 4], ["created_at", "2016-10-17 04:07:53.856861"], ["updated_at", "2016-10-17 04:07:53.856861"]]
745
-  (0.1ms) RELEASE SAVEPOINT active_record_1
746
-  (0.2ms) ROLLBACK
747
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
748
-  (0.2ms) BEGIN
749
- -----------------------------
750
- AssociationTest: test_methods
751
- -----------------------------
752
-  (0.2ms) SAVEPOINT active_record_1
753
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:08:07.346275"], ["updated_at", "2016-10-17 04:08:07.346275"]]
754
-  (0.1ms) RELEASE SAVEPOINT active_record_1
755
-  (0.1ms) SAVEPOINT active_record_1
756
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 5], ["created_at", "2016-10-17 04:08:07.363170"], ["updated_at", "2016-10-17 04:08:07.363170"]]
757
-  (0.1ms) RELEASE SAVEPOINT active_record_1
758
-  (0.1ms) SAVEPOINT active_record_1
759
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 5], ["created_at", "2016-10-17 04:08:07.365017"], ["updated_at", "2016-10-17 04:08:07.365017"]]
760
-  (0.1ms) RELEASE SAVEPOINT active_record_1
761
- Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 5]]
762
-  (0.1ms) SAVEPOINT active_record_1
763
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 5], ["created_at", "2016-10-17 04:08:07.368860"], ["updated_at", "2016-10-17 04:08:07.368860"]]
764
-  (0.2ms) RELEASE SAVEPOINT active_record_1
765
-  (0.2ms) ROLLBACK
766
-  (0.1ms) BEGIN
767
- ---------------------------
768
- AttributeTest: test_methods
769
- ---------------------------
770
-  (0.2ms) ROLLBACK
771
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
772
-  (0.2ms) BEGIN
773
- -----------------------------
774
- AssociationTest: test_methods
775
- -----------------------------
776
-  (0.1ms) SAVEPOINT active_record_1
777
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:09:35.257488"], ["updated_at", "2016-10-17 04:09:35.257488"]]
18
+ SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.523814"], ["updated_at", "2016-11-21 06:16:21.523814"]]
778
19
   (0.1ms) RELEASE SAVEPOINT active_record_1
779
-  (0.1ms) SAVEPOINT active_record_1
780
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 6], ["created_at", "2016-10-17 04:09:35.274223"], ["updated_at", "2016-10-17 04:09:35.274223"]]
781
-  (0.1ms) RELEASE SAVEPOINT active_record_1
20
+ Product Load (0.3ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 14]]
782
21
   (0.2ms) SAVEPOINT active_record_1
783
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 6], ["created_at", "2016-10-17 04:09:35.276174"], ["updated_at", "2016-10-17 04:09:35.276174"]]
784
-  (0.2ms) RELEASE SAVEPOINT active_record_1
785
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 6]]
786
-  (0.1ms) SAVEPOINT active_record_1
787
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 6], ["created_at", "2016-10-17 04:09:35.279958"], ["updated_at", "2016-10-17 04:09:35.279958"]]
22
+ SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 14], ["created_at", "2016-11-21 06:16:21.528027"], ["updated_at", "2016-11-21 06:16:21.528027"]]
788
23
   (0.1ms) RELEASE SAVEPOINT active_record_1
789
24
   (0.2ms) ROLLBACK
790
-  (0.3ms) BEGIN
791
- ---------------------------
792
- AttributeTest: test_methods
793
- ---------------------------
794
-  (0.2ms) ROLLBACK
795
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
796
-  (0.2ms) BEGIN
797
- -----------------------------
798
- AssociationTest: test_methods
799
- -----------------------------
800
-  (0.2ms) SAVEPOINT active_record_1
801
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:10:10.800180"], ["updated_at", "2016-10-17 04:10:10.800180"]]
802
-  (0.2ms) RELEASE SAVEPOINT active_record_1
803
-  (0.1ms) SAVEPOINT active_record_1
804
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 7], ["created_at", "2016-10-17 04:10:10.816982"], ["updated_at", "2016-10-17 04:10:10.816982"]]
805
-  (0.1ms) RELEASE SAVEPOINT active_record_1
806
-  (0.1ms) SAVEPOINT active_record_1
807
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 7], ["created_at", "2016-10-17 04:10:10.818802"], ["updated_at", "2016-10-17 04:10:10.818802"]]
808
-  (0.1ms) RELEASE SAVEPOINT active_record_1
809
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 7]]
810
-  (0.1ms) SAVEPOINT active_record_1
811
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 7], ["created_at", "2016-10-17 04:10:10.822461"], ["updated_at", "2016-10-17 04:10:10.822461"]]
812
-  (0.1ms) RELEASE SAVEPOINT active_record_1
813
-  (0.2ms) ROLLBACK
814
-  (0.1ms) BEGIN
815
- ---------------------------
816
- AttributeTest: test_methods
817
- ---------------------------
818
-  (0.3ms) ROLLBACK
819
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
820
-  (0.2ms) BEGIN
821
- ---------------------------
822
- AttributeTest: test_methods
823
- ---------------------------
824
-  (0.1ms) ROLLBACK
825
-  (0.1ms) BEGIN
826
- -----------------------------
827
- AssociationTest: test_methods
828
- -----------------------------
829
-  (0.1ms) ROLLBACK
830
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
831
-  (0.2ms) BEGIN
832
- -----------------------------
833
- AssociationTest: test_methods
834
- -----------------------------
835
-  (0.2ms) ROLLBACK
836
-  (0.1ms) BEGIN
837
- ---------------------------
838
- AttributeTest: test_methods
839
- ---------------------------
840
-  (0.1ms) ROLLBACK
841
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
842
-  (0.2ms) BEGIN
843
- -----------------------------
844
- AssociationTest: test_methods
845
- -----------------------------
846
-  (0.1ms) SAVEPOINT active_record_1
847
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:12:46.752043"], ["updated_at", "2016-10-17 04:12:46.752043"]]
848
-  (0.1ms) RELEASE SAVEPOINT active_record_1
849
-  (0.1ms) SAVEPOINT active_record_1
850
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 8], ["created_at", "2016-10-17 04:12:46.768606"], ["updated_at", "2016-10-17 04:12:46.768606"]]
851
-  (0.1ms) RELEASE SAVEPOINT active_record_1
852
-  (0.1ms) SAVEPOINT active_record_1
853
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 8], ["created_at", "2016-10-17 04:12:46.770462"], ["updated_at", "2016-10-17 04:12:46.770462"]]
854
-  (0.2ms) RELEASE SAVEPOINT active_record_1
855
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 8]]
856
-  (0.3ms) ROLLBACK
857
-  (0.2ms) BEGIN
858
- ---------------------------
859
- AttributeTest: test_methods
860
- ---------------------------
861
- ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
862
-  (0.2ms) BEGIN
863
- -----------------------------
864
- AssociationTest: test_methods
865
- -----------------------------
866
-  (0.1ms) SAVEPOINT active_record_1
867
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:13:57.769520"], ["updated_at", "2016-10-17 04:13:57.769520"]]
868
-  (0.1ms) RELEASE SAVEPOINT active_record_1
869
-  (0.1ms) SAVEPOINT active_record_1
870
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 9], ["created_at", "2016-10-17 04:13:57.786723"], ["updated_at", "2016-10-17 04:13:57.786723"]]
871
-  (0.1ms) RELEASE SAVEPOINT active_record_1
872
-  (0.1ms) SAVEPOINT active_record_1
873
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 9], ["created_at", "2016-10-17 04:13:57.788643"], ["updated_at", "2016-10-17 04:13:57.788643"]]
874
-  (0.2ms) RELEASE SAVEPOINT active_record_1
875
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 9]]
876
-  (0.1ms) SAVEPOINT active_record_1
877
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 9], ["created_at", "2016-10-17 04:13:57.792501"], ["updated_at", "2016-10-17 04:13:57.792501"]]
878
-  (0.1ms) RELEASE SAVEPOINT active_record_1
879
-  (0.2ms) ROLLBACK
880
-  (0.2ms) BEGIN
881
- ---------------------------
882
- AttributeTest: test_methods
883
- ---------------------------
884
-  (0.3ms) ROLLBACK
885
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
886
-  (0.2ms) BEGIN
887
- ---------------------------
888
- AttributeTest: test_methods
889
- ---------------------------
890
-  (0.3ms) ROLLBACK
891
-  (0.1ms) BEGIN
892
- -----------------------------
893
- AssociationTest: test_methods
894
- -----------------------------
895
-  (0.1ms) SAVEPOINT active_record_1
896
- SQL (0.5ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:18:18.750434"], ["updated_at", "2016-10-17 04:18:18.750434"]]
897
-  (0.2ms) RELEASE SAVEPOINT active_record_1
898
-  (0.2ms) SAVEPOINT active_record_1
899
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 10], ["created_at", "2016-10-17 04:18:18.767311"], ["updated_at", "2016-10-17 04:18:18.767311"]]
900
-  (0.1ms) RELEASE SAVEPOINT active_record_1
901
-  (0.2ms) SAVEPOINT active_record_1
902
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 10], ["created_at", "2016-10-17 04:18:18.769784"], ["updated_at", "2016-10-17 04:18:18.769784"]]
903
-  (0.2ms) RELEASE SAVEPOINT active_record_1
904
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 10]]
905
-  (0.3ms) ROLLBACK
906
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
907
-  (0.2ms) BEGIN
908
- ---------------------------
909
- AttributeTest: test_methods
910
- ---------------------------
911
- ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
912
-  (0.2ms) BEGIN
913
- ---------------------------
914
- AttributeTest: test_methods
915
- ---------------------------
916
-  (0.1ms) ROLLBACK
917
-  (0.1ms) BEGIN
918
- -----------------------------
919
- AssociationTest: test_methods
920
- -----------------------------
921
-  (0.1ms) SAVEPOINT active_record_1
922
- SQL (0.3ms) INSERT INTO "shops" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2016-10-17 04:26:03.537981"], ["updated_at", "2016-10-17 04:26:03.537981"]]
923
-  (0.1ms) RELEASE SAVEPOINT active_record_1
924
-  (0.2ms) SAVEPOINT active_record_1
925
- SQL (0.3ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPhone"], ["shop_id", 11], ["created_at", "2016-10-17 04:26:03.548547"], ["updated_at", "2016-10-17 04:26:03.548547"]]
926
-  (0.1ms) RELEASE SAVEPOINT active_record_1
927
-  (0.1ms) SAVEPOINT active_record_1
928
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iPad"], ["shop_id", 11], ["created_at", "2016-10-17 04:26:03.550397"], ["updated_at", "2016-10-17 04:26:03.550397"]]
929
-  (0.1ms) RELEASE SAVEPOINT active_record_1
930
- Product Load (0.2ms) SELECT "products".* FROM "products" WHERE "products"."shop_id" = $1 [["shop_id", 11]]
931
-  (0.2ms) SAVEPOINT active_record_1
932
- SQL (0.2ms) INSERT INTO "products" ("name", "shop_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["name", "iMac"], ["shop_id", 11], ["created_at", "2016-10-17 04:26:03.554091"], ["updated_at", "2016-10-17 04:26:03.554091"]]
933
-  (0.2ms) RELEASE SAVEPOINT active_record_1
934
-  (0.2ms) ROLLBACK