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