poly_belongs_to 0.1.2 → 0.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,3 +3,2525 @@
3
3
  PolyBelongsToTest: test_truth
4
4
  -----------------------------
5
5
   (0.0ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ -----------------------------
8
+ PolyBelongsToTest: test_truth
9
+ -----------------------------
10
+  (0.0ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ -----------------------------
13
+ PolyBelongsToTest: test_truth
14
+ -----------------------------
15
+  (0.0ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ -----------------------------
18
+ PolyBelongsToTest: test_truth
19
+ -----------------------------
20
+  (0.0ms) rollback transaction
21
+  (0.2ms) begin transaction
22
+ ---------------------------------
23
+ PolyBelongsToTest: test_is_module
24
+ ---------------------------------
25
+  (0.0ms) rollback transaction
26
+  (14.0ms) CREATE TABLE "phones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "phoneable_id" integer, "phoneable_type" varchar, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) 
27
+  (0.1ms) select sqlite_version(*)
28
+  (12.1ms) CREATE INDEX "index_phones_on_phoneable_type_and_phoneable_id" ON "phones" ("phoneable_type", "phoneable_id")
29
+  (12.7ms) CREATE TABLE "tags" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
30
+  (17.9ms) CREATE INDEX "index_tags_on_user_id" ON "tags" ("user_id")
31
+  (11.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
32
+  (24.4ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL) 
33
+  (18.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
34
+  (0.1ms) SELECT version FROM "schema_migrations"
35
+  (26.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211224225')
36
+  (12.1ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211224157')
37
+  (12.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150211224139')
38
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
39
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
40
+  (0.1ms) begin transaction
41
+ ---------------------------------
42
+ PolyBelongsToTest: test_is_module
43
+ ---------------------------------
44
+  (0.0ms) rollback transaction
45
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
46
+  (0.1ms) begin transaction
47
+ --------------------------------------
48
+ PolyBelongsToTest: test_0001_is module
49
+ --------------------------------------
50
+  (0.0ms) rollback transaction
51
+  (0.0ms) begin transaction
52
+ ------------------------------------------------------------
53
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
54
+ ------------------------------------------------------------
55
+  (0.0ms) rollback transaction
56
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
57
+  (0.1ms) begin transaction
58
+ Fixture Delete (0.2ms) DELETE FROM "phones"
59
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:08:24', '2015-02-12 01:08:24', 980190962)
60
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:08:24', '2015-02-12 01:08:24', 298486374)
61
+ Fixture Delete (0.1ms) DELETE FROM "users"
62
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:08:24', '2015-02-12 01:08:24', 980190962)
63
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:08:24', '2015-02-12 01:08:24', 298486374)
64
+ Fixture Delete (0.1ms) DELETE FROM "tags"
65
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:08:24', '2015-02-12 01:08:24', 980190962)
66
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:08:24', '2015-02-12 01:08:24', 298486374)
67
+  (18.1ms) commit transaction
68
+  (0.1ms) begin transaction
69
+ --------------------------------------
70
+ PolyBelongsToTest: test_0001_is module
71
+ --------------------------------------
72
+  (0.1ms) rollback transaction
73
+  (0.1ms) begin transaction
74
+ ------------------------------------------------------------
75
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
76
+ ------------------------------------------------------------
77
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
78
+  (0.1ms) rollback transaction
79
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
80
+  (0.1ms) begin transaction
81
+ Fixture Delete (0.2ms) DELETE FROM "phones"
82
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:10:51', '2015-02-12 01:10:51', 980190962)
83
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:10:51', '2015-02-12 01:10:51', 298486374)
84
+ Fixture Delete (0.1ms) DELETE FROM "users"
85
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:10:51', '2015-02-12 01:10:51', 980190962)
86
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:10:51', '2015-02-12 01:10:51', 298486374)
87
+ Fixture Delete (0.1ms) DELETE FROM "tags"
88
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:10:51', '2015-02-12 01:10:51', 980190962)
89
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:10:51', '2015-02-12 01:10:51', 298486374)
90
+  (13.6ms) commit transaction
91
+  (0.0ms) begin transaction
92
+ --------------------------------------
93
+ PolyBelongsToTest: test_0001_is module
94
+ --------------------------------------
95
+  (0.0ms) rollback transaction
96
+  (0.0ms) begin transaction
97
+ ------------------------------------------------------------
98
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
99
+ ------------------------------------------------------------
100
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
101
+  (0.1ms) rollback transaction
102
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
103
+  (0.1ms) begin transaction
104
+ Fixture Delete (0.2ms) DELETE FROM "phones"
105
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:14:05', '2015-02-12 01:14:05', 980190962)
106
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:14:05', '2015-02-12 01:14:05', 298486374)
107
+ Fixture Delete (0.1ms) DELETE FROM "users"
108
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:14:05', '2015-02-12 01:14:05', 980190962)
109
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:14:05', '2015-02-12 01:14:05', 298486374)
110
+ Fixture Delete (0.1ms) DELETE FROM "tags"
111
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:14:05', '2015-02-12 01:14:05', 980190962)
112
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:14:05', '2015-02-12 01:14:05', 298486374)
113
+  (18.6ms) commit transaction
114
+  (0.1ms) begin transaction
115
+ --------------------------------------
116
+ PolyBelongsToTest: test_0001_is module
117
+ --------------------------------------
118
+  (0.1ms) rollback transaction
119
+  (0.1ms) begin transaction
120
+ ---------------------------------------------------------
121
+ PolyBelongsToTest: test_0003_reports Phone as polymorphic
122
+ ---------------------------------------------------------
123
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
124
+  (0.1ms) rollback transaction
125
+  (0.0ms) begin transaction
126
+ ------------------------------------------------------------
127
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
128
+ ------------------------------------------------------------
129
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
130
+  (0.1ms) rollback transaction
131
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
132
+  (0.1ms) begin transaction
133
+ Fixture Delete (0.2ms) DELETE FROM "phones"
134
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:14:09', '2015-02-12 01:14:09', 980190962)
135
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:14:09', '2015-02-12 01:14:09', 298486374)
136
+ Fixture Delete (0.1ms) DELETE FROM "users"
137
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:14:09', '2015-02-12 01:14:09', 980190962)
138
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:14:09', '2015-02-12 01:14:09', 298486374)
139
+ Fixture Delete (0.1ms) DELETE FROM "tags"
140
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:14:09', '2015-02-12 01:14:09', 980190962)
141
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:14:09', '2015-02-12 01:14:09', 298486374)
142
+  (13.5ms) commit transaction
143
+  (0.1ms) begin transaction
144
+ ------------------------------------------------------------
145
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
146
+ ------------------------------------------------------------
147
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
148
+  (0.1ms) rollback transaction
149
+  (0.0ms) begin transaction
150
+ --------------------------------------
151
+ PolyBelongsToTest: test_0001_is module
152
+ --------------------------------------
153
+  (0.0ms) rollback transaction
154
+  (0.0ms) begin transaction
155
+ ---------------------------------------------------------
156
+ PolyBelongsToTest: test_0003_reports Phone as polymorphic
157
+ ---------------------------------------------------------
158
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
159
+  (0.1ms) rollback transaction
160
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
161
+  (0.1ms) begin transaction
162
+ Fixture Delete (0.2ms) DELETE FROM "phones"
163
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:24:57', '2015-02-12 01:24:57', 980190962)
164
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:24:57', '2015-02-12 01:24:57', 298486374)
165
+ Fixture Delete (0.1ms) DELETE FROM "users"
166
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:24:57', '2015-02-12 01:24:57', 980190962)
167
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:24:57', '2015-02-12 01:24:57', 298486374)
168
+ Fixture Delete (0.1ms) DELETE FROM "tags"
169
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:24:57', '2015-02-12 01:24:57', 980190962)
170
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:24:57', '2015-02-12 01:24:57', 298486374)
171
+  (33.7ms) commit transaction
172
+  (0.1ms) begin transaction
173
+ ------------------------------------------------------------
174
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
175
+ ------------------------------------------------------------
176
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
177
+  (0.1ms) rollback transaction
178
+  (0.0ms) begin transaction
179
+ -----------------------------------------------------------
180
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
181
+ -----------------------------------------------------------
182
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
183
+  (0.1ms) rollback transaction
184
+  (0.0ms) begin transaction
185
+ ---------------------------------------------------------
186
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
187
+ ---------------------------------------------------------
188
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
189
+  (0.1ms) rollback transaction
190
+  (0.0ms) begin transaction
191
+ --------------------------------------
192
+ PolyBelongsToTest: test_0001_is module
193
+ --------------------------------------
194
+  (0.0ms) rollback transaction
195
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
196
+  (0.1ms) begin transaction
197
+ Fixture Delete (0.2ms) DELETE FROM "phones"
198
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:26:04', '2015-02-12 01:26:04', 980190962)
199
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:26:04', '2015-02-12 01:26:04', 298486374)
200
+ Fixture Delete (0.1ms) DELETE FROM "users"
201
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:26:04', '2015-02-12 01:26:04', 980190962)
202
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:26:04', '2015-02-12 01:26:04', 298486374)
203
+ Fixture Delete (0.1ms) DELETE FROM "tags"
204
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:26:04', '2015-02-12 01:26:04', 980190962)
205
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:26:04', '2015-02-12 01:26:04', 298486374)
206
+  (22.4ms) commit transaction
207
+  (1.6ms) begin transaction
208
+ ---------------------------------------------------------
209
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
210
+ ---------------------------------------------------------
211
+ Phone Load (0.5ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
212
+  (0.1ms) rollback transaction
213
+  (0.0ms) begin transaction
214
+ --------------------------------------
215
+ PolyBelongsToTest: test_0001_is module
216
+ --------------------------------------
217
+  (0.0ms) rollback transaction
218
+  (0.0ms) begin transaction
219
+ ------------------------------------------------------------
220
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
221
+ ------------------------------------------------------------
222
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
223
+  (0.1ms) rollback transaction
224
+  (0.0ms) begin transaction
225
+ -----------------------------------------------------------
226
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
227
+ -----------------------------------------------------------
228
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
229
+  (0.1ms) rollback transaction
230
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
231
+  (0.1ms) begin transaction
232
+ Fixture Delete (0.2ms) DELETE FROM "phones"
233
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:27:41', '2015-02-12 01:27:41', 980190962)
234
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:27:41', '2015-02-12 01:27:41', 298486374)
235
+ Fixture Delete (0.1ms) DELETE FROM "users"
236
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:27:41', '2015-02-12 01:27:41', 980190962)
237
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:27:41', '2015-02-12 01:27:41', 298486374)
238
+ Fixture Delete (0.1ms) DELETE FROM "tags"
239
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:27:41', '2015-02-12 01:27:41', 980190962)
240
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:27:41', '2015-02-12 01:27:41', 298486374)
241
+  (14.8ms) commit transaction
242
+  (0.5ms) begin transaction
243
+ ----------------------------------------
244
+ PolyBelongsToTest: test_0001_is a module
245
+ ----------------------------------------
246
+  (0.1ms) rollback transaction
247
+  (0.1ms) begin transaction
248
+ ------------------------------------------------------------
249
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
250
+ ------------------------------------------------------------
251
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
252
+  (0.1ms) rollback transaction
253
+  (0.1ms) begin transaction
254
+ ---------------------------------------------------------
255
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
256
+ ---------------------------------------------------------
257
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
258
+  (0.1ms) rollback transaction
259
+  (0.0ms) begin transaction
260
+ -----------------------------------------------------------
261
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
262
+ -----------------------------------------------------------
263
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
264
+  (0.1ms) rollback transaction
265
+  (0.0ms) begin transaction
266
+ ----------------------------------------------------------------
267
+ PolyBelongsToTest: test_0005_reports Users relation table as nil
268
+ ----------------------------------------------------------------
269
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
270
+  (0.4ms) rollback transaction
271
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
272
+  (0.1ms) begin transaction
273
+ Fixture Delete (0.2ms) DELETE FROM "phones"
274
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:30:29', '2015-02-12 01:30:29', 980190962)
275
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:30:29', '2015-02-12 01:30:29', 298486374)
276
+ Fixture Delete (0.1ms) DELETE FROM "users"
277
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:30:29', '2015-02-12 01:30:29', 980190962)
278
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:30:29', '2015-02-12 01:30:29', 298486374)
279
+ Fixture Delete (0.1ms) DELETE FROM "tags"
280
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:30:29', '2015-02-12 01:30:29', 980190962)
281
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:30:29', '2015-02-12 01:30:29', 298486374)
282
+  (18.7ms) commit transaction
283
+  (0.1ms) begin transaction
284
+ ------------------------------------------------------------
285
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
286
+ ------------------------------------------------------------
287
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
288
+  (0.1ms) rollback transaction
289
+  (0.0ms) begin transaction
290
+ ---------------------------------------------------------------
291
+ PolyBelongsToTest: test_0006_reports Tag relation table as :tag
292
+ ---------------------------------------------------------------
293
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
294
+  (0.1ms) rollback transaction
295
+  (0.0ms) begin transaction
296
+ -----------------------------------------------------------------------
297
+ PolyBelongsToTest: test_0007_reports Phone relation table as :phoneable
298
+ -----------------------------------------------------------------------
299
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
300
+  (0.1ms) rollback transaction
301
+  (0.0ms) begin transaction
302
+ ----------------------------------------
303
+ PolyBelongsToTest: test_0001_is a module
304
+ ----------------------------------------
305
+  (0.0ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+ -----------------------------------------------------------
308
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
309
+ -----------------------------------------------------------
310
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
311
+  (0.0ms) rollback transaction
312
+  (0.0ms) begin transaction
313
+ ---------------------------------------------------------
314
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
315
+ ---------------------------------------------------------
316
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
317
+  (0.0ms) rollback transaction
318
+  (0.0ms) begin transaction
319
+ ---------------------------------------------------------------
320
+ PolyBelongsToTest: test_0005_reports User relation table as nil
321
+ ---------------------------------------------------------------
322
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
323
+  (0.0ms) rollback transaction
324
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
325
+  (0.1ms) begin transaction
326
+ Fixture Delete (0.2ms) DELETE FROM "phones"
327
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:31:15', '2015-02-12 01:31:15', 980190962)
328
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:31:15', '2015-02-12 01:31:15', 298486374)
329
+ Fixture Delete (0.1ms) DELETE FROM "users"
330
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:31:15', '2015-02-12 01:31:15', 980190962)
331
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:31:15', '2015-02-12 01:31:15', 298486374)
332
+ Fixture Delete (0.1ms) DELETE FROM "tags"
333
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:31:15', '2015-02-12 01:31:15', 980190962)
334
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:31:15', '2015-02-12 01:31:15', 298486374)
335
+  (17.7ms) commit transaction
336
+  (0.1ms) begin transaction
337
+ ----------------------------------------
338
+ PolyBelongsToTest: test_0001_is a module
339
+ ----------------------------------------
340
+  (0.1ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+ ---------------------------------------------------------------
343
+ PolyBelongsToTest: test_0006_reports Tag relation table as :tag
344
+ ---------------------------------------------------------------
345
+ Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
346
+  (0.1ms) rollback transaction
347
+  (0.0ms) begin transaction
348
+ ------------------------------------------------------------
349
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
350
+ ------------------------------------------------------------
351
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
352
+  (0.1ms) rollback transaction
353
+  (0.0ms) begin transaction
354
+ -----------------------------------------------------------
355
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
356
+ -----------------------------------------------------------
357
+ Tag Load (0.6ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
358
+  (0.1ms) rollback transaction
359
+  (0.1ms) begin transaction
360
+ ---------------------------------------------------------------
361
+ PolyBelongsToTest: test_0005_reports User relation table as nil
362
+ ---------------------------------------------------------------
363
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
364
+  (0.1ms) rollback transaction
365
+  (0.1ms) begin transaction
366
+ -----------------------------------------------------------------------
367
+ PolyBelongsToTest: test_0007_reports Phone relation table as :phoneable
368
+ -----------------------------------------------------------------------
369
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
370
+  (0.1ms) rollback transaction
371
+  (0.1ms) begin transaction
372
+ ---------------------------------------------------------
373
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
374
+ ---------------------------------------------------------
375
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
376
+  (0.1ms) rollback transaction
377
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
378
+  (0.1ms) begin transaction
379
+ Fixture Delete (0.2ms) DELETE FROM "phones"
380
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:32:57', '2015-02-12 01:32:57', 980190962)
381
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:32:57', '2015-02-12 01:32:57', 298486374)
382
+ Fixture Delete (0.1ms) DELETE FROM "users"
383
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:32:57', '2015-02-12 01:32:57', 980190962)
384
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:32:57', '2015-02-12 01:32:57', 298486374)
385
+ Fixture Delete (0.1ms) DELETE FROM "tags"
386
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:32:57', '2015-02-12 01:32:57', 980190962)
387
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:32:57', '2015-02-12 01:32:57', 298486374)
388
+  (25.6ms) commit transaction
389
+  (0.1ms) begin transaction
390
+ ------------------------------------------------------------
391
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
392
+ ------------------------------------------------------------
393
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
394
+  (0.1ms) rollback transaction
395
+  (0.0ms) begin transaction
396
+ ---------------------------------------------------------
397
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
398
+ ---------------------------------------------------------
399
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
400
+  (0.1ms) rollback transaction
401
+  (0.0ms) begin transaction
402
+ ----------------------------------------------------------------------------------
403
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
404
+ ----------------------------------------------------------------------------------
405
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
406
+  (0.0ms) rollback transaction
407
+  (0.3ms) begin transaction
408
+ ----------------------------------------
409
+ PolyBelongsToTest: test_0001_is a module
410
+ ----------------------------------------
411
+  (0.0ms) rollback transaction
412
+  (0.0ms) begin transaction
413
+ ---------------------------------------------------------------------------
414
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
415
+ ---------------------------------------------------------------------------
416
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
417
+  (0.1ms) rollback transaction
418
+  (0.1ms) begin transaction
419
+ -----------------------------------------------------------
420
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
421
+ -----------------------------------------------------------
422
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
423
+  (0.0ms) rollback transaction
424
+  (0.0ms) begin transaction
425
+ --------------------------------------------------------------------------
426
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
427
+ --------------------------------------------------------------------------
428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
429
+  (0.0ms) rollback transaction
430
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
431
+  (0.1ms) begin transaction
432
+ Fixture Delete (0.2ms) DELETE FROM "phones"
433
+ Fixture Insert (0.2ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:35:15', '2015-02-12 01:35:15', 980190962)
434
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:35:15', '2015-02-12 01:35:15', 298486374)
435
+ Fixture Delete (0.1ms) DELETE FROM "users"
436
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:35:15', '2015-02-12 01:35:15', 980190962)
437
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:35:15', '2015-02-12 01:35:15', 298486374)
438
+ Fixture Delete (0.1ms) DELETE FROM "tags"
439
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:35:15', '2015-02-12 01:35:15', 980190962)
440
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:35:15', '2015-02-12 01:35:15', 298486374)
441
+  (13.5ms) commit transaction
442
+  (0.1ms) begin transaction
443
+ ------------------------------------------------------------
444
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
445
+ ------------------------------------------------------------
446
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
447
+  (0.1ms) rollback transaction
448
+  (0.0ms) begin transaction
449
+ ----------------------------------------------------------------------------------
450
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
451
+ ----------------------------------------------------------------------------------
452
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
453
+  (0.1ms) rollback transaction
454
+  (0.1ms) begin transaction
455
+ ----------------------------------------
456
+ PolyBelongsToTest: test_0001_is a module
457
+ ----------------------------------------
458
+  (0.0ms) rollback transaction
459
+  (0.0ms) begin transaction
460
+ ---------------------------------------------------------
461
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
462
+ ---------------------------------------------------------
463
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
464
+  (0.0ms) rollback transaction
465
+  (0.1ms) begin transaction
466
+ --------------------------------------------------------------------------
467
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
468
+ --------------------------------------------------------------------------
469
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
470
+  (0.0ms) rollback transaction
471
+  (0.0ms) begin transaction
472
+ ---------------------------------------------------------------------------
473
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
474
+ ---------------------------------------------------------------------------
475
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
476
+  (0.1ms) rollback transaction
477
+  (0.0ms) begin transaction
478
+ -----------------------------------------------------------
479
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
480
+ -----------------------------------------------------------
481
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
482
+  (0.0ms) rollback transaction
483
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
484
+  (0.1ms) begin transaction
485
+ Fixture Delete (0.2ms) DELETE FROM "phones"
486
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:43:58', '2015-02-12 01:43:58', 980190962)
487
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:43:58', '2015-02-12 01:43:58', 298486374)
488
+ Fixture Delete (0.1ms) DELETE FROM "users"
489
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:43:58', '2015-02-12 01:43:58', 980190962)
490
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:43:58', '2015-02-12 01:43:58', 298486374)
491
+ Fixture Delete (0.1ms) DELETE FROM "tags"
492
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:43:58', '2015-02-12 01:43:58', 980190962)
493
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:43:58', '2015-02-12 01:43:58', 298486374)
494
+  (13.0ms) commit transaction
495
+  (0.1ms) begin transaction
496
+ -----------------------------------------------------------
497
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
498
+ -----------------------------------------------------------
499
+ Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
500
+  (0.1ms) rollback transaction
501
+  (0.0ms) begin transaction
502
+ ----------------------------------------------------------------------------------
503
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
504
+ ----------------------------------------------------------------------------------
505
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
506
+  (0.1ms) rollback transaction
507
+  (0.0ms) begin transaction
508
+ ---------------------------------------------------------
509
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
510
+ ---------------------------------------------------------
511
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
512
+  (0.0ms) rollback transaction
513
+  (0.0ms) begin transaction
514
+ ------------------------------------------------------------
515
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
516
+ ------------------------------------------------------------
517
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
518
+  (0.0ms) rollback transaction
519
+  (0.0ms) begin transaction
520
+ ---------------------------------------------------------------------------
521
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
522
+ ---------------------------------------------------------------------------
523
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
524
+  (0.0ms) rollback transaction
525
+  (0.5ms) begin transaction
526
+ ----------------------------------------------------------------------------
527
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
528
+ ----------------------------------------------------------------------------
529
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
530
+  (0.1ms) rollback transaction
531
+  (0.0ms) begin transaction
532
+ ------------------------------------------------------------
533
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
534
+ ------------------------------------------------------------
535
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
536
+  (0.1ms) rollback transaction
537
+  (0.0ms) begin transaction
538
+ --------------------------------------------------------------------------
539
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
540
+ --------------------------------------------------------------------------
541
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
542
+  (0.0ms) rollback transaction
543
+  (0.0ms) begin transaction
544
+ ----------------------------------------
545
+ PolyBelongsToTest: test_0001_is a module
546
+ ----------------------------------------
547
+  (0.0ms) rollback transaction
548
+  (0.1ms) begin transaction
549
+ --------------------------------------------------------------
550
+ PolyBelongsToTest: test_0008_reports User params name as :user
551
+ --------------------------------------------------------------
552
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
553
+  (0.0ms) rollback transaction
554
+  (0.0ms) begin transaction
555
+ ----------------------------------------------------------------------------
556
+ PolyBelongsToTest: test_0011_reports Phone params name as th false as :phone
557
+ ----------------------------------------------------------------------------
558
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
559
+  (0.0ms) rollback transaction
560
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
561
+  (0.1ms) begin transaction
562
+ Fixture Delete (0.2ms) DELETE FROM "phones"
563
+ Fixture Insert (0.2ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:50:03', '2015-02-12 01:50:03', 980190962)
564
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:50:03', '2015-02-12 01:50:03', 298486374)
565
+ Fixture Delete (0.1ms) DELETE FROM "users"
566
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:50:03', '2015-02-12 01:50:03', 980190962)
567
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:50:03', '2015-02-12 01:50:03', 298486374)
568
+ Fixture Delete (0.1ms) DELETE FROM "tags"
569
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:50:03', '2015-02-12 01:50:03', 980190962)
570
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:50:03', '2015-02-12 01:50:03', 298486374)
571
+  (41.5ms) commit transaction
572
+  (0.1ms) begin transaction
573
+ ----------------------------------------------------------------------------
574
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
575
+ ----------------------------------------------------------------------------
576
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
577
+  (0.4ms) rollback transaction
578
+  (0.0ms) begin transaction
579
+ ----------------------------------------
580
+ PolyBelongsToTest: test_0001_is a module
581
+ ----------------------------------------
582
+  (0.0ms) rollback transaction
583
+  (0.0ms) begin transaction
584
+ --------------------------------------------------------------
585
+ PolyBelongsToTest: test_0008_reports User params name as :user
586
+ --------------------------------------------------------------
587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
588
+  (0.1ms) rollback transaction
589
+  (0.0ms) begin transaction
590
+ ------------------------------------------------------------
591
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
592
+ ------------------------------------------------------------
593
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
594
+  (0.1ms) rollback transaction
595
+  (0.0ms) begin transaction
596
+ ---------------------------------------------------------
597
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
598
+ ---------------------------------------------------------
599
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
600
+  (0.0ms) rollback transaction
601
+  (0.0ms) begin transaction
602
+ ----------------------------------------------------------------------------------
603
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
604
+ ----------------------------------------------------------------------------------
605
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
606
+  (0.0ms) rollback transaction
607
+  (0.0ms) begin transaction
608
+ ---------------------------------------------------------------
609
+ PolyBelongsToTest: test_0012_reports User id symbol as :user_id
610
+ ---------------------------------------------------------------
611
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
612
+  (0.0ms) rollback transaction
613
+  (0.0ms) begin transaction
614
+ --------------------------------------------------------------------
615
+ PolyBelongsToTest: test_0014_reports Phone id symbl as :phoneable_id
616
+ --------------------------------------------------------------------
617
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
618
+  (0.0ms) rollback transaction
619
+  (0.0ms) begin transaction
620
+ --------------------------------------------------------------------------
621
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
622
+ --------------------------------------------------------------------------
623
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
624
+  (0.1ms) rollback transaction
625
+  (0.0ms) begin transaction
626
+ -------------------------------------------------------------
627
+ PolyBelongsToTest: test_0013_reports Tag id symbol as :tag_id
628
+ -------------------------------------------------------------
629
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
630
+  (0.1ms) rollback transaction
631
+  (0.0ms) begin transaction
632
+ ------------------------------------------------------------
633
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
634
+ ------------------------------------------------------------
635
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
636
+  (0.1ms) rollback transaction
637
+  (0.0ms) begin transaction
638
+ ----------------------------------------------------------------------------
639
+ PolyBelongsToTest: test_0011_reports Phone params name as th false as :phone
640
+ ----------------------------------------------------------------------------
641
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
642
+  (0.0ms) rollback transaction
643
+  (0.0ms) begin transaction
644
+ ---------------------------------------------------------------------------
645
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
646
+ ---------------------------------------------------------------------------
647
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
648
+  (0.0ms) rollback transaction
649
+  (0.0ms) begin transaction
650
+ -----------------------------------------------------------
651
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
652
+ -----------------------------------------------------------
653
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
654
+  (0.0ms) rollback transaction
655
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
656
+  (0.1ms) begin transaction
657
+ Fixture Delete (0.2ms) DELETE FROM "phones"
658
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:54:38', '2015-02-12 01:54:38', 980190962)
659
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:54:38', '2015-02-12 01:54:38', 298486374)
660
+ Fixture Delete (0.1ms) DELETE FROM "users"
661
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:54:38', '2015-02-12 01:54:38', 980190962)
662
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:54:38', '2015-02-12 01:54:38', 298486374)
663
+ Fixture Delete (0.1ms) DELETE FROM "tags"
664
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:54:38', '2015-02-12 01:54:38', 980190962)
665
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:54:38', '2015-02-12 01:54:38', 298486374)
666
+  (15.6ms) commit transaction
667
+  (0.1ms) begin transaction
668
+ --------------------------------------------------------------
669
+ PolyBelongsToTest: test_0008_reports User params name as :user
670
+ --------------------------------------------------------------
671
+ User Load (0.8ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
672
+  (0.1ms) rollback transaction
673
+  (0.0ms) begin transaction
674
+ ----------------------------------------------------------------------------------
675
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
676
+ ----------------------------------------------------------------------------------
677
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
678
+  (0.1ms) rollback transaction
679
+  (0.0ms) begin transaction
680
+ ---------------------------------------------------------------------------
681
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
682
+ ---------------------------------------------------------------------------
683
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
684
+  (0.1ms) rollback transaction
685
+  (0.0ms) begin transaction
686
+ ------------------------------------------------------------
687
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
688
+ ------------------------------------------------------------
689
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
690
+  (0.0ms) rollback transaction
691
+  (0.0ms) begin transaction
692
+ ----------------------------------------
693
+ PolyBelongsToTest: test_0001_is a module
694
+ ----------------------------------------
695
+  (0.0ms) rollback transaction
696
+  (0.0ms) begin transaction
697
+ -----------------------------------------------------------
698
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
699
+ -----------------------------------------------------------
700
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
701
+  (0.0ms) rollback transaction
702
+  (0.0ms) begin transaction
703
+ ------------------------------------------------------------
704
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
705
+ ------------------------------------------------------------
706
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
707
+  (0.0ms) rollback transaction
708
+  (0.0ms) begin transaction
709
+ --------------------------------------------------------------------------
710
+ PolyBelongsToTest: test_0012_reports User ownership field id symbol as nil
711
+ --------------------------------------------------------------------------
712
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
713
+  (0.0ms) rollback transaction
714
+  (0.0ms) begin transaction
715
+ ----------------------------------------------------------------------------
716
+ PolyBelongsToTest: test_0011_reports Phone params name as th false as :phone
717
+ ----------------------------------------------------------------------------
718
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
719
+  (0.0ms) rollback transaction
720
+  (0.0ms) begin transaction
721
+ -----------------------------------------------------------------------------
722
+ PolyBelongsToTest: test_0013_reports Tag ownership field id symbol as :tag_id
723
+ -----------------------------------------------------------------------------
724
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
725
+  (0.0ms) rollback transaction
726
+  (0.3ms) begin transaction
727
+ ---------------------------------------------------------
728
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
729
+ ---------------------------------------------------------
730
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
731
+  (0.0ms) rollback transaction
732
+  (0.1ms) begin transaction
733
+ --------------------------------------------------------------------------
734
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
735
+ --------------------------------------------------------------------------
736
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
737
+  (0.0ms) rollback transaction
738
+  (0.0ms) begin transaction
739
+ ----------------------------------------------------------------------------
740
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
741
+ ----------------------------------------------------------------------------
742
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
743
+  (0.0ms) rollback transaction
744
+  (0.0ms) begin transaction
745
+ -------------------------------------------------------------------------------------
746
+ PolyBelongsToTest: test_0014_reports Phone ownership field id symbol as :phoneable_id
747
+ -------------------------------------------------------------------------------------
748
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
749
+  (0.0ms) rollback transaction
750
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
751
+  (0.1ms) begin transaction
752
+ Fixture Delete (0.2ms) DELETE FROM "phones"
753
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:57:13', '2015-02-12 01:57:13', 980190962)
754
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:57:13', '2015-02-12 01:57:13', 298486374)
755
+ Fixture Delete (0.2ms) DELETE FROM "users"
756
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:57:13', '2015-02-12 01:57:13', 980190962)
757
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:57:13', '2015-02-12 01:57:13', 298486374)
758
+ Fixture Delete (0.1ms) DELETE FROM "tags"
759
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:57:13', '2015-02-12 01:57:13', 980190962)
760
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:57:13', '2015-02-12 01:57:13', 298486374)
761
+  (13.0ms) commit transaction
762
+  (0.1ms) begin transaction
763
+ ----------------------------------------
764
+ PolyBelongsToTest: test_0001_is a module
765
+ ----------------------------------------
766
+  (0.1ms) rollback transaction
767
+  (0.1ms) begin transaction
768
+ ------------------------------------------------------------
769
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
770
+ ------------------------------------------------------------
771
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
772
+  (0.5ms) rollback transaction
773
+  (0.1ms) begin transaction
774
+ -------------------------------------------------------------------------------------
775
+ PolyBelongsToTest: test_0014_reports Phone ownership field id symbol as :phoneable_id
776
+ -------------------------------------------------------------------------------------
777
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
778
+  (0.1ms) rollback transaction
779
+  (0.0ms) begin transaction
780
+ --------------------------------------------------------------------------
781
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
782
+ --------------------------------------------------------------------------
783
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
784
+  (0.0ms) rollback transaction
785
+  (0.0ms) begin transaction
786
+ --------------------------------------------------------------
787
+ PolyBelongsToTest: test_0008_reports User params name as :user
788
+ --------------------------------------------------------------
789
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
790
+  (0.0ms) rollback transaction
791
+  (0.0ms) begin transaction
792
+ -----------------------------------------------------------
793
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
794
+ -----------------------------------------------------------
795
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
796
+  (0.1ms) rollback transaction
797
+  (0.0ms) begin transaction
798
+ ---------------------------------------------------------------------------
799
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
800
+ ---------------------------------------------------------------------------
801
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
802
+  (0.0ms) rollback transaction
803
+  (0.0ms) begin transaction
804
+ ------------------------------------------------------------
805
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
806
+ ------------------------------------------------------------
807
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
808
+  (0.0ms) rollback transaction
809
+  (0.0ms) begin transaction
810
+ ----------------------------------------------------------------------------
811
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
812
+ ----------------------------------------------------------------------------
813
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
814
+  (0.0ms) rollback transaction
815
+  (0.0ms) begin transaction
816
+ ----------------------------------------------------------------------------------
817
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
818
+ ----------------------------------------------------------------------------------
819
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
820
+  (0.1ms) rollback transaction
821
+  (0.0ms) begin transaction
822
+ -----------------------------------------------------------------------------
823
+ PolyBelongsToTest: test_0013_reports Tag ownership field id symbol as :tag_id
824
+ -----------------------------------------------------------------------------
825
+ Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
826
+  (0.1ms) rollback transaction
827
+  (0.0ms) begin transaction
828
+ ---------------------------------------------------------
829
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
830
+ ---------------------------------------------------------
831
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
832
+  (0.0ms) rollback transaction
833
+  (0.0ms) begin transaction
834
+ --------------------------------------------------------------------------
835
+ PolyBelongsToTest: test_0012_reports User ownership field id symbol as nil
836
+ --------------------------------------------------------------------------
837
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
838
+  (0.0ms) rollback transaction
839
+  (0.0ms) begin transaction
840
+ ---------------------------------------------------------------------------
841
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
842
+ ---------------------------------------------------------------------------
843
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
844
+  (0.0ms) rollback transaction
845
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
846
+  (0.1ms) begin transaction
847
+ Fixture Delete (0.2ms) DELETE FROM "phones"
848
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:59:17', '2015-02-12 01:59:17', 980190962)
849
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 01:59:17', '2015-02-12 01:59:17', 298486374)
850
+ Fixture Delete (0.1ms) DELETE FROM "users"
851
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:59:17', '2015-02-12 01:59:17', 980190962)
852
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 01:59:17', '2015-02-12 01:59:17', 298486374)
853
+ Fixture Delete (0.1ms) DELETE FROM "tags"
854
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:59:17', '2015-02-12 01:59:17', 980190962)
855
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 01:59:17', '2015-02-12 01:59:17', 298486374)
856
+  (18.1ms) commit transaction
857
+  (0.1ms) begin transaction
858
+ --------------------------------------------------------------
859
+ PolyBelongsToTest: test_0008_reports User params name as :user
860
+ --------------------------------------------------------------
861
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
862
+  (0.1ms) rollback transaction
863
+  (0.1ms) begin transaction
864
+ -----------------------------------------------------------------------------------------
865
+ PolyBelongsToTest: test_0017_reports Phone ownership field type symbol as :phoneable_type
866
+ -----------------------------------------------------------------------------------------
867
+ Phone Load (0.6ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
868
+  (0.1ms) rollback transaction
869
+  (0.0ms) begin transaction
870
+ ----------------------------------------
871
+ PolyBelongsToTest: test_0001_is a module
872
+ ----------------------------------------
873
+  (0.0ms) rollback transaction
874
+  (0.0ms) begin transaction
875
+ ------------------------------------------------------------
876
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
877
+ ------------------------------------------------------------
878
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
879
+  (0.4ms) rollback transaction
880
+  (0.0ms) begin transaction
881
+ ---------------------------------------------------------
882
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
883
+ ---------------------------------------------------------
884
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
885
+  (0.0ms) rollback transaction
886
+  (0.0ms) begin transaction
887
+ --------------------------------------------------------------------------
888
+ PolyBelongsToTest: test_0012_reports User ownership field id symbol as nil
889
+ --------------------------------------------------------------------------
890
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
891
+  (0.0ms) rollback transaction
892
+  (0.0ms) begin transaction
893
+ ------------------------------------------------------------
894
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
895
+ ------------------------------------------------------------
896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
897
+  (0.0ms) rollback transaction
898
+  (0.0ms) begin transaction
899
+ ----------------------------------------------------------------------------
900
+ PolyBelongsToTest: test_0015_reports User ownership field type symbol as nil
901
+ ----------------------------------------------------------------------------
902
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
903
+  (0.0ms) rollback transaction
904
+  (0.0ms) begin transaction
905
+ --------------------------------------------------------------------------
906
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
907
+ --------------------------------------------------------------------------
908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
909
+  (0.0ms) rollback transaction
910
+  (0.0ms) begin transaction
911
+ ----------------------------------------------------------------------------------
912
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
913
+ ----------------------------------------------------------------------------------
914
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
915
+  (0.0ms) rollback transaction
916
+  (0.0ms) begin transaction
917
+ -----------------------------------------------------------------------------
918
+ PolyBelongsToTest: test_0013_reports Tag ownership field id symbol as :tag_id
919
+ -----------------------------------------------------------------------------
920
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
921
+  (0.0ms) rollback transaction
922
+  (0.0ms) begin transaction
923
+ ---------------------------------------------------------------------------
924
+ PolyBelongsToTest: test_0016_reports Tag ownership field type symbol as nil
925
+ ---------------------------------------------------------------------------
926
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
927
+  (0.1ms) rollback transaction
928
+  (0.0ms) begin transaction
929
+ ---------------------------------------------------------------------------
930
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
931
+ ---------------------------------------------------------------------------
932
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
933
+  (0.0ms) rollback transaction
934
+  (0.0ms) begin transaction
935
+ -------------------------------------------------------------------------------------
936
+ PolyBelongsToTest: test_0014_reports Phone ownership field id symbol as :phoneable_id
937
+ -------------------------------------------------------------------------------------
938
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
939
+  (0.0ms) rollback transaction
940
+  (0.0ms) begin transaction
941
+ -----------------------------------------------------------
942
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
943
+ -----------------------------------------------------------
944
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
945
+  (0.0ms) rollback transaction
946
+  (0.0ms) begin transaction
947
+ ---------------------------------------------------------------------------
948
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
949
+ ---------------------------------------------------------------------------
950
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
951
+  (0.4ms) rollback transaction
952
+  (0.0ms) begin transaction
953
+ ----------------------------------------------------------------------------
954
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
955
+ ----------------------------------------------------------------------------
956
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
957
+  (0.0ms) rollback transaction
958
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
959
+  (0.1ms) begin transaction
960
+ Fixture Delete (0.2ms) DELETE FROM "phones"
961
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:00:06', '2015-02-12 02:00:06', 980190962)
962
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:00:06', '2015-02-12 02:00:06', 298486374)
963
+ Fixture Delete (0.4ms) DELETE FROM "users"
964
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:00:06', '2015-02-12 02:00:06', 980190962)
965
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:00:06', '2015-02-12 02:00:06', 298486374)
966
+ Fixture Delete (0.1ms) DELETE FROM "tags"
967
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:00:06', '2015-02-12 02:00:06', 980190962)
968
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:00:06', '2015-02-12 02:00:06', 298486374)
969
+  (12.8ms) commit transaction
970
+  (0.1ms) begin transaction
971
+ -------------------------------------------------------------------------------------
972
+ PolyBelongsToTest: test_0014_reports Phone ownership field id symbol as :phoneable_id
973
+ -------------------------------------------------------------------------------------
974
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
975
+  (0.1ms) rollback transaction
976
+  (0.0ms) begin transaction
977
+ -----------------------------------------------------------------------------------------
978
+ PolyBelongsToTest: test_0017_reports Phone ownership field type symbol as :phoneable_type
979
+ -----------------------------------------------------------------------------------------
980
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
981
+  (0.0ms) rollback transaction
982
+  (0.0ms) begin transaction
983
+ ---------------------------------------------------------------------------
984
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
985
+ ---------------------------------------------------------------------------
986
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
987
+  (0.1ms) rollback transaction
988
+  (0.0ms) begin transaction
989
+ ----------------------------------------------------------------------------------
990
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
991
+ ----------------------------------------------------------------------------------
992
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
993
+  (0.0ms) rollback transaction
994
+  (0.0ms) begin transaction
995
+ ----------------------------------------------------------------------------
996
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
997
+ ----------------------------------------------------------------------------
998
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
999
+  (0.0ms) rollback transaction
1000
+  (0.0ms) begin transaction
1001
+ --------------------------------------------------------------------------
1002
+ PolyBelongsToTest: test_0012_reports User ownership field id symbol as nil
1003
+ --------------------------------------------------------------------------
1004
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1005
+  (0.1ms) rollback transaction
1006
+  (0.0ms) begin transaction
1007
+ ------------------------------------------------------------
1008
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1009
+ ------------------------------------------------------------
1010
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1011
+  (0.0ms) rollback transaction
1012
+  (0.0ms) begin transaction
1013
+ ---------------------------------------------------------
1014
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1015
+ ---------------------------------------------------------
1016
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1017
+  (0.0ms) rollback transaction
1018
+  (0.0ms) begin transaction
1019
+ ----------------------------------------
1020
+ PolyBelongsToTest: test_0001_is a module
1021
+ ----------------------------------------
1022
+  (0.0ms) rollback transaction
1023
+  (0.0ms) begin transaction
1024
+ ---------------------------------------------------------------------------
1025
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1026
+ ---------------------------------------------------------------------------
1027
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1028
+  (0.4ms) rollback transaction
1029
+  (0.0ms) begin transaction
1030
+ -----------------------------------------------------------------------------
1031
+ PolyBelongsToTest: test_0013_reports Tag ownership field id symbol as :tag_id
1032
+ -----------------------------------------------------------------------------
1033
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1034
+  (0.0ms) rollback transaction
1035
+  (0.0ms) begin transaction
1036
+ ---------------------------------------------------------------------------
1037
+ PolyBelongsToTest: test_0016_reports Tag ownership field type symbol as nil
1038
+ ---------------------------------------------------------------------------
1039
+ Tag Load (0.0ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1040
+  (0.0ms) rollback transaction
1041
+  (0.0ms) begin transaction
1042
+ ----------------------------------------------------------------------------
1043
+ PolyBelongsToTest: test_0015_reports User ownership field type symbol as nil
1044
+ ----------------------------------------------------------------------------
1045
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1046
+  (0.0ms) rollback transaction
1047
+  (0.0ms) begin transaction
1048
+ ------------------------------------------------------------
1049
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1050
+ ------------------------------------------------------------
1051
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1052
+  (0.0ms) rollback transaction
1053
+  (0.0ms) begin transaction
1054
+ -----------------------------------------------------------
1055
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1056
+ -----------------------------------------------------------
1057
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1058
+  (0.1ms) rollback transaction
1059
+  (0.0ms) begin transaction
1060
+ --------------------------------------------------------------------------
1061
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1062
+ --------------------------------------------------------------------------
1063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1064
+  (0.0ms) rollback transaction
1065
+  (0.0ms) begin transaction
1066
+ --------------------------------------------------------------
1067
+ PolyBelongsToTest: test_0008_reports User params name as :user
1068
+ --------------------------------------------------------------
1069
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1070
+  (0.0ms) rollback transaction
1071
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1072
+  (0.1ms) begin transaction
1073
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1074
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:04:19', '2015-02-12 02:04:19', 980190962)
1075
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:04:19', '2015-02-12 02:04:19', 298486374)
1076
+ Fixture Delete (0.1ms) DELETE FROM "users"
1077
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:04:19', '2015-02-12 02:04:19', 980190962)
1078
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:04:19', '2015-02-12 02:04:19', 298486374)
1079
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1080
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:04:19', '2015-02-12 02:04:19', 980190962)
1081
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:04:19', '2015-02-12 02:04:19', 298486374)
1082
+  (32.8ms) commit transaction
1083
+  (0.1ms) begin transaction
1084
+ ---------------------------------------------------------
1085
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1086
+ ---------------------------------------------------------
1087
+ Phone Load (0.3ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1088
+  (0.1ms) rollback transaction
1089
+  (0.0ms) begin transaction
1090
+ ---------------------------------------------------------------------------
1091
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1092
+ ---------------------------------------------------------------------------
1093
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1094
+  (0.1ms) rollback transaction
1095
+  (0.0ms) begin transaction
1096
+ --------------------------------------------------------------------
1097
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1098
+ --------------------------------------------------------------------
1099
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1100
+  (0.0ms) rollback transaction
1101
+  (0.0ms) begin transaction
1102
+ --------------------------------------------------------------------------
1103
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1104
+ --------------------------------------------------------------------------
1105
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1106
+  (0.1ms) rollback transaction
1107
+  (0.0ms) begin transaction
1108
+ ----------------------------------------------------------------------------------
1109
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1110
+ ----------------------------------------------------------------------------------
1111
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1112
+  (0.0ms) rollback transaction
1113
+  (0.0ms) begin transaction
1114
+ ------------------------------------------------------------
1115
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1116
+ ------------------------------------------------------------
1117
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1118
+  (0.0ms) rollback transaction
1119
+  (0.0ms) begin transaction
1120
+ -------------------------------------------------------------------------------------
1121
+ PolyBelongsToTest: test_0014_reports Phone ownership field id symbol as :phoneable_id
1122
+ -------------------------------------------------------------------------------------
1123
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1124
+  (0.0ms) rollback transaction
1125
+  (0.0ms) begin transaction
1126
+ -----------------------------------------------------------
1127
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1128
+ -----------------------------------------------------------
1129
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1130
+  (0.0ms) rollback transaction
1131
+  (0.0ms) begin transaction
1132
+ --------------------------------------------------------------
1133
+ PolyBelongsToTest: test_0008_reports User params name as :user
1134
+ --------------------------------------------------------------
1135
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1136
+  (0.3ms) rollback transaction
1137
+  (0.0ms) begin transaction
1138
+ ---------------------------------------------------------------------------
1139
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1140
+ ---------------------------------------------------------------------------
1141
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1142
+  (0.0ms) rollback transaction
1143
+  (0.0ms) begin transaction
1144
+ ----------------------------------------------------------------------------
1145
+ PolyBelongsToTest: test_0015_reports User ownership field type symbol as nil
1146
+ ----------------------------------------------------------------------------
1147
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1148
+  (0.1ms) rollback transaction
1149
+  (0.0ms) begin transaction
1150
+ ---------------------------------------------------------------------------
1151
+ PolyBelongsToTest: test_0016_reports Tag ownership field type symbol as nil
1152
+ ---------------------------------------------------------------------------
1153
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1154
+  (0.0ms) rollback transaction
1155
+  (0.0ms) begin transaction
1156
+ -----------------------------------------------------------------------
1157
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1158
+ -----------------------------------------------------------------------
1159
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1160
+  (0.0ms) rollback transaction
1161
+  (0.0ms) begin transaction
1162
+ --------------------------------------------------------------------------
1163
+ PolyBelongsToTest: test_0012_reports User ownership field id symbol as nil
1164
+ --------------------------------------------------------------------------
1165
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1166
+  (0.0ms) rollback transaction
1167
+  (0.0ms) begin transaction
1168
+ ----------------------------------------
1169
+ PolyBelongsToTest: test_0001_is a module
1170
+ ----------------------------------------
1171
+  (0.0ms) rollback transaction
1172
+  (0.0ms) begin transaction
1173
+ ----------------------------------------------------------------------
1174
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1175
+ ----------------------------------------------------------------------
1176
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1177
+  (0.0ms) rollback transaction
1178
+  (0.0ms) begin transaction
1179
+ ------------------------------------------------------------
1180
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1181
+ ------------------------------------------------------------
1182
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1183
+  (0.0ms) rollback transaction
1184
+  (0.0ms) begin transaction
1185
+ -----------------------------------------------------------------------------
1186
+ PolyBelongsToTest: test_0013_reports Tag ownership field id symbol as :tag_id
1187
+ -----------------------------------------------------------------------------
1188
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1189
+  (0.0ms) rollback transaction
1190
+  (0.0ms) begin transaction
1191
+ -----------------------------------------------------------------------------------------
1192
+ PolyBelongsToTest: test_0017_reports Phone ownership field type symbol as :phoneable_type
1193
+ -----------------------------------------------------------------------------------------
1194
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1195
+  (0.1ms) rollback transaction
1196
+  (0.0ms) begin transaction
1197
+ ----------------------------------------------------------------------------
1198
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1199
+ ----------------------------------------------------------------------------
1200
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1201
+  (0.0ms) rollback transaction
1202
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1203
+  (0.1ms) begin transaction
1204
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1205
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:07:15', '2015-02-12 02:07:15', 980190962)
1206
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:07:15', '2015-02-12 02:07:15', 298486374)
1207
+ Fixture Delete (0.1ms) DELETE FROM "users"
1208
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:07:15', '2015-02-12 02:07:15', 980190962)
1209
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:07:15', '2015-02-12 02:07:15', 298486374)
1210
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1211
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:07:15', '2015-02-12 02:07:15', 980190962)
1212
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:07:15', '2015-02-12 02:07:15', 298486374)
1213
+  (13.0ms) commit transaction
1214
+  (0.1ms) begin transaction
1215
+ ---------------------------------------------------------
1216
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1217
+ ---------------------------------------------------------
1218
+ Phone Load (0.3ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1219
+  (0.1ms) rollback transaction
1220
+  (0.0ms) begin transaction
1221
+ -----------------------------------------------------------
1222
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1223
+ -----------------------------------------------------------
1224
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1225
+  (0.1ms) rollback transaction
1226
+  (0.0ms) begin transaction
1227
+ ----------------------------------------------------------------------------------
1228
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1229
+ ----------------------------------------------------------------------------------
1230
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1231
+  (0.1ms) rollback transaction
1232
+  (0.0ms) begin transaction
1233
+ --------------------------------------------------------------
1234
+ PolyBelongsToTest: test_0008_reports User params name as :user
1235
+ --------------------------------------------------------------
1236
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1237
+  (0.1ms) rollback transaction
1238
+  (0.0ms) begin transaction
1239
+ ------------------------------------------------------------
1240
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1241
+ ------------------------------------------------------------
1242
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1243
+  (0.4ms) rollback transaction
1244
+  (0.0ms) begin transaction
1245
+ ---------------------------------------------------------------------------
1246
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1247
+ ---------------------------------------------------------------------------
1248
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1249
+  (0.0ms) rollback transaction
1250
+  (0.0ms) begin transaction
1251
+ ---------------------------------------------------------------------------
1252
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
1253
+ ---------------------------------------------------------------------------
1254
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1255
+  (0.0ms) rollback transaction
1256
+  (0.0ms) begin transaction
1257
+ ----------------------------------------------------------------------------
1258
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
1259
+ ----------------------------------------------------------------------------
1260
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1261
+  (0.0ms) rollback transaction
1262
+  (0.0ms) begin transaction
1263
+ ------------------------------------------------------------------------------------------
1264
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
1265
+ ------------------------------------------------------------------------------------------
1266
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1267
+  (0.0ms) rollback transaction
1268
+  (0.0ms) begin transaction
1269
+ --------------------------------------------------------------------
1270
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1271
+ --------------------------------------------------------------------
1272
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1273
+  (0.0ms) rollback transaction
1274
+  (0.0ms) begin transaction
1275
+ -----------------------------------------------------------------------------
1276
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1277
+ -----------------------------------------------------------------------------
1278
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1279
+  (0.1ms) rollback transaction
1280
+  (0.0ms) begin transaction
1281
+ ----------------------------------------
1282
+ PolyBelongsToTest: test_0001_is a module
1283
+ ----------------------------------------
1284
+  (0.0ms) rollback transaction
1285
+  (0.0ms) begin transaction
1286
+ -----------------------------------------------------------------------------
1287
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
1288
+ -----------------------------------------------------------------------------
1289
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1290
+  (0.0ms) rollback transaction
1291
+  (0.1ms) begin transaction
1292
+ --------------------------------------------------------------------------
1293
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1294
+ --------------------------------------------------------------------------
1295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1296
+  (0.1ms) rollback transaction
1297
+  (0.0ms) begin transaction
1298
+ --------------------------------------------------------------------------------------
1299
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1300
+ --------------------------------------------------------------------------------------
1301
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1302
+  (0.0ms) rollback transaction
1303
+  (0.0ms) begin transaction
1304
+ ------------------------------------------------------------------------
1305
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
1306
+ ------------------------------------------------------------------------
1307
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1308
+  (0.0ms) rollback transaction
1309
+  (0.0ms) begin transaction
1310
+ ------------------------------------------------------------
1311
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1312
+ ------------------------------------------------------------
1313
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1314
+  (0.0ms) rollback transaction
1315
+  (0.0ms) begin transaction
1316
+ ----------------------------------------------------------------------
1317
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1318
+ ----------------------------------------------------------------------
1319
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1320
+  (0.0ms) rollback transaction
1321
+  (0.0ms) begin transaction
1322
+ ---------------------------------------------------------------------------
1323
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1324
+ ---------------------------------------------------------------------------
1325
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1326
+  (0.0ms) rollback transaction
1327
+  (0.0ms) begin transaction
1328
+ ------------------------------------------------------------------------------
1329
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
1330
+ ------------------------------------------------------------------------------
1331
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1332
+  (0.0ms) rollback transaction
1333
+  (0.0ms) begin transaction
1334
+ -------------------------------------------------------------------------
1335
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
1336
+ -------------------------------------------------------------------------
1337
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1338
+  (0.0ms) rollback transaction
1339
+  (0.0ms) begin transaction
1340
+ ----------------------------------------------------------------------------
1341
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1342
+ ----------------------------------------------------------------------------
1343
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1344
+  (0.0ms) rollback transaction
1345
+  (0.0ms) begin transaction
1346
+ -----------------------------------------------------------------------
1347
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1348
+ -----------------------------------------------------------------------
1349
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1350
+  (0.1ms) rollback transaction
1351
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1352
+  (0.1ms) begin transaction
1353
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1354
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:07:49', '2015-02-12 02:07:49', 980190962)
1355
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:07:49', '2015-02-12 02:07:49', 298486374)
1356
+ Fixture Delete (0.1ms) DELETE FROM "users"
1357
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:07:49', '2015-02-12 02:07:49', 980190962)
1358
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:07:49', '2015-02-12 02:07:49', 298486374)
1359
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1360
+ Fixture Insert (0.3ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:07:49', '2015-02-12 02:07:49', 980190962)
1361
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:07:49', '2015-02-12 02:07:49', 298486374)
1362
+  (13.9ms) commit transaction
1363
+  (0.1ms) begin transaction
1364
+ --------------------------------------------------------------------
1365
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1366
+ --------------------------------------------------------------------
1367
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1368
+  (0.1ms) rollback transaction
1369
+  (0.0ms) begin transaction
1370
+ ------------------------------------------------------------------------
1371
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
1372
+ ------------------------------------------------------------------------
1373
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1374
+  (0.0ms) rollback transaction
1375
+  (0.0ms) begin transaction
1376
+ ------------------------------------------------------------------------------
1377
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
1378
+ ------------------------------------------------------------------------------
1379
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1380
+  (0.1ms) rollback transaction
1381
+  (0.0ms) begin transaction
1382
+ -----------------------------------------------------------------------
1383
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1384
+ -----------------------------------------------------------------------
1385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1386
+  (0.1ms) rollback transaction
1387
+  (0.0ms) begin transaction
1388
+ ----------------------------------------------------------------------------------
1389
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1390
+ ----------------------------------------------------------------------------------
1391
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1392
+  (0.1ms) rollback transaction
1393
+  (0.0ms) begin transaction
1394
+ ------------------------------------------------------------
1395
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1396
+ ------------------------------------------------------------
1397
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1398
+  (0.3ms) rollback transaction
1399
+  (0.0ms) begin transaction
1400
+ -----------------------------------------------------------------------------
1401
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1402
+ -----------------------------------------------------------------------------
1403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1404
+  (0.0ms) rollback transaction
1405
+  (0.0ms) begin transaction
1406
+ ---------------------------------------------------------------------------
1407
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
1408
+ ---------------------------------------------------------------------------
1409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1410
+  (0.0ms) rollback transaction
1411
+  (0.0ms) begin transaction
1412
+ -----------------------------------------------------------
1413
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1414
+ -----------------------------------------------------------
1415
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1416
+  (0.0ms) rollback transaction
1417
+  (0.0ms) begin transaction
1418
+ ---------------------------------------------------------
1419
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1420
+ ---------------------------------------------------------
1421
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1422
+  (0.0ms) rollback transaction
1423
+  (0.0ms) begin transaction
1424
+ ------------------------------------------------------------------------------------------
1425
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
1426
+ ------------------------------------------------------------------------------------------
1427
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1428
+  (0.1ms) rollback transaction
1429
+  (0.0ms) begin transaction
1430
+ ----------------------------------------------------------------------
1431
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1432
+ ----------------------------------------------------------------------
1433
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1434
+  (0.0ms) rollback transaction
1435
+  (0.0ms) begin transaction
1436
+ ---------------------------------------------------------------------------
1437
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1438
+ ---------------------------------------------------------------------------
1439
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1440
+  (0.0ms) rollback transaction
1441
+  (0.0ms) begin transaction
1442
+ --------------------------------------------------------------------------------------
1443
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1444
+ --------------------------------------------------------------------------------------
1445
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1446
+  (0.1ms) rollback transaction
1447
+  (0.4ms) begin transaction
1448
+ -----------------------------------------------------------------------------
1449
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
1450
+ -----------------------------------------------------------------------------
1451
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1452
+  (0.0ms) rollback transaction
1453
+  (0.0ms) begin transaction
1454
+ ----------------------------------------------------------------------------
1455
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1456
+ ----------------------------------------------------------------------------
1457
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1458
+  (0.0ms) rollback transaction
1459
+  (0.0ms) begin transaction
1460
+ --------------------------------------------------------------------------
1461
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1462
+ --------------------------------------------------------------------------
1463
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1464
+  (0.0ms) rollback transaction
1465
+  (0.0ms) begin transaction
1466
+ --------------------------------------------------------------
1467
+ PolyBelongsToTest: test_0008_reports User params name as :user
1468
+ --------------------------------------------------------------
1469
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1470
+  (0.0ms) rollback transaction
1471
+  (0.0ms) begin transaction
1472
+ ------------------------------------------------------------
1473
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1474
+ ------------------------------------------------------------
1475
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1476
+  (0.0ms) rollback transaction
1477
+  (0.0ms) begin transaction
1478
+ -------------------------------------------------------------------------
1479
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
1480
+ -------------------------------------------------------------------------
1481
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1482
+  (0.0ms) rollback transaction
1483
+  (0.0ms) begin transaction
1484
+ ----------------------------------------
1485
+ PolyBelongsToTest: test_0001_is a module
1486
+ ----------------------------------------
1487
+  (0.0ms) rollback transaction
1488
+  (0.3ms) begin transaction
1489
+ ---------------------------------------------------------------------------
1490
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1491
+ ---------------------------------------------------------------------------
1492
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1493
+  (0.0ms) rollback transaction
1494
+  (0.0ms) begin transaction
1495
+ ----------------------------------------------------------------------------
1496
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
1497
+ ----------------------------------------------------------------------------
1498
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1499
+  (0.0ms) rollback transaction
1500
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1501
+  (0.1ms) begin transaction
1502
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1503
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:08:16', '2015-02-12 02:08:16', 980190962)
1504
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:08:16', '2015-02-12 02:08:16', 298486374)
1505
+ Fixture Delete (0.1ms) DELETE FROM "users"
1506
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:08:16', '2015-02-12 02:08:16', 980190962)
1507
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:08:16', '2015-02-12 02:08:16', 298486374)
1508
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1509
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:08:16', '2015-02-12 02:08:16', 980190962)
1510
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:08:16', '2015-02-12 02:08:16', 298486374)
1511
+  (12.6ms) commit transaction
1512
+  (0.1ms) begin transaction
1513
+ -----------------------------------------------------------
1514
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1515
+ -----------------------------------------------------------
1516
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1517
+  (0.2ms) rollback transaction
1518
+  (0.0ms) begin transaction
1519
+ ------------------------------------------------------------------------------------------
1520
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
1521
+ ------------------------------------------------------------------------------------------
1522
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1523
+  (0.1ms) rollback transaction
1524
+  (0.0ms) begin transaction
1525
+ ------------------------------------------------------------------------------
1526
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
1527
+ ------------------------------------------------------------------------------
1528
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1529
+  (0.0ms) rollback transaction
1530
+  (0.0ms) begin transaction
1531
+ ----------------------------------------------------------------------------------
1532
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1533
+ ----------------------------------------------------------------------------------
1534
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1535
+  (0.1ms) rollback transaction
1536
+  (0.0ms) begin transaction
1537
+ ---------------------------------------------------------
1538
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1539
+ ---------------------------------------------------------
1540
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1541
+  (0.0ms) rollback transaction
1542
+  (0.0ms) begin transaction
1543
+ ---------------------------------------------------------------------------
1544
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1545
+ ---------------------------------------------------------------------------
1546
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1547
+  (0.0ms) rollback transaction
1548
+  (0.0ms) begin transaction
1549
+ --------------------------------------------------------------------
1550
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1551
+ --------------------------------------------------------------------
1552
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1553
+  (0.1ms) rollback transaction
1554
+  (0.0ms) begin transaction
1555
+ --------------------------------------------------------------------------
1556
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1557
+ --------------------------------------------------------------------------
1558
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1559
+  (0.1ms) rollback transaction
1560
+  (0.0ms) begin transaction
1561
+ ------------------------------------------------------------
1562
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1563
+ ------------------------------------------------------------
1564
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1565
+  (0.0ms) rollback transaction
1566
+  (0.0ms) begin transaction
1567
+ ---------------------------------------------------------------------------
1568
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1569
+ ---------------------------------------------------------------------------
1570
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1571
+  (0.1ms) rollback transaction
1572
+  (0.0ms) begin transaction
1573
+ ---------------------------------------------------------------------------
1574
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
1575
+ ---------------------------------------------------------------------------
1576
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1577
+  (0.0ms) rollback transaction
1578
+  (0.0ms) begin transaction
1579
+ ----------------------------------------------------------------------------
1580
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1581
+ ----------------------------------------------------------------------------
1582
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1583
+  (0.0ms) rollback transaction
1584
+  (0.0ms) begin transaction
1585
+ -------------------------------------------------------------------------
1586
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
1587
+ -------------------------------------------------------------------------
1588
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1589
+  (0.0ms) rollback transaction
1590
+  (0.0ms) begin transaction
1591
+ ------------------------------------------------------------------------
1592
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
1593
+ ------------------------------------------------------------------------
1594
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1595
+  (0.0ms) rollback transaction
1596
+  (0.0ms) begin transaction
1597
+ ----------------------------------------------------------------------------
1598
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
1599
+ ----------------------------------------------------------------------------
1600
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1601
+  (0.0ms) rollback transaction
1602
+  (0.0ms) begin transaction
1603
+ ----------------------------------------
1604
+ PolyBelongsToTest: test_0001_is a module
1605
+ ----------------------------------------
1606
+  (0.0ms) rollback transaction
1607
+  (0.0ms) begin transaction
1608
+ -----------------------------------------------------------------------
1609
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1610
+ -----------------------------------------------------------------------
1611
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1612
+  (0.0ms) rollback transaction
1613
+  (0.0ms) begin transaction
1614
+ --------------------------------------------------------------
1615
+ PolyBelongsToTest: test_0008_reports User params name as :user
1616
+ --------------------------------------------------------------
1617
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1618
+  (0.0ms) rollback transaction
1619
+  (0.0ms) begin transaction
1620
+ ------------------------------------------------------------
1621
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1622
+ ------------------------------------------------------------
1623
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1624
+  (0.0ms) rollback transaction
1625
+  (0.0ms) begin transaction
1626
+ --------------------------------------------------------------------------------------
1627
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1628
+ --------------------------------------------------------------------------------------
1629
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1630
+  (0.0ms) rollback transaction
1631
+  (0.0ms) begin transaction
1632
+ ----------------------------------------------------------------------
1633
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1634
+ ----------------------------------------------------------------------
1635
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1636
+  (0.0ms) rollback transaction
1637
+  (0.0ms) begin transaction
1638
+ -----------------------------------------------------------------------------
1639
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
1640
+ -----------------------------------------------------------------------------
1641
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1642
+  (0.0ms) rollback transaction
1643
+  (0.0ms) begin transaction
1644
+ -----------------------------------------------------------------------------
1645
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1646
+ -----------------------------------------------------------------------------
1647
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1648
+  (0.0ms) rollback transaction
1649
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1650
+  (0.1ms) begin transaction
1651
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1652
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:13:12', '2015-02-12 02:13:12', 980190962)
1653
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:13:12', '2015-02-12 02:13:12', 298486374)
1654
+ Fixture Delete (0.1ms) DELETE FROM "users"
1655
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:13:12', '2015-02-12 02:13:12', 980190962)
1656
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:13:12', '2015-02-12 02:13:12', 298486374)
1657
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1658
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:13:12', '2015-02-12 02:13:12', 980190962)
1659
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:13:12', '2015-02-12 02:13:12', 298486374)
1660
+  (22.1ms) commit transaction
1661
+  (0.1ms) begin transaction
1662
+ ---------------------------------------------------------------------------
1663
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1664
+ ---------------------------------------------------------------------------
1665
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1666
+  (0.1ms) rollback transaction
1667
+  (0.1ms) begin transaction
1668
+ --------------------------------------------------------------------------
1669
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1670
+ --------------------------------------------------------------------------
1671
+ User Load (0.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1672
+  (0.1ms) rollback transaction
1673
+  (0.0ms) begin transaction
1674
+ ------------------------------------------------------------------------------
1675
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
1676
+ ------------------------------------------------------------------------------
1677
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1678
+  (0.0ms) rollback transaction
1679
+  (0.0ms) begin transaction
1680
+ ----------------------------------------------------------------------
1681
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1682
+ ----------------------------------------------------------------------
1683
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1684
+  (0.1ms) rollback transaction
1685
+  (0.0ms) begin transaction
1686
+ ---------------------------------------------------------------------------
1687
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1688
+ ---------------------------------------------------------------------------
1689
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1690
+  (0.0ms) rollback transaction
1691
+  (0.1ms) begin transaction
1692
+ -----------------------------------------------------------
1693
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1694
+ -----------------------------------------------------------
1695
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1696
+  (0.1ms) rollback transaction
1697
+  (0.0ms) begin transaction
1698
+ -----------------------------------------------------------------------------
1699
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1700
+ -----------------------------------------------------------------------------
1701
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1702
+  (0.1ms) rollback transaction
1703
+  (0.0ms) begin transaction
1704
+ ------------------------------------------------------------
1705
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1706
+ ------------------------------------------------------------
1707
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1708
+  (0.0ms) rollback transaction
1709
+  (0.0ms) begin transaction
1710
+ -------------------------------------------------------------------------
1711
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
1712
+ -------------------------------------------------------------------------
1713
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1714
+  (0.1ms) rollback transaction
1715
+  (0.0ms) begin transaction
1716
+ ----------------------------------------------------------------------------
1717
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1718
+ ----------------------------------------------------------------------------
1719
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1720
+  (0.0ms) rollback transaction
1721
+  (0.0ms) begin transaction
1722
+ ------------------------------------------------------------
1723
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1724
+ ------------------------------------------------------------
1725
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1726
+  (0.0ms) rollback transaction
1727
+  (0.0ms) begin transaction
1728
+ ------------------------------------------------------------------------------------------
1729
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
1730
+ ------------------------------------------------------------------------------------------
1731
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1732
+  (0.0ms) rollback transaction
1733
+  (0.0ms) begin transaction
1734
+ --------------------------------------------------------------------
1735
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1736
+ --------------------------------------------------------------------
1737
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1738
+  (0.1ms) rollback transaction
1739
+  (0.0ms) begin transaction
1740
+ -----------------------------------------------------------------------
1741
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1742
+ -----------------------------------------------------------------------
1743
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1744
+  (0.0ms) rollback transaction
1745
+  (0.0ms) begin transaction
1746
+ ----------------------------------------------------------------------------
1747
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
1748
+ ----------------------------------------------------------------------------
1749
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1750
+  (0.0ms) rollback transaction
1751
+  (0.0ms) begin transaction
1752
+ ------------------------------------------------------------------------
1753
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
1754
+ ------------------------------------------------------------------------
1755
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1756
+  (0.0ms) rollback transaction
1757
+  (0.0ms) begin transaction
1758
+ ----------------------------------------
1759
+ PolyBelongsToTest: test_0001_is a module
1760
+ ----------------------------------------
1761
+  (0.0ms) rollback transaction
1762
+  (0.0ms) begin transaction
1763
+ ----------------------------------------------------------------------------------
1764
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1765
+ ----------------------------------------------------------------------------------
1766
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1767
+  (0.0ms) rollback transaction
1768
+  (0.0ms) begin transaction
1769
+ --------------------------------------------------------------------------------------
1770
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1771
+ --------------------------------------------------------------------------------------
1772
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1773
+  (0.2ms) rollback transaction
1774
+  (0.0ms) begin transaction
1775
+ ---------------------------------------------------------
1776
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1777
+ ---------------------------------------------------------
1778
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1779
+  (0.0ms) rollback transaction
1780
+  (0.0ms) begin transaction
1781
+ --------------------------------------------------------------
1782
+ PolyBelongsToTest: test_0008_reports User params name as :user
1783
+ --------------------------------------------------------------
1784
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1785
+  (0.1ms) rollback transaction
1786
+  (0.0ms) begin transaction
1787
+ ---------------------------------------------------------------------------
1788
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
1789
+ ---------------------------------------------------------------------------
1790
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1791
+  (0.0ms) rollback transaction
1792
+  (0.0ms) begin transaction
1793
+ -----------------------------------------------------------------------------
1794
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
1795
+ -----------------------------------------------------------------------------
1796
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1797
+  (0.0ms) rollback transaction
1798
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1799
+  (0.1ms) begin transaction
1800
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1801
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:14:19', '2015-02-12 02:14:19', 980190962)
1802
+ Fixture Delete (0.1ms) DELETE FROM "users"
1803
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:14:19', '2015-02-12 02:14:19', 980190962)
1804
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1805
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:14:19', '2015-02-12 02:14:19', 980190962)
1806
+  (12.4ms) commit transaction
1807
+  (0.8ms) begin transaction
1808
+ -----------------------------------------------------------
1809
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1810
+ -----------------------------------------------------------
1811
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1812
+  (0.1ms) rollback transaction
1813
+  (0.0ms) begin transaction
1814
+ --------------------------------------------------------------------------------------
1815
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1816
+ --------------------------------------------------------------------------------------
1817
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1818
+  (0.1ms) rollback transaction
1819
+  (0.0ms) begin transaction
1820
+ --------------------------------------------------------------
1821
+ PolyBelongsToTest: test_0008_reports User params name as :user
1822
+ --------------------------------------------------------------
1823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1824
+  (0.1ms) rollback transaction
1825
+  (0.1ms) begin transaction
1826
+ ------------------------------------------------------------------------------------------
1827
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
1828
+ ------------------------------------------------------------------------------------------
1829
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1830
+  (0.1ms) rollback transaction
1831
+  (0.0ms) begin transaction
1832
+ ----------------------------------------------------------------------------
1833
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
1834
+ ----------------------------------------------------------------------------
1835
+ Phone Load (0.3ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1836
+  (0.1ms) rollback transaction
1837
+  (0.1ms) begin transaction
1838
+ -----------------------------------------------------------------------------
1839
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
1840
+ -----------------------------------------------------------------------------
1841
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1842
+  (0.1ms) rollback transaction
1843
+  (0.1ms) begin transaction
1844
+ -----------------------------------------------------------------------------
1845
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1846
+ -----------------------------------------------------------------------------
1847
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1848
+  (0.0ms) rollback transaction
1849
+  (0.0ms) begin transaction
1850
+ ------------------------------------------------------------
1851
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1852
+ ------------------------------------------------------------
1853
+ Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1854
+  (0.0ms) rollback transaction
1855
+  (0.0ms) begin transaction
1856
+ --------------------------------------------------------------------
1857
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1858
+ --------------------------------------------------------------------
1859
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1860
+  (0.0ms) rollback transaction
1861
+  (0.0ms) begin transaction
1862
+ ------------------------------------------------------------------------
1863
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
1864
+ ------------------------------------------------------------------------
1865
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1866
+  (0.0ms) rollback transaction
1867
+  (0.0ms) begin transaction
1868
+ ---------------------------------------------------------
1869
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
1870
+ ---------------------------------------------------------
1871
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1872
+  (0.0ms) rollback transaction
1873
+  (0.0ms) begin transaction
1874
+ ---------------------------------------------------------------------------
1875
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1876
+ ---------------------------------------------------------------------------
1877
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1878
+  (0.0ms) rollback transaction
1879
+  (0.0ms) begin transaction
1880
+ ------------------------------------------------------------------------------
1881
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
1882
+ ------------------------------------------------------------------------------
1883
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1884
+  (0.0ms) rollback transaction
1885
+  (0.0ms) begin transaction
1886
+ ----------------------------------------------------------------------------
1887
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
1888
+ ----------------------------------------------------------------------------
1889
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1890
+  (0.0ms) rollback transaction
1891
+  (0.0ms) begin transaction
1892
+ ---------------------------------------------------------------------------
1893
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
1894
+ ---------------------------------------------------------------------------
1895
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1896
+  (0.0ms) rollback transaction
1897
+  (0.0ms) begin transaction
1898
+ ----------------------------------------------------------------------
1899
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
1900
+ ----------------------------------------------------------------------
1901
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1902
+  (0.0ms) rollback transaction
1903
+  (0.0ms) begin transaction
1904
+ --------------------------------------------------------------------------
1905
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1906
+ --------------------------------------------------------------------------
1907
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1908
+  (0.0ms) rollback transaction
1909
+  (0.0ms) begin transaction
1910
+ -------------------------------------------------------------------------
1911
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
1912
+ -------------------------------------------------------------------------
1913
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1914
+  (0.0ms) rollback transaction
1915
+  (0.0ms) begin transaction
1916
+ ----------------------------------------
1917
+ PolyBelongsToTest: test_0001_is a module
1918
+ ----------------------------------------
1919
+  (0.0ms) rollback transaction
1920
+  (0.0ms) begin transaction
1921
+ ----------------------------------------------------------------------------------
1922
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1923
+ ----------------------------------------------------------------------------------
1924
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1925
+  (0.0ms) rollback transaction
1926
+  (0.0ms) begin transaction
1927
+ ---------------------------------------------------------------------------
1928
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
1929
+ ---------------------------------------------------------------------------
1930
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1931
+  (0.0ms) rollback transaction
1932
+  (0.0ms) begin transaction
1933
+ ------------------------------------------------------------
1934
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
1935
+ ------------------------------------------------------------
1936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1937
+  (0.0ms) rollback transaction
1938
+  (0.0ms) begin transaction
1939
+ -----------------------------------------------------------------------
1940
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
1941
+ -----------------------------------------------------------------------
1942
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1943
+  (0.0ms) rollback transaction
1944
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
1945
+  (0.1ms) begin transaction
1946
+ Fixture Delete (0.2ms) DELETE FROM "phones"
1947
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:17:46', '2015-02-12 02:17:46', 980190962)
1948
+ Fixture Delete (0.1ms) DELETE FROM "users"
1949
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:17:46', '2015-02-12 02:17:46', 980190962)
1950
+ Fixture Delete (0.1ms) DELETE FROM "tags"
1951
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:17:46', '2015-02-12 02:17:46', 980190962)
1952
+  (18.1ms) commit transaction
1953
+  (0.1ms) begin transaction
1954
+ --------------------------------------------------------------------------
1955
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
1956
+ --------------------------------------------------------------------------
1957
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1958
+  (0.1ms) rollback transaction
1959
+  (0.0ms) begin transaction
1960
+ --------------------------------------------------------------------------------------
1961
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
1962
+ --------------------------------------------------------------------------------------
1963
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
1964
+  (0.1ms) rollback transaction
1965
+  (0.0ms) begin transaction
1966
+ ---------------------------------------------------------------------------
1967
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
1968
+ ---------------------------------------------------------------------------
1969
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1970
+  (0.1ms) rollback transaction
1971
+  (0.0ms) begin transaction
1972
+ ------------------------------------------------------------
1973
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
1974
+ ------------------------------------------------------------
1975
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1976
+  (0.0ms) rollback transaction
1977
+  (0.0ms) begin transaction
1978
+ -----------------------------------------------------------------------------
1979
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
1980
+ -----------------------------------------------------------------------------
1981
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
1982
+  (0.0ms) rollback transaction
1983
+  (0.4ms) begin transaction
1984
+ -----------------------------------------------------------
1985
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
1986
+ -----------------------------------------------------------
1987
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1988
+  (0.0ms) rollback transaction
1989
+  (0.0ms) begin transaction
1990
+ --------------------------------------------------------------------
1991
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
1992
+ --------------------------------------------------------------------
1993
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
1994
+  (0.0ms) rollback transaction
1995
+  (0.1ms) begin transaction
1996
+ ----------------------------------------------------------------------------------
1997
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
1998
+ ----------------------------------------------------------------------------------
1999
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2000
+  (0.1ms) rollback transaction
2001
+  (0.0ms) begin transaction
2002
+ ------------------------------------------------------------------------------
2003
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
2004
+ ------------------------------------------------------------------------------
2005
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2006
+  (0.0ms) rollback transaction
2007
+  (0.0ms) begin transaction
2008
+ ------------------------------------------------------------------------------------------
2009
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
2010
+ ------------------------------------------------------------------------------------------
2011
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2012
+  (0.0ms) rollback transaction
2013
+  (0.0ms) begin transaction
2014
+ -------------------------------------------------------------------------
2015
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
2016
+ -------------------------------------------------------------------------
2017
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2018
+  (0.0ms) rollback transaction
2019
+  (0.0ms) begin transaction
2020
+ ----------------------------------------
2021
+ PolyBelongsToTest: test_0001_is a module
2022
+ ----------------------------------------
2023
+  (0.0ms) rollback transaction
2024
+  (0.0ms) begin transaction
2025
+ ---------------------------------------------------------------------------
2026
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
2027
+ ---------------------------------------------------------------------------
2028
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2029
+  (0.0ms) rollback transaction
2030
+  (0.0ms) begin transaction
2031
+ ---------------------------------------------------------
2032
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
2033
+ ---------------------------------------------------------
2034
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2035
+  (0.0ms) rollback transaction
2036
+  (0.1ms) begin transaction
2037
+ ----------------------------------------------------------------------------
2038
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
2039
+ ----------------------------------------------------------------------------
2040
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2041
+  (0.0ms) rollback transaction
2042
+  (0.0ms) begin transaction
2043
+ ------------------------------------------------------------
2044
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
2045
+ ------------------------------------------------------------
2046
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2047
+  (0.0ms) rollback transaction
2048
+  (0.0ms) begin transaction
2049
+ ----------------------------------------------------------------------
2050
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
2051
+ ----------------------------------------------------------------------
2052
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2053
+  (0.0ms) rollback transaction
2054
+  (0.0ms) begin transaction
2055
+ -----------------------------------------------------------------------------
2056
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
2057
+ -----------------------------------------------------------------------------
2058
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2059
+  (0.0ms) rollback transaction
2060
+  (0.0ms) begin transaction
2061
+ ---------------------------------------------------------------------------
2062
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
2063
+ ---------------------------------------------------------------------------
2064
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2065
+  (0.0ms) rollback transaction
2066
+  (0.0ms) begin transaction
2067
+ -----------------------------------------------------------------------
2068
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
2069
+ -----------------------------------------------------------------------
2070
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2071
+  (0.0ms) rollback transaction
2072
+  (0.0ms) begin transaction
2073
+ --------------------------------------------------------------
2074
+ PolyBelongsToTest: test_0008_reports User params name as :user
2075
+ --------------------------------------------------------------
2076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2077
+  (0.0ms) rollback transaction
2078
+  (0.0ms) begin transaction
2079
+ ----------------------------------------------------------------------------
2080
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
2081
+ ----------------------------------------------------------------------------
2082
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2083
+  (0.0ms) rollback transaction
2084
+  (0.0ms) begin transaction
2085
+ ------------------------------------------------------------------------
2086
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
2087
+ ------------------------------------------------------------------------
2088
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2089
+  (0.0ms) rollback transaction
2090
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2091
+  (0.1ms) begin transaction
2092
+ Fixture Delete (0.2ms) DELETE FROM "phones"
2093
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 02:52:38', '2015-02-12 02:52:38', 980190962)
2094
+ Fixture Delete (0.1ms) DELETE FROM "users"
2095
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 02:52:38', '2015-02-12 02:52:38', 980190962)
2096
+ Fixture Delete (0.1ms) DELETE FROM "tags"
2097
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 02:52:38', '2015-02-12 02:52:38', 980190962)
2098
+  (13.1ms) commit transaction
2099
+  (0.1ms) begin transaction
2100
+ ------------------------------------------------------------
2101
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
2102
+ ------------------------------------------------------------
2103
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2104
+  (0.1ms) rollback transaction
2105
+  (0.1ms) begin transaction
2106
+ ------------------------------------------------------------------------------
2107
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
2108
+ ------------------------------------------------------------------------------
2109
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2110
+  (0.1ms) rollback transaction
2111
+  (0.0ms) begin transaction
2112
+ ----------------------------------------------------------------------------
2113
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
2114
+ ----------------------------------------------------------------------------
2115
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2116
+  (0.1ms) rollback transaction
2117
+  (0.1ms) begin transaction
2118
+ ---------------------------------------------------------------------------
2119
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
2120
+ ---------------------------------------------------------------------------
2121
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2122
+  (0.0ms) rollback transaction
2123
+  (0.0ms) begin transaction
2124
+ ----------------------------------------------------------------------------------
2125
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
2126
+ ----------------------------------------------------------------------------------
2127
+ Phone Load (0.5ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2128
+  (0.1ms) rollback transaction
2129
+  (0.0ms) begin transaction
2130
+ ---------------------------------------------------------
2131
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
2132
+ ---------------------------------------------------------
2133
+ Phone Load (0.5ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2134
+  (0.0ms) rollback transaction
2135
+  (0.0ms) begin transaction
2136
+ ----------------------------------------------------------------------------
2137
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
2138
+ ----------------------------------------------------------------------------
2139
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2140
+  (0.0ms) rollback transaction
2141
+  (0.0ms) begin transaction
2142
+ -------------------------------------------------------------------------
2143
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
2144
+ -------------------------------------------------------------------------
2145
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2146
+  (0.1ms) rollback transaction
2147
+  (0.0ms) begin transaction
2148
+ -----------------------------------------------------------------------------
2149
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
2150
+ -----------------------------------------------------------------------------
2151
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2152
+  (0.0ms) rollback transaction
2153
+  (0.0ms) begin transaction
2154
+ --------------------------------------------------------------------------
2155
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
2156
+ --------------------------------------------------------------------------
2157
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2158
+  (0.0ms) rollback transaction
2159
+  (0.0ms) begin transaction
2160
+ -----------------------------------------------------------------------------
2161
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
2162
+ -----------------------------------------------------------------------------
2163
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2164
+  (0.0ms) rollback transaction
2165
+  (0.0ms) begin transaction
2166
+ --------------------------------------------------------------------------------------
2167
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
2168
+ --------------------------------------------------------------------------------------
2169
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2170
+  (0.0ms) rollback transaction
2171
+  (0.0ms) begin transaction
2172
+ -----------------------------------------------------------------------
2173
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
2174
+ -----------------------------------------------------------------------
2175
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2176
+  (0.0ms) rollback transaction
2177
+  (0.0ms) begin transaction
2178
+ ------------------------------------------------------------------------
2179
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
2180
+ ------------------------------------------------------------------------
2181
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2182
+  (0.0ms) rollback transaction
2183
+  (0.0ms) begin transaction
2184
+ --------------------------------------------------------------
2185
+ PolyBelongsToTest: test_0008_reports User params name as :user
2186
+ --------------------------------------------------------------
2187
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2188
+  (0.0ms) rollback transaction
2189
+  (0.0ms) begin transaction
2190
+ ---------------------------------------------------------------------------
2191
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
2192
+ ---------------------------------------------------------------------------
2193
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2194
+  (0.0ms) rollback transaction
2195
+  (0.0ms) begin transaction
2196
+ ---------------------------------------------------------------------------
2197
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
2198
+ ---------------------------------------------------------------------------
2199
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2200
+  (0.0ms) rollback transaction
2201
+  (0.0ms) begin transaction
2202
+ --------------------------------------------------------------------
2203
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
2204
+ --------------------------------------------------------------------
2205
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2206
+  (0.0ms) rollback transaction
2207
+  (0.0ms) begin transaction
2208
+ ----------------------------------------------------------------------
2209
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
2210
+ ----------------------------------------------------------------------
2211
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2212
+  (0.0ms) rollback transaction
2213
+  (0.0ms) begin transaction
2214
+ ------------------------------------------------------------
2215
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
2216
+ ------------------------------------------------------------
2217
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2218
+  (0.1ms) rollback transaction
2219
+  (0.1ms) begin transaction
2220
+ -----------------------------------------------------------
2221
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
2222
+ -----------------------------------------------------------
2223
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2224
+  (0.0ms) rollback transaction
2225
+  (0.0ms) begin transaction
2226
+ ----------------------------------------
2227
+ PolyBelongsToTest: test_0001_is a module
2228
+ ----------------------------------------
2229
+  (0.0ms) rollback transaction
2230
+  (0.0ms) begin transaction
2231
+ ------------------------------------------------------------------------------------------
2232
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
2233
+ ------------------------------------------------------------------------------------------
2234
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2235
+  (0.0ms) rollback transaction
2236
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
2237
+  (0.1ms) begin transaction
2238
+ Fixture Delete (0.2ms) DELETE FROM "phones"
2239
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 03:01:48', '2015-02-12 03:01:48', 980190962)
2240
+ Fixture Delete (0.1ms) DELETE FROM "users"
2241
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 03:01:48', '2015-02-12 03:01:48', 980190962)
2242
+ Fixture Delete (0.1ms) DELETE FROM "tags"
2243
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 03:01:48', '2015-02-12 03:01:48', 980190962)
2244
+  (28.2ms) commit transaction
2245
+  (0.1ms) begin transaction
2246
+ ---------------------------------------------------------------------------
2247
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
2248
+ ---------------------------------------------------------------------------
2249
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2250
+  (0.1ms) rollback transaction
2251
+  (0.0ms) begin transaction
2252
+ ----------------------------------------------------------------------------
2253
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
2254
+ ----------------------------------------------------------------------------
2255
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2256
+  (0.1ms) rollback transaction
2257
+  (0.0ms) begin transaction
2258
+ ------------------------------------------------------------
2259
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
2260
+ ------------------------------------------------------------
2261
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2262
+  (0.0ms) rollback transaction
2263
+  (0.4ms) begin transaction
2264
+ ----------------------------------------------------------------------
2265
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
2266
+ ----------------------------------------------------------------------
2267
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2268
+  (0.1ms) rollback transaction
2269
+  (0.0ms) begin transaction
2270
+ ------------------------------------------------------------
2271
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
2272
+ ------------------------------------------------------------
2273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2274
+  (0.0ms) rollback transaction
2275
+  (0.0ms) begin transaction
2276
+ ----------------------------------------------------------------------------
2277
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
2278
+ ----------------------------------------------------------------------------
2279
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2280
+  (0.0ms) rollback transaction
2281
+  (0.0ms) begin transaction
2282
+ -----------------------------------------------------------------------------
2283
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
2284
+ -----------------------------------------------------------------------------
2285
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2286
+  (0.0ms) rollback transaction
2287
+  (0.0ms) begin transaction
2288
+ ----------------------------------------
2289
+ PolyBelongsToTest: test_0001_is a module
2290
+ ----------------------------------------
2291
+  (0.0ms) rollback transaction
2292
+  (0.0ms) begin transaction
2293
+ ---------------------------------------------------------
2294
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
2295
+ ---------------------------------------------------------
2296
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2297
+  (0.0ms) rollback transaction
2298
+  (0.0ms) begin transaction
2299
+ -----------------------------------------------------------------------------
2300
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
2301
+ -----------------------------------------------------------------------------
2302
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2303
+  (0.0ms) rollback transaction
2304
+  (0.0ms) begin transaction
2305
+ ---------------------------------------------------------------------------
2306
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
2307
+ ---------------------------------------------------------------------------
2308
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2309
+  (0.3ms) rollback transaction
2310
+  (0.0ms) begin transaction
2311
+ --------------------------------------------------------------
2312
+ PolyBelongsToTest: test_0008_reports User params name as :user
2313
+ --------------------------------------------------------------
2314
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2315
+  (0.0ms) rollback transaction
2316
+  (0.0ms) begin transaction
2317
+ ------------------------------------------------------------------------------
2318
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
2319
+ ------------------------------------------------------------------------------
2320
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2321
+  (0.0ms) rollback transaction
2322
+  (0.0ms) begin transaction
2323
+ ------------------------------------------------------------------------------------------
2324
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
2325
+ ------------------------------------------------------------------------------------------
2326
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2327
+  (0.0ms) rollback transaction
2328
+  (0.0ms) begin transaction
2329
+ -------------------------------------------------------------------------
2330
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
2331
+ -------------------------------------------------------------------------
2332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2333
+  (0.0ms) rollback transaction
2334
+  (0.0ms) begin transaction
2335
+ -----------------------------------------------------------
2336
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
2337
+ -----------------------------------------------------------
2338
+ Tag Load (0.4ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2339
+  (0.0ms) rollback transaction
2340
+  (0.0ms) begin transaction
2341
+ --------------------------------------------------------------------------------------
2342
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
2343
+ --------------------------------------------------------------------------------------
2344
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2345
+  (0.0ms) rollback transaction
2346
+  (0.1ms) begin transaction
2347
+ ---------------------------------------------------------------------------
2348
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
2349
+ ---------------------------------------------------------------------------
2350
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2351
+  (0.0ms) rollback transaction
2352
+  (0.0ms) begin transaction
2353
+ --------------------------------------------------------------------------
2354
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
2355
+ --------------------------------------------------------------------------
2356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2357
+  (0.0ms) rollback transaction
2358
+  (0.0ms) begin transaction
2359
+ --------------------------------------------------------------------
2360
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
2361
+ --------------------------------------------------------------------
2362
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2363
+  (0.0ms) rollback transaction
2364
+  (0.0ms) begin transaction
2365
+ -----------------------------------------------------------------------
2366
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
2367
+ -----------------------------------------------------------------------
2368
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2369
+  (0.0ms) rollback transaction
2370
+  (0.0ms) begin transaction
2371
+ ------------------------------------------------------------------------
2372
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
2373
+ ------------------------------------------------------------------------
2374
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2375
+  (0.1ms) rollback transaction
2376
+  (0.0ms) begin transaction
2377
+ ----------------------------------------------------------------------------------
2378
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
2379
+ ----------------------------------------------------------------------------------
2380
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2381
+  (0.0ms) rollback transaction
2382
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
2383
+  (0.1ms) begin transaction
2384
+ Fixture Delete (0.2ms) DELETE FROM "phones"
2385
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "created_at", "updated_at", "id") VALUES (1, 'User', '2015-02-12 03:02:49', '2015-02-12 03:02:49', 980190962)
2386
+ Fixture Delete (0.1ms) DELETE FROM "users"
2387
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-12 03:02:49', '2015-02-12 03:02:49', 980190962)
2388
+ Fixture Delete (0.1ms) DELETE FROM "tags"
2389
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "created_at", "updated_at", "id") VALUES (1, '2015-02-12 03:02:49', '2015-02-12 03:02:49', 980190962)
2390
+  (20.5ms) commit transaction
2391
+  (0.1ms) begin transaction
2392
+ -----------------------------------------------------------------------------
2393
+ PolyBelongsToTest: test_0015_reports User belongs to field type symbol as nil
2394
+ -----------------------------------------------------------------------------
2395
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2396
+  (0.1ms) rollback transaction
2397
+  (0.0ms) begin transaction
2398
+ -----------------------------------------------------------------------
2399
+ PolyBelongsToTest: test_0018_reports User belongs to relation id as nil
2400
+ -----------------------------------------------------------------------
2401
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2402
+  (0.0ms) rollback transaction
2403
+  (0.0ms) begin transaction
2404
+ ---------------------------------------------------------------------------
2405
+ PolyBelongsToTest: test_0006_reports Tag belongs to relation table as :user
2406
+ ---------------------------------------------------------------------------
2407
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2408
+  (0.4ms) rollback transaction
2409
+  (0.0ms) begin transaction
2410
+ ----------------------------------------------------------------------------
2411
+ PolyBelongsToTest: test_0010_reports Phone params name as :phones_attributes
2412
+ ----------------------------------------------------------------------------
2413
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2414
+  (0.1ms) rollback transaction
2415
+  (0.0ms) begin transaction
2416
+ -----------------------------------------------------------
2417
+ PolyBelongsToTest: test_0003_reports Tag as not polymorphic
2418
+ -----------------------------------------------------------
2419
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2420
+  (0.0ms) rollback transaction
2421
+  (0.4ms) begin transaction
2422
+ --------------------------------------------------------------------------
2423
+ PolyBelongsToTest: test_0005_reports User belongs to relation table as nil
2424
+ --------------------------------------------------------------------------
2425
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2426
+  (0.0ms) rollback transaction
2427
+  (0.0ms) begin transaction
2428
+ ---------------------------------------------------------
2429
+ PolyBelongsToTest: test_0004_reports Phone as polymorphic
2430
+ ---------------------------------------------------------
2431
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2432
+  (0.4ms) rollback transaction
2433
+  (0.0ms) begin transaction
2434
+ ----------------------------------------------------------------------------------
2435
+ PolyBelongsToTest: test_0007_reports Phone belongs to relation table as :phoneable
2436
+ ----------------------------------------------------------------------------------
2437
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2438
+  (0.0ms) rollback transaction
2439
+  (0.0ms) begin transaction
2440
+ ----------------------------------------------------------------------
2441
+ PolyBelongsToTest: test_0020_reports Phone belongs to relation id as 1
2442
+ ----------------------------------------------------------------------
2443
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2444
+  (0.0ms) rollback transaction
2445
+  (0.0ms) begin transaction
2446
+ ------------------------------------------------------------------------------
2447
+ PolyBelongsToTest: test_0013_reports Tag belongs to field id symbol as :tag_id
2448
+ ------------------------------------------------------------------------------
2449
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2450
+  (0.0ms) rollback transaction
2451
+  (0.0ms) begin transaction
2452
+ --------------------------------------------------------------------------------------
2453
+ PolyBelongsToTest: test_0014_reports Phone belongs to field id symbol as :phoneable_id
2454
+ --------------------------------------------------------------------------------------
2455
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2456
+  (0.0ms) rollback transaction
2457
+  (0.0ms) begin transaction
2458
+ ----------------------------------------
2459
+ PolyBelongsToTest: test_0001_is a module
2460
+ ----------------------------------------
2461
+  (0.0ms) rollback transaction
2462
+  (0.0ms) begin transaction
2463
+ ------------------------------------------------------------
2464
+ PolyBelongsToTest: test_0009_reports Tag params name as :tag
2465
+ ------------------------------------------------------------
2466
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2467
+  (0.0ms) rollback transaction
2468
+  (0.0ms) begin transaction
2469
+ ---------------------------------------------------------------------------
2470
+ PolyBelongsToTest: test_0012_reports User belongs to field id symbol as nil
2471
+ ---------------------------------------------------------------------------
2472
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2473
+  (0.0ms) rollback transaction
2474
+  (0.0ms) begin transaction
2475
+ ------------------------------------------------------------
2476
+ PolyBelongsToTest: test_0002_reports User as not polymorphic
2477
+ ------------------------------------------------------------
2478
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2479
+  (0.0ms) rollback transaction
2480
+  (0.0ms) begin transaction
2481
+ ------------------------------------------------------------------------------------------
2482
+ PolyBelongsToTest: test_0017_reports Phone belongs to field type symbol as :phoneable_type
2483
+ ------------------------------------------------------------------------------------------
2484
+ Phone Load (0.3ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2485
+  (0.0ms) rollback transaction
2486
+  (0.0ms) begin transaction
2487
+ --------------------------------------------------------------------
2488
+ PolyBelongsToTest: test_0019_reports Tag belongs to relation id as 1
2489
+ --------------------------------------------------------------------
2490
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2491
+  (0.0ms) rollback transaction
2492
+  (0.2ms) begin transaction
2493
+ --------------------------------------------------------------
2494
+ PolyBelongsToTest: test_0008_reports User params name as :user
2495
+ --------------------------------------------------------------
2496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2497
+  (0.0ms) rollback transaction
2498
+  (0.0ms) begin transaction
2499
+ ---------------------------------------------------------------------------
2500
+ PolyBelongsToTest: test_0011_reports Phone params name with false as :phone
2501
+ ---------------------------------------------------------------------------
2502
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2503
+  (0.0ms) rollback transaction
2504
+  (0.0ms) begin transaction
2505
+ ----------------------------------------------------------------------------
2506
+ PolyBelongsToTest: test_0016_reports Tag belongs to field type symbol as nil
2507
+ ----------------------------------------------------------------------------
2508
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2509
+  (0.0ms) rollback transaction
2510
+  (0.2ms) begin transaction
2511
+ ------------------------------------------------------------------------
2512
+ PolyBelongsToTest: test_0022_reports Tag belongs to relation type as nil
2513
+ ------------------------------------------------------------------------
2514
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 980190962]]
2515
+  (0.0ms) rollback transaction
2516
+  (0.0ms) begin transaction
2517
+ -------------------------------------------------------------------------
2518
+ PolyBelongsToTest: test_0021_reports User belongs to relation type as nil
2519
+ -------------------------------------------------------------------------
2520
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 980190962]]
2521
+  (0.0ms) rollback transaction
2522
+  (0.0ms) begin transaction
2523
+ -----------------------------------------------------------------------------
2524
+ PolyBelongsToTest: test_0023_reports Phone belongs to relation type as 'User'
2525
+ -----------------------------------------------------------------------------
2526
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 980190962]]
2527
+  (0.1ms) rollback transaction