poly_belongs_to 0.2.0 → 0.2.1

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.
@@ -1,3 +1,4 @@
1
1
  module PolyBelongsTo
2
- VERSION = "0.2.0"
2
+ # VERSION follows symantic versioning rules
3
+ VERSION = "0.2.1"
3
4
  end
Binary file
@@ -320244,3 +320244,2217 @@ PolyBelongsTo::SingletonSet: test_0006_says false for unflagged items
320244
320244
  ---------------------------------------------------------------------
320245
320245
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320246
320246
   (0.1ms) rollback transaction
320247
+  (0.1ms) begin transaction
320248
+ SQL (3.5ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320249
+  (12.8ms) commit transaction
320250
+  (0.1ms) begin transaction
320251
+ SQL (0.7ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 136], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320252
+  (17.1ms) commit transaction
320253
+  (0.1ms) begin transaction
320254
+ SQL (0.4ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 136], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320255
+  (17.1ms) commit transaction
320256
+  (0.1ms) begin transaction
320257
+ SQL (0.3ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 136], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320258
+  (23.7ms) commit transaction
320259
+  (0.1ms) begin transaction
320260
+ SQL (0.3ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = 136 [["delta_id", 136], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320261
+  (18.2ms) commit transaction
320262
+  (0.1ms) begin transaction
320263
+ Fixture Delete (0.1ms) DELETE FROM "squishies"
320264
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 576421514, 'Address', 761411935)
320265
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 458139734, 'GeoLocation', 343404421)
320266
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 396855775, 'Address', 1057142427)
320267
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 783441669, 'GeoLocation', 102195269)
320268
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 106545386, 'Address', 633598004)
320269
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 1061951038, 'GeoLocation', 483796712)
320270
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
320271
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'a649edbc68ae50a3083e41a41f89faea', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 761411935)
320272
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '9dd93394a285c34ea9a6c0676f463b48', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 1057142427)
320273
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '02d01aac3c41a40796fa786a56a5fe8a', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 633598004)
320274
+ Fixture Delete (0.1ms) DELETE FROM "photos"
320275
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'bceef3388df42961ff199dd68ab0f8cf', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 775134066)
320276
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '7c89c472b2c049469da33a549df7950b', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 971855462)
320277
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '93549359c797d7081943a27b6759b83e', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 1032612456)
320278
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
320279
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '13f60774460fb36bdf1545f3357d9057', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 261299535)
320280
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '1dac43cd1c0715b620b246e0dbd9ab06', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 478996145)
320281
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '425e977841d7d40915ac77f130e3edd8', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 966629572)
320282
+ Fixture Delete (0.1ms) DELETE FROM "tires"
320283
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 438300604, 336964236, 849808553)
320284
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 51822084, 336964236, 849808553)
320285
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 873565849, 336964236, 849808553)
320286
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 712317748, 336964236, 849808553)
320287
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
320288
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'a64a5d2bcc7c6b066f00f911380bd546', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 343404421)
320289
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, 'a5b5d82f58d8ef2be168943738a4378a', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 102195269)
320290
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '892798882d444e59673a7ead015ef103', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 483796712)
320291
+ Fixture Delete (0.1ms) DELETE FROM "phones"
320292
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '5fd0322f6c06edcdaaf427eb88441448', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 1053526200)
320293
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '2c5ae30546fb75bf8115542245d57c4e', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 689259936)
320294
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'efc76ae290c7a5d942c0fdb57d9e8936', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 762608046)
320295
+ Fixture Delete (0.1ms) DELETE FROM "users"
320296
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-03-30 01:52:25', '2015-03-30 01:52:25', 902541635)
320297
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-03-30 01:52:25', '2015-03-30 01:52:25', 380377255)
320298
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-03-30 01:52:25', '2015-03-30 01:52:25', 619379998)
320299
+ Fixture Delete (0.1ms) DELETE FROM "cars"
320300
+ Fixture Insert (0.1ms) INSERT INTO "cars" ("content", "created_at", "updated_at", "id", "user_id") VALUES ('MyString', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 421646738, 336964236)
320301
+ Fixture Delete (0.1ms) DELETE FROM "tags"
320302
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'c7b351a65f5547545af4352ea0c18846', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 884173432)
320303
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'd37d14b91e74496e937f49b85e944d47', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 1035759634)
320304
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'cfb60f79c71547c36d403dd3e8e64e3c', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 471587404)
320305
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
320306
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '6ab91c3271e6272af99c0ad75dfb41cd', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 819246218)
320307
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '0a9c4c7ebbe7b40a3d53e9debc622fa5', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 970698464)
320308
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'df1dcfdb0d6f35e1badcef9fcf9a8618', '2015-03-30 01:52:25', '2015-03-30 01:52:25', 410780858)
320309
+  (14.7ms) commit transaction
320310
+  (0.1ms) begin transaction
320311
+ ------------------------------------------
320312
+ PolyBelongsTo::Core: test_0001_is a module
320313
+ ------------------------------------------
320314
+  (0.1ms) rollback transaction
320315
+  (0.1ms) begin transaction
320316
+ -------------------------------------------------------------
320317
+ PolyBelongsTo::Core: test_0002_#poly? User as not polymorphic
320318
+ -------------------------------------------------------------
320319
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320320
+  (0.1ms) rollback transaction
320321
+  (0.0ms) begin transaction
320322
+ ------------------------------------------------------------
320323
+ PolyBelongsTo::Core: test_0003_#poly? Tag as not polymorphic
320324
+ ------------------------------------------------------------
320325
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320326
+  (0.1ms) rollback transaction
320327
+  (0.0ms) begin transaction
320328
+ ----------------------------------------------------------
320329
+ PolyBelongsTo::Core: test_0004_#poly? Phone as polymorphic
320330
+ ----------------------------------------------------------
320331
+ Phone Load (0.3ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320332
+  (0.1ms) rollback transaction
320333
+  (0.0ms) begin transaction
320334
+ ----------------------------------------------------------------
320335
+ PolyBelongsTo::Core: test_0005_#pbt User belongs to table as nil
320336
+ ----------------------------------------------------------------
320337
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320338
+  (0.0ms) rollback transaction
320339
+  (0.0ms) begin transaction
320340
+ -----------------------------------------------------------------
320341
+ PolyBelongsTo::Core: test_0006_#pbt Tag belongs to table as :user
320342
+ -----------------------------------------------------------------
320343
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320344
+  (0.0ms) rollback transaction
320345
+  (0.0ms) begin transaction
320346
+ ------------------------------------------------------------------------
320347
+ PolyBelongsTo::Core: test_0007_#pbt Phone belongs to table as :phoneable
320348
+ ------------------------------------------------------------------------
320349
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320350
+  (0.0ms) rollback transaction
320351
+  (0.0ms) begin transaction
320352
+ -----------------------------------------------------
320353
+ PolyBelongsTo::Core: test_0008_#pbts multiple parents
320354
+ -----------------------------------------------------
320355
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."id" = ? LIMIT 1 [["id", 438300604]]
320356
+  (0.1ms) rollback transaction
320357
+  (0.0ms) begin transaction
320358
+ -------------------------------------------------------------------------
320359
+ PolyBelongsTo::Core: test_0009_#pbt_params_name User params name as :user
320360
+ -------------------------------------------------------------------------
320361
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320362
+  (0.0ms) rollback transaction
320363
+  (0.0ms) begin transaction
320364
+ -----------------------------------------------------------------------
320365
+ PolyBelongsTo::Core: test_0010_#pbt_params_name Tag params name as :tag
320366
+ -----------------------------------------------------------------------
320367
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320368
+  (0.0ms) rollback transaction
320369
+  (0.0ms) begin transaction
320370
+ ---------------------------------------------------------------------------------------
320371
+ PolyBelongsTo::Core: test_0011_#pbt_params_name Phone params name as :phones_attributes
320372
+ ---------------------------------------------------------------------------------------
320373
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320374
+  (0.0ms) rollback transaction
320375
+  (0.0ms) begin transaction
320376
+ --------------------------------------------------------------------------------------
320377
+ PolyBelongsTo::Core: test_0012_#pbt_params_name Phone params name with false as :phone
320378
+ --------------------------------------------------------------------------------------
320379
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320380
+  (0.0ms) rollback transaction
320381
+  (0.0ms) begin transaction
320382
+ ---------------------------------------------------------------------------------
320383
+ PolyBelongsTo::Core: test_0013_#pbt_id_sym User belongs to field id symbol as nil
320384
+ ---------------------------------------------------------------------------------
320385
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320386
+  (0.1ms) rollback transaction
320387
+  (0.0ms) begin transaction
320388
+ ------------------------------------------------------------------------------------
320389
+ PolyBelongsTo::Core: test_0014_#pbt_id_sym Tag belongs to field id symbol as :tag_id
320390
+ ------------------------------------------------------------------------------------
320391
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320392
+  (0.0ms) rollback transaction
320393
+  (0.0ms) begin transaction
320394
+ --------------------------------------------------------------------------------------------
320395
+ PolyBelongsTo::Core: test_0015_#pbt_id_sym Phone belongs to field id symbol as :phoneable_id
320396
+ --------------------------------------------------------------------------------------------
320397
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320398
+  (0.0ms) rollback transaction
320399
+  (0.0ms) begin transaction
320400
+ -------------------------------------------------------------------------------------
320401
+ PolyBelongsTo::Core: test_0016_#pbt_type_sym User belongs to field type symbol as nil
320402
+ -------------------------------------------------------------------------------------
320403
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320404
+  (0.0ms) rollback transaction
320405
+  (0.0ms) begin transaction
320406
+ ------------------------------------------------------------------------------------
320407
+ PolyBelongsTo::Core: test_0017_#pbt_type_sym Tag belongs to field type symbol as nil
320408
+ ------------------------------------------------------------------------------------
320409
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320410
+  (0.0ms) rollback transaction
320411
+  (0.0ms) begin transaction
320412
+ --------------------------------------------------------------------------------------------------
320413
+ PolyBelongsTo::Core: test_0018_#pbt_type_sym Phone belongs to field type symbol as :phoneable_type
320414
+ --------------------------------------------------------------------------------------------------
320415
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320416
+  (0.1ms) rollback transaction
320417
+  (0.0ms) begin transaction
320418
+ ----------------------------------------------------------------
320419
+ PolyBelongsTo::Core: test_0019_#pbt_id User belongs to id as nil
320420
+ ----------------------------------------------------------------
320421
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320422
+  (0.1ms) rollback transaction
320423
+  (0.0ms) begin transaction
320424
+ ---------------------------------------------------------------------
320425
+ PolyBelongsTo::Core: test_0020_#pbt_id Tag belongs to id as user's id
320426
+ ---------------------------------------------------------------------
320427
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320428
+  (0.0ms) rollback transaction
320429
+  (0.0ms) begin transaction
320430
+ -------------------------------------------------------------------------------
320431
+ PolyBelongsTo::Core: test_0021_#pbt_id Phone belongs to id as user's profile id
320432
+ -------------------------------------------------------------------------------
320433
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320434
+  (0.0ms) rollback transaction
320435
+  (0.0ms) begin transaction
320436
+ --------------------------------------------------------------------
320437
+ PolyBelongsTo::Core: test_0022_#pbt_type User belongs to type as nil
320438
+ --------------------------------------------------------------------
320439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320440
+  (0.0ms) rollback transaction
320441
+  (0.0ms) begin transaction
320442
+ -------------------------------------------------------------------
320443
+ PolyBelongsTo::Core: test_0023_#pbt_type Tag belongs to type as nil
320444
+ -------------------------------------------------------------------
320445
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
320446
+  (0.0ms) rollback transaction
320447
+  (0.0ms) begin transaction
320448
+ ---------------------------------------------------------------------------
320449
+ PolyBelongsTo::Core: test_0024_#pbt_type Phone belongs to type as 'Profile'
320450
+ ---------------------------------------------------------------------------
320451
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
320452
+  (0.1ms) rollback transaction
320453
+  (0.0ms) begin transaction
320454
+ ------------------------------------------------------------------
320455
+ PolyBelongsTo::Core: test_0025_#pbt_parent User parent returns nil
320456
+ ------------------------------------------------------------------
320457
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320458
+  (0.0ms) rollback transaction
320459
+  (0.0ms) begin transaction
320460
+ ---------------------------------------------------------------------------
320461
+ PolyBelongsTo::Core: test_0026_#pbt_parent Tag parent returns user instance
320462
+ ---------------------------------------------------------------------------
320463
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320464
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320465
+  (0.1ms) rollback transaction
320466
+  (0.1ms) begin transaction
320467
+ -----------------------------------------------------------------------
320468
+ PolyBelongsTo::Core: test_0027_#pbt_parent Phone parent returns profile
320469
+ -----------------------------------------------------------------------
320470
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320471
+  (0.1ms) SAVEPOINT active_record_1
320472
+ SQL (0.3ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320473
+ SQL (0.2ms) INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320474
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320475
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
320476
+  (0.1ms) rollback transaction
320477
+  (0.0ms) begin transaction
320478
+ ----------------------------------------------------------------------
320479
+ PolyBelongsTo::Core: test_0028_#pbt_parent Profile parent returns user
320480
+ ----------------------------------------------------------------------
320481
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320482
+  (0.1ms) SAVEPOINT active_record_1
320483
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320484
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320485
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320486
+  (0.1ms) rollback transaction
320487
+  (0.0ms) begin transaction
320488
+ ----------------------------------------------------------------------------------------------
320489
+ PolyBelongsTo::Core: test_0029_#pbt_parent returns nil if no ID is set for parent relationship
320490
+ ----------------------------------------------------------------------------------------------
320491
+  (0.0ms) SAVEPOINT active_record_1
320492
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320493
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320494
+  (0.1ms) rollback transaction
320495
+  (0.0ms) begin transaction
320496
+ -------------------------------------------------------------------------------------------------------------------------
320497
+ PolyBelongsTo::Core: test_0030_#pbt_top_parent climbs up belongs_to hierarchy to the top; polymorphic relationships first
320498
+ -------------------------------------------------------------------------------------------------------------------------
320499
+  (0.0ms) SAVEPOINT active_record_1
320500
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320501
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320502
+  (0.0ms) SAVEPOINT active_record_1
320503
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320504
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320505
+  (0.0ms) SAVEPOINT active_record_1
320506
+ SQL (0.2ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320507
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320508
+  (0.1ms) SAVEPOINT active_record_1
320509
+ SQL (0.2ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320510
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320511
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320512
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320513
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320514
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320515
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320516
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320517
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320518
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320519
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320520
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320521
+  (0.2ms) rollback transaction
320522
+  (0.0ms) begin transaction
320523
+ ------------------------------------------------------------------------------------------
320524
+ PolyBelongsTo::Core: test_0031_#pbt_top_parent with circular relation goes till the repeat
320525
+ ------------------------------------------------------------------------------------------
320526
+  (0.0ms) SAVEPOINT active_record_1
320527
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320528
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320529
+  (0.0ms) SAVEPOINT active_record_1
320530
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320531
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320532
+  (0.0ms) SAVEPOINT active_record_1
320533
+ SQL (0.2ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320534
+  (0.1ms) RELEASE SAVEPOINT active_record_1
320535
+  (0.0ms) SAVEPOINT active_record_1
320536
+ SQL (0.1ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 137], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320537
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320538
+  (0.0ms) SAVEPOINT active_record_1
320539
+ SQL (0.2ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = 137 [["delta_id", 137], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320540
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320541
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320542
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320543
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320544
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320545
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320546
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320547
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320548
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320549
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320550
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320551
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320552
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320553
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320554
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320555
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320556
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320557
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320558
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320559
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320560
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320561
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320562
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320563
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320564
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320565
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320566
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320567
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320568
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320569
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320570
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320571
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320572
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320573
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320574
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320575
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320576
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320577
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 137]]
320578
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320579
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320580
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 137]]
320581
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320582
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320583
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 137]]
320584
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 137]]
320585
+  (0.2ms) rollback transaction
320586
+  (0.1ms) begin transaction
320587
+ ---------------------------------------------------------------------
320588
+ PolyBelongsTo::Core: test_0032_#pbt_parents can show multiple parents
320589
+ ---------------------------------------------------------------------
320590
+ Car Load (0.2ms) SELECT "cars".* FROM "cars" WHERE "cars"."user_id" = ? [["user_id", 1]]
320591
+  (0.1ms) SAVEPOINT active_record_1
320592
+ SQL (0.3ms) INSERT INTO "users" ("created_at", "id", "updated_at") VALUES (?, ?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["id", 1], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00]]
320593
+ SQL (0.2ms) INSERT INTO "cars" ("created_at", "updated_at", "user_id") VALUES (?, ?, ?) [["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["user_id", 1]]
320594
+ SQL (0.2ms) INSERT INTO "tires" ("car_id", "created_at", "updated_at", "user_id") VALUES (?, ?, ?, ?) [["car_id", 421646739], ["created_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 01:52:25 UTC +00:00], ["user_id", 1]]
320595
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320596
+ Tire Load (0.2ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? ORDER BY "tires"."id" ASC LIMIT 1 [["car_id", 421646739]]
320597
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
320598
+ Car Load (0.1ms) SELECT "cars".* FROM "cars" WHERE "cars"."id" = ? LIMIT 1 [["id", 421646739]]
320599
+  (0.0ms) SAVEPOINT active_record_1
320600
+ Ssn Load (0.1ms) SELECT "ssns".* FROM "ssns" WHERE "ssns"."user_id" = ? LIMIT 1 [["user_id", 1]]
320601
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."user_id" = ? [["user_id", 1]]
320602
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = ? [["user_id", 1]]
320603
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? [["profileable_id", 1], ["profileable_type", "User"]]
320604
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? [["car_id", 421646739]]
320605
+ SQL (0.2ms) DELETE FROM "tires" WHERE "tires"."id" = ? [["id", 873565850]]
320606
+ SQL (0.1ms) DELETE FROM "cars" WHERE "cars"."id" = ? [["id", 421646739]]
320607
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."user_id" = ? [["user_id", 1]]
320608
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
320609
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320610
+  (0.1ms) rollback transaction
320611
+  (0.0ms) begin transaction
320612
+ ----------------------------------------------------------------------
320613
+ PolyBelongsTo::Core: test_0033_#pbt_parents one parent for polymorphic
320614
+ ----------------------------------------------------------------------
320615
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 761411935]]
320616
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320617
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320618
+  (0.0ms) rollback transaction
320619
+  (0.1ms) begin transaction
320620
+ -------------------------------------------------------
320621
+ PolyBelongsTo::Dup: test_0001_has method :pbt_dup_build
320622
+ -------------------------------------------------------
320623
+  (0.1ms) rollback transaction
320624
+  (0.1ms) begin transaction
320625
+ ------------------------------------------------------------
320626
+ PolyBelongsTo::Dup: test_0002_has method :pbt_deep_dup_build
320627
+ ------------------------------------------------------------
320628
+  (0.0ms) rollback transaction
320629
+  (0.0ms) begin transaction
320630
+ ------------------------------------------------------------------------------
320631
+ PolyBelongsTo::Dup: test_0003_#pbt_dup_build builds copy from dup'd attributes
320632
+ ------------------------------------------------------------------------------
320633
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320634
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
320635
+  (0.1ms) rollback transaction
320636
+  (0.0ms) begin transaction
320637
+ --------------------------------------------------------------------------------------
320638
+ PolyBelongsTo::Dup: test_0004_#pbt_deep_dup_build builds deep copy of dup'd attributes
320639
+ --------------------------------------------------------------------------------------
320640
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320641
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320642
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
320643
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
320644
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
320645
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
320646
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
320647
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
320648
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
320649
+  (0.1ms) rollback transaction
320650
+  (0.0ms) begin transaction
320651
+ -------------------------------------------------------------------------------------------------------
320652
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0001_is a circle
320653
+ -------------------------------------------------------------------------------------------------------
320654
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 136]]
320655
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 136]]
320656
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 136]]
320657
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 136]]
320658
+  (0.0ms) rollback transaction
320659
+  (0.0ms) begin transaction
320660
+ ----------------------------------------------------------------------------------------------------------------------------------------
320661
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0002_clones without duplicating cirular reference
320662
+ ----------------------------------------------------------------------------------------------------------------------------------------
320663
+ Capa Load (0.2ms) SELECT "capas".* FROM "capas" WHERE "capas"."beta_id" = ? [["beta_id", 136]]
320664
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."capa_id" = ? [["capa_id", 136]]
320665
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."delta_id" = ? [["delta_id", 136]]
320666
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."alpha_id" = ? [["alpha_id", 136]]
320667
+  (0.1ms) rollback transaction
320668
+  (0.0ms) begin transaction
320669
+ ------------------------------------------------------------------------
320670
+ PolyBelongsTo::FakedCollection: test_0001_#class.name is named correctly
320671
+ ------------------------------------------------------------------------
320672
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320673
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320674
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320675
+  (0.1ms) rollback transaction
320676
+  (0.1ms) begin transaction
320677
+ --------------------------------------------------------------------------
320678
+ PolyBelongsTo::FakedCollection: test_0002_#superclass knows its superclass
320679
+ --------------------------------------------------------------------------
320680
+  (0.0ms) rollback transaction
320681
+  (0.0ms) begin transaction
320682
+ -------------------------------------------------------------------
320683
+ PolyBelongsTo::FakedCollection: test_0003_IDs the inner ited on :id
320684
+ -------------------------------------------------------------------
320685
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 971855462]]
320686
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320687
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320688
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320689
+  (0.0ms) rollback transaction
320690
+  (0.0ms) begin transaction
320691
+ ----------------------------------------------------------
320692
+ PolyBelongsTo::FakedCollection: test_0004_#all is an Array
320693
+ ----------------------------------------------------------
320694
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320695
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320696
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320697
+  (0.0ms) rollback transaction
320698
+  (0.0ms) begin transaction
320699
+ -----------------------------------------------------------
320700
+ PolyBelongsTo::FakedCollection: test_0005_checks if #empty?
320701
+ -----------------------------------------------------------
320702
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320703
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320704
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320705
+  (0.0ms) rollback transaction
320706
+  (0.0ms) begin transaction
320707
+ ----------------------------------------------------------------------
320708
+ PolyBelongsTo::FakedCollection: test_0006_checks validity with #valid?
320709
+ ----------------------------------------------------------------------
320710
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320711
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320712
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320713
+  (0.0ms) rollback transaction
320714
+  (0.0ms) begin transaction
320715
+ --------------------------------------------------------------------------
320716
+ PolyBelongsTo::FakedCollection: test_0007_gives true or false on #present?
320717
+ --------------------------------------------------------------------------
320718
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320719
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320720
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320721
+  (0.0ms) rollback transaction
320722
+  (0.0ms) begin transaction
320723
+ --------------------------------------------------------------
320724
+ PolyBelongsTo::FakedCollection: test_0008_works with #presence
320725
+ --------------------------------------------------------------
320726
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320727
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320728
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320729
+  (0.0ms) rollback transaction
320730
+  (0.1ms) begin transaction
320731
+ ------------------------------------------------------------
320732
+ PolyBelongsTo::FakedCollection: test_0009_#first is the item
320733
+ ------------------------------------------------------------
320734
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320735
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320736
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320737
+  (0.1ms) rollback transaction
320738
+  (0.0ms) begin transaction
320739
+ -----------------------------------------------------------
320740
+ PolyBelongsTo::FakedCollection: test_0010_#last is the item
320741
+ -----------------------------------------------------------
320742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320743
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320744
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320745
+  (0.0ms) rollback transaction
320746
+  (0.0ms) begin transaction
320747
+ ---------------------------------------------------------------------------
320748
+ PolyBelongsTo::FakedCollection: test_0011_#count and #size counts as 1 or 0
320749
+ ---------------------------------------------------------------------------
320750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320751
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320752
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320753
+  (0.1ms) rollback transaction
320754
+  (0.0ms) begin transaction
320755
+ ------------------------------------------------------------------------------------
320756
+ PolyBelongsTo::FakedCollection: test_0012_#ancestors has ActiveRecord::Base ancestor
320757
+ ------------------------------------------------------------------------------------
320758
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320759
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320760
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320761
+  (0.1ms) rollback transaction
320762
+  (0.1ms) begin transaction
320763
+ --------------------------------------------------------------------------------
320764
+ PolyBelongsTo::FakedCollection: test_0013_build #kind_of? FakedCollection object
320765
+ --------------------------------------------------------------------------------
320766
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320767
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320768
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320769
+  (0.1ms) rollback transaction
320770
+  (0.0ms) begin transaction
320771
+ -----------------------------------------------------------------------------
320772
+ PolyBelongsTo::FakedCollection: test_0014_build #is_a? FakedCollection object
320773
+ -----------------------------------------------------------------------------
320774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320775
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320776
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320777
+  (0.1ms) rollback transaction
320778
+  (0.0ms) begin transaction
320779
+ ------------------------------------------------------------------------------------
320780
+ PolyBelongsTo::FakedCollection: test_0015_build #instance_of? FakedCollection object
320781
+ ------------------------------------------------------------------------------------
320782
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320783
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320784
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320785
+  (0.1ms) rollback transaction
320786
+  (0.0ms) begin transaction
320787
+ ---------------------------------------------------------------------
320788
+ PolyBelongsTo::FakedCollection: test_0016_#build builds appropriately
320789
+ ---------------------------------------------------------------------
320790
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320791
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320792
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320793
+  (0.1ms) SAVEPOINT active_record_1
320794
+ SQL (0.2ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
320795
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320796
+  (0.1ms) rollback transaction
320797
+  (0.0ms) begin transaction
320798
+ -------------------------------------------------------------------------
320799
+ PolyBelongsTo::FakedCollection: test_0017_#build returns self and not nil
320800
+ -------------------------------------------------------------------------
320801
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320802
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320803
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320804
+  (0.1ms) SAVEPOINT active_record_1
320805
+ SQL (0.1ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
320806
+  (0.0ms) RELEASE SAVEPOINT active_record_1
320807
+  (0.1ms) rollback transaction
320808
+  (0.0ms) begin transaction
320809
+ -------------------------------------------------------------------
320810
+ PolyBelongsTo::FakedCollection: test_0018_#each loops appropriately
320811
+ -------------------------------------------------------------------
320812
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320813
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320814
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320815
+  (0.1ms) rollback transaction
320816
+  (0.0ms) begin transaction
320817
+ --------------------------------------------------------------------------------------
320818
+ PolyBelongsTo::FakedCollection: test_0019_defines #klass to point to inner items class
320819
+ --------------------------------------------------------------------------------------
320820
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320821
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320822
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320823
+  (0.1ms) rollback transaction
320824
+  (0.0ms) begin transaction
320825
+ -----------------------------------------------------------------------
320826
+ PolyBelongsTo::FakedCollection: test_0020_#respond_to? :first and :last
320827
+ -----------------------------------------------------------------------
320828
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320829
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320830
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320831
+  (0.1ms) rollback transaction
320832
+  (0.1ms) begin transaction
320833
+ --------------------------------------------------------------------------
320834
+ PolyBelongsTo::FakedCollection: test_0021_knows sneeze is a missing method
320835
+ --------------------------------------------------------------------------
320836
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320837
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320838
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320839
+  (0.1ms) rollback transaction
320840
+  (0.0ms) begin transaction
320841
+ --------------------------------------------------------------------------------------
320842
+ PolyBelongsTo::FakedCollection: test_0022_has method_missing forward appropriate calls
320843
+ --------------------------------------------------------------------------------------
320844
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320845
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
320846
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
320847
+  (0.1ms) rollback transaction
320848
+  (0.0ms) begin transaction
320849
+ -------------------------------------------------------------------------
320850
+ PolyBelongsTo::FakedCollection: test_0023_will not initialize on has_many
320851
+ -------------------------------------------------------------------------
320852
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320853
+  (0.0ms) rollback transaction
320854
+  (0.0ms) begin transaction
320855
+ ------------------------------------------------------------------------------------------------
320856
+ PolyBelongsTo::FakedCollection: test_0024_takes nil Objects and returns an empty FakedCollection
320857
+ ------------------------------------------------------------------------------------------------
320858
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
320859
+  (0.0ms) rollback transaction
320860
+  (0.1ms) begin transaction
320861
+ --------------------------------------------------------------------------
320862
+ PolyBelongsTo::Pbt: test_0001_AttrSanitizer removes conflicting attributes
320863
+ --------------------------------------------------------------------------
320864
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320865
+  (0.1ms) rollback transaction
320866
+  (0.0ms) begin transaction
320867
+ ------------------------------------------------------------
320868
+ PolyBelongsTo::Pbt: test_0002_BuildCmd returns build command
320869
+ ------------------------------------------------------------
320870
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320871
+  (0.0ms) rollback transaction
320872
+  (0.0ms) begin transaction
320873
+ ---------------------------------------------------------------------------------
320874
+ PolyBelongsTo::Pbt: test_0003_Reflects retruns has_one and has_many relationships
320875
+ ---------------------------------------------------------------------------------
320876
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320877
+  (0.0ms) rollback transaction
320878
+  (0.0ms) begin transaction
320879
+ ---------------------------------------------------------------------------------
320880
+ PolyBelongsTo::Pbt: test_0004_ReflectsAsClasses one and many relations as classes
320881
+ ---------------------------------------------------------------------------------
320882
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320883
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
320884
+  (0.1ms) rollback transaction
320885
+  (0.0ms) begin transaction
320886
+ ----------------------------------------------------------------
320887
+ PolyBelongsTo::Pbt: test_0005_IsReflected gives boolean of child
320888
+ ----------------------------------------------------------------
320889
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320890
+  (0.0ms) rollback transaction
320891
+  (0.0ms) begin transaction
320892
+ ---------------------------------------------------------------------------
320893
+ PolyBelongsTo::Pbt: test_0006_SingularOrPlural responds for child relations
320894
+ ---------------------------------------------------------------------------
320895
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
320896
+  (0.0ms) rollback transaction
320897
+  (0.0ms) begin transaction
320898
+ ---------------------------------------------------------------
320899
+ PolyBelongsTo::Pbt: test_0007_IsSingular tells child singleness
320900
+ ---------------------------------------------------------------
320901
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
320902
+  (0.1ms) rollback transaction
320903
+  (0.1ms) begin transaction
320904
+ -------------------------------------------------------------
320905
+ PolyBelongsTo::Pbt: test_0008_IsPlural tells child pluralness
320906
+ -------------------------------------------------------------
320907
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320908
+  (0.0ms) rollback transaction
320909
+  (0.0ms) begin transaction
320910
+ ---------------------------------------------------------------------------
320911
+ PolyBelongsTo::Pbt: test_0009_CollectionProxy singular or plural proxy name
320912
+ ---------------------------------------------------------------------------
320913
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
320914
+  (0.0ms) rollback transaction
320915
+  (0.0ms) begin transaction
320916
+ --------------------------------------------------------------------------------
320917
+ PolyBelongsTo::Pbt: test_0010_AsCollectionProxy has_one emulated collectionproxy
320918
+ --------------------------------------------------------------------------------
320919
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320920
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
320921
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
320922
+  (0.1ms) rollback transaction
320923
+  (0.0ms) begin transaction
320924
+ ---------------------------------------------------------------------
320925
+ PolyBelongsTo::Pbt: test_0011_AsCollectionProxy has one or zero items
320926
+ ---------------------------------------------------------------------
320927
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
320928
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
320929
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
320930
+  (0.1ms) rollback transaction
320931
+  (0.0ms) begin transaction
320932
+ ---------------------------------------------------------------------------------------------------------
320933
+ PolyBelongsTo::Pbt: test_0012_AsCollectionProxy has_many uses ActiveRecord::Associations::CollectionProxy
320934
+ ---------------------------------------------------------------------------------------------------------
320935
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320936
+  (0.0ms) rollback transaction
320937
+  (0.0ms) begin transaction
320938
+ ------------------------------------------------------------------------
320939
+ PolyBelongsTo::SingletonSet: test_0001_formats name with #formatted_name
320940
+ ------------------------------------------------------------------------
320941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320942
+  (0.0ms) rollback transaction
320943
+  (0.0ms) begin transaction
320944
+ ------------------------------------------------------
320945
+ PolyBelongsTo::SingletonSet: test_0002_adds with :add?
320946
+ ------------------------------------------------------
320947
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320948
+  (0.1ms) rollback transaction
320949
+  (0.0ms) begin transaction
320950
+ -----------------------------------------------------------------------------------------------------------
320951
+ PolyBelongsTo::SingletonSet: test_0003_changes ActiveRecord Objects for method_missing with #formatted_name
320952
+ -----------------------------------------------------------------------------------------------------------
320953
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320954
+  (0.1ms) rollback transaction
320955
+  (0.1ms) begin transaction
320956
+ -------------------------------------------------------------------
320957
+ PolyBelongsTo::SingletonSet: test_0004_can tell you what's included
320958
+ -------------------------------------------------------------------
320959
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320960
+  (0.1ms) rollback transaction
320961
+  (0.1ms) begin transaction
320962
+ --------------------------------------------------------
320963
+ PolyBelongsTo::SingletonSet: test_0005_flags a duplicate
320964
+ --------------------------------------------------------
320965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320966
+  (0.1ms) rollback transaction
320967
+  (0.0ms) begin transaction
320968
+ ---------------------------------------------------------------------
320969
+ PolyBelongsTo::SingletonSet: test_0006_says false for unflagged items
320970
+ ---------------------------------------------------------------------
320971
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
320972
+  (0.0ms) rollback transaction
320973
+ Connecting to database specified by database.yml
320974
+ Connecting to database specified by database.yml
320975
+  (0.0ms) begin transaction
320976
+ SQL (2.7ms) INSERT INTO "alphas" ("content", "created_at", "delta_id", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00], ["delta_id", nil], ["updated_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00]]
320977
+  (33.5ms) commit transaction
320978
+  (0.1ms) begin transaction
320979
+ SQL (0.4ms) INSERT INTO "beta" ("alpha_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["alpha_id", 137], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00]]
320980
+  (21.8ms) commit transaction
320981
+  (0.0ms) begin transaction
320982
+ SQL (0.4ms) INSERT INTO "capas" ("beta_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["beta_id", 137], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00]]
320983
+  (32.3ms) commit transaction
320984
+  (0.1ms) begin transaction
320985
+ SQL (0.3ms) INSERT INTO "delta" ("capa_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capa_id", 137], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:29:43 UTC +00:00]]
320986
+  (33.2ms) commit transaction
320987
+ Connecting to database specified by database.yml
320988
+  (0.0ms) begin transaction
320989
+ SQL (2.6ms) INSERT INTO "alphas" ("content", "created_at", "delta_id", "updated_at") VALUES (?, ?, ?, ?) [["content", nil], ["created_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00], ["delta_id", nil], ["updated_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00]]
320990
+  (13.1ms) commit transaction
320991
+  (0.1ms) begin transaction
320992
+ SQL (0.4ms) INSERT INTO "beta" ("alpha_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["alpha_id", 138], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00]]
320993
+  (12.0ms) commit transaction
320994
+  (0.0ms) begin transaction
320995
+ SQL (0.4ms) INSERT INTO "capas" ("beta_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["beta_id", 138], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00]]
320996
+  (11.8ms) commit transaction
320997
+  (0.0ms) begin transaction
320998
+ SQL (0.4ms) INSERT INTO "delta" ("capa_id", "content", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["capa_id", 138], ["content", nil], ["created_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00], ["updated_at", Mon, 30 Mar 2015 04:31:47 UTC +00:00]]
320999
+  (12.4ms) commit transaction
321000
+  (0.2ms) begin transaction
321001
+  (0.5ms) UPDATE "alphas" SET "delta_id" = 138, "updated_at" = '2015-03-30 04:31:47.971236' WHERE "alphas"."id" = 138
321002
+  (14.9ms) commit transaction
321003
+ Connecting to database specified by database.yml
321004
+ Connecting to database specified by database.yml
321005
+ Connecting to database specified by database.yml
321006
+ Connecting to database specified by database.yml
321007
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
321008
+  (0.4ms) begin transaction
321009
+ SQL (0.4ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 18:40:30.966503"], ["updated_at", "2015-04-01 18:40:30.966503"]]
321010
+  (18.9ms) commit transaction
321011
+  (0.1ms) begin transaction
321012
+ SQL (0.3ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 139], ["created_at", "2015-04-01 18:40:31.020698"], ["updated_at", "2015-04-01 18:40:31.020698"]]
321013
+  (11.7ms) commit transaction
321014
+  (0.1ms) begin transaction
321015
+ SQL (0.2ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 139], ["created_at", "2015-04-01 18:40:31.047140"], ["updated_at", "2015-04-01 18:40:31.047140"]]
321016
+  (27.9ms) commit transaction
321017
+  (0.1ms) begin transaction
321018
+ SQL (0.2ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 139], ["created_at", "2015-04-01 18:40:31.093062"], ["updated_at", "2015-04-01 18:40:31.093062"]]
321019
+  (21.1ms) commit transaction
321020
+  (0.1ms) begin transaction
321021
+ SQL (0.2ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = ? [["delta_id", 139], ["updated_at", "2015-04-01 18:40:31.133716"], ["id", 139]]
321022
+  (19.6ms) commit transaction
321023
+  (0.1ms) begin transaction
321024
+ Fixture Delete (0.1ms) DELETE FROM "squishies"
321025
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 576421514, 'Address', 761411935)
321026
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 458139734, 'GeoLocation', 343404421)
321027
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 396855775, 'Address', 1057142427)
321028
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 783441669, 'GeoLocation', 102195269)
321029
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 106545386, 'Address', 633598004)
321030
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 1061951038, 'GeoLocation', 483796712)
321031
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
321032
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '1dd5c4cd472bb498b3f32b4de7b608c4', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 761411935)
321033
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'c0d73244f2e3328e568453aaefde8f7e', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 1057142427)
321034
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '40beb435f87ebfbda6192a05476440e8', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 633598004)
321035
+ Fixture Delete (0.1ms) DELETE FROM "photos"
321036
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '720e6c7ff6d482f6adf856b0e933a814', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 775134066)
321037
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'a1d46ed078e585c6c4c9874afefdaf8d', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 971855462)
321038
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'a1ecc39d68e279507bea5be30a5eaafc', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 1032612456)
321039
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
321040
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '0c61a107309a938ce9d53128aa101799', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 261299535)
321041
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '67423bdc91fab5f5f34e66f05d996dd7', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 478996145)
321042
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'f55ac49acba533c78c50cb5d14d04152', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 966629572)
321043
+ Fixture Delete (0.1ms) DELETE FROM "tires"
321044
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 438300604, 336964236, 849808553)
321045
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 51822084, 336964236, 849808553)
321046
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 873565849, 336964236, 849808553)
321047
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 712317748, 336964236, 849808553)
321048
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
321049
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'bc70a6b830c34d739a2662defd34a8aa', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 343404421)
321050
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '64af5eb752c08553c02233f748b45f43', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 102195269)
321051
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '3a1cf553ae9819aa8438dcb725720cc7', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 483796712)
321052
+ Fixture Delete (0.1ms) DELETE FROM "phones"
321053
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '56f4b45e6ec06841b2e5d4dad30240ea', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 1053526200)
321054
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '97ae3a28aa0c975518dc72131474e86e', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 689259936)
321055
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '3345c3046a0d0072d5d275205e26618e', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 762608046)
321056
+ Fixture Delete (0.0ms) DELETE FROM "users"
321057
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 18:40:31', '2015-04-01 18:40:31', 902541635)
321058
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 18:40:31', '2015-04-01 18:40:31', 380377255)
321059
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 18:40:31', '2015-04-01 18:40:31', 619379998)
321060
+ Fixture Delete (0.1ms) DELETE FROM "cars"
321061
+ Fixture Insert (0.1ms) INSERT INTO "cars" ("content", "created_at", "updated_at", "id", "user_id") VALUES ('MyString', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 421646738, 336964236)
321062
+ Fixture Delete (0.1ms) DELETE FROM "tags"
321063
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '1fdd7f181bed54f2ac215b40e60223b3', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 884173432)
321064
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'bc7453004edc7bd6168b4e5a644ca15d', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 1035759634)
321065
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '0205d703ef66e769ef9e656cb5a62b15', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 471587404)
321066
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
321067
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '9c1386d2d40503cc82bea6d02da342d2', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 819246218)
321068
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '7f860e86dabaaf3ba69c188d98720349', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 970698464)
321069
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'dbec05670d8d4cc5a250335df1c25da6', '2015-04-01 18:40:31', '2015-04-01 18:40:31', 410780858)
321070
+  (18.5ms) commit transaction
321071
+  (0.0ms) begin transaction
321072
+ ------------------------------------------------------------------------------
321073
+ PolyBelongsTo::Dup: test_0003_#pbt_dup_build builds copy from dup'd attributes
321074
+ ------------------------------------------------------------------------------
321075
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321076
+ Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
321077
+  (0.1ms) rollback transaction
321078
+  (0.0ms) begin transaction
321079
+ ------------------------------------------------------------
321080
+ PolyBelongsTo::Dup: test_0002_has method :pbt_deep_dup_build
321081
+ ------------------------------------------------------------
321082
+  (0.1ms) rollback transaction
321083
+  (0.1ms) begin transaction
321084
+ -------------------------------------------------------
321085
+ PolyBelongsTo::Dup: test_0001_has method :pbt_dup_build
321086
+ -------------------------------------------------------
321087
+  (0.1ms) rollback transaction
321088
+  (0.0ms) begin transaction
321089
+ --------------------------------------------------------------------------------------
321090
+ PolyBelongsTo::Dup: test_0004_#pbt_deep_dup_build builds deep copy of dup'd attributes
321091
+ --------------------------------------------------------------------------------------
321092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321093
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321094
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
321095
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
321096
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
321097
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
321098
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
321099
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
321100
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
321101
+  (0.1ms) rollback transaction
321102
+  (0.1ms) begin transaction
321103
+ ----------------------------------------------------------------------
321104
+ PolyBelongsTo::Core: test_0028_#pbt_parent Profile parent returns user
321105
+ ----------------------------------------------------------------------
321106
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321107
+  (0.0ms) SAVEPOINT active_record_1
321108
+ SQL (0.2ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["profileable_id", 902541635], ["profileable_type", "User"], ["created_at", "2015-04-01 18:40:31.336552"], ["updated_at", "2015-04-01 18:40:31.336552"]]
321109
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321110
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321111
+  (0.1ms) rollback transaction
321112
+  (0.0ms) begin transaction
321113
+ ------------------------------------------------------------------------------------
321114
+ PolyBelongsTo::Core: test_0017_#pbt_type_sym Tag belongs to field type symbol as nil
321115
+ ------------------------------------------------------------------------------------
321116
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321117
+  (0.1ms) rollback transaction
321118
+  (0.0ms) begin transaction
321119
+ -----------------------------------------------------
321120
+ PolyBelongsTo::Core: test_0008_#pbts multiple parents
321121
+ -----------------------------------------------------
321122
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."id" = ? LIMIT 1 [["id", 438300604]]
321123
+  (0.1ms) rollback transaction
321124
+  (0.1ms) begin transaction
321125
+ ---------------------------------------------------------------------
321126
+ PolyBelongsTo::Core: test_0020_#pbt_id Tag belongs to id as user's id
321127
+ ---------------------------------------------------------------------
321128
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321129
+  (0.0ms) rollback transaction
321130
+  (0.0ms) begin transaction
321131
+ --------------------------------------------------------------------
321132
+ PolyBelongsTo::Core: test_0022_#pbt_type User belongs to type as nil
321133
+ --------------------------------------------------------------------
321134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321135
+  (0.1ms) rollback transaction
321136
+  (0.0ms) begin transaction
321137
+ ---------------------------------------------------------------------------
321138
+ PolyBelongsTo::Core: test_0026_#pbt_parent Tag parent returns user instance
321139
+ ---------------------------------------------------------------------------
321140
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321141
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321142
+  (0.0ms) rollback transaction
321143
+  (0.0ms) begin transaction
321144
+ ----------------------------------------------------------------------
321145
+ PolyBelongsTo::Core: test_0033_#pbt_parents one parent for polymorphic
321146
+ ----------------------------------------------------------------------
321147
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 761411935]]
321148
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321149
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321150
+  (0.0ms) rollback transaction
321151
+  (0.0ms) begin transaction
321152
+ ---------------------------------------------------------------------------------
321153
+ PolyBelongsTo::Core: test_0013_#pbt_id_sym User belongs to field id symbol as nil
321154
+ ---------------------------------------------------------------------------------
321155
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321156
+  (0.0ms) rollback transaction
321157
+  (0.0ms) begin transaction
321158
+ ---------------------------------------------------------------------------------------
321159
+ PolyBelongsTo::Core: test_0011_#pbt_params_name Phone params name as :phones_attributes
321160
+ ---------------------------------------------------------------------------------------
321161
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321162
+  (0.2ms) rollback transaction
321163
+  (0.0ms) begin transaction
321164
+ ---------------------------------------------------------------------
321165
+ PolyBelongsTo::Core: test_0032_#pbt_parents can show multiple parents
321166
+ ---------------------------------------------------------------------
321167
+ Car Load (0.1ms) SELECT "cars".* FROM "cars" WHERE "cars"."user_id" = ? [["user_id", 1]]
321168
+  (0.0ms) SAVEPOINT active_record_1
321169
+ SQL (0.2ms) INSERT INTO "users" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2015-04-01 18:40:31.369017"], ["updated_at", "2015-04-01 18:40:31.369017"]]
321170
+ SQL (0.1ms) INSERT INTO "cars" ("user_id", "created_at", "updated_at") VALUES (?, ?, ?) [["user_id", 1], ["created_at", "2015-04-01 18:40:31.370406"], ["updated_at", "2015-04-01 18:40:31.370406"]]
321171
+ SQL (0.1ms) INSERT INTO "tires" ("user_id", "car_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["car_id", 421646739], ["created_at", "2015-04-01 18:40:31.371411"], ["updated_at", "2015-04-01 18:40:31.371411"]]
321172
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321173
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? ORDER BY "tires"."id" ASC LIMIT 1 [["car_id", 421646739]]
321174
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
321175
+ Car Load (0.1ms) SELECT "cars".* FROM "cars" WHERE "cars"."id" = ? LIMIT 1 [["id", 421646739]]
321176
+  (0.1ms) SAVEPOINT active_record_1
321177
+ Ssn Load (0.1ms) SELECT "ssns".* FROM "ssns" WHERE "ssns"."user_id" = ? LIMIT 1 [["user_id", 1]]
321178
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."user_id" = ? [["user_id", 1]]
321179
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = ? [["user_id", 1]]
321180
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? [["profileable_id", 1], ["profileable_type", "User"]]
321181
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? [["car_id", 421646739]]
321182
+ SQL (0.2ms) DELETE FROM "tires" WHERE "tires"."id" = ? [["id", 873565850]]
321183
+ SQL (0.1ms) DELETE FROM "cars" WHERE "cars"."id" = ? [["id", 421646739]]
321184
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."user_id" = ? [["user_id", 1]]
321185
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
321186
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321187
+  (0.2ms) rollback transaction
321188
+  (0.0ms) begin transaction
321189
+ -----------------------------------------------------------------
321190
+ PolyBelongsTo::Core: test_0006_#pbt Tag belongs to table as :user
321191
+ -----------------------------------------------------------------
321192
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321193
+  (0.0ms) rollback transaction
321194
+  (0.0ms) begin transaction
321195
+ -----------------------------------------------------------------------
321196
+ PolyBelongsTo::Core: test_0010_#pbt_params_name Tag params name as :tag
321197
+ -----------------------------------------------------------------------
321198
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321199
+  (0.0ms) rollback transaction
321200
+  (0.0ms) begin transaction
321201
+ ----------------------------------------------------------------
321202
+ PolyBelongsTo::Core: test_0005_#pbt User belongs to table as nil
321203
+ ----------------------------------------------------------------
321204
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321205
+  (0.0ms) rollback transaction
321206
+  (0.0ms) begin transaction
321207
+ ------------------------------------------------------------------------------------
321208
+ PolyBelongsTo::Core: test_0014_#pbt_id_sym Tag belongs to field id symbol as :tag_id
321209
+ ------------------------------------------------------------------------------------
321210
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321211
+  (0.0ms) rollback transaction
321212
+  (0.0ms) begin transaction
321213
+ --------------------------------------------------------------------------------------------------
321214
+ PolyBelongsTo::Core: test_0018_#pbt_type_sym Phone belongs to field type symbol as :phoneable_type
321215
+ --------------------------------------------------------------------------------------------------
321216
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321217
+  (0.0ms) rollback transaction
321218
+  (0.0ms) begin transaction
321219
+ -------------------------------------------------------------------
321220
+ PolyBelongsTo::Core: test_0023_#pbt_type Tag belongs to type as nil
321221
+ -------------------------------------------------------------------
321222
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321223
+  (0.0ms) rollback transaction
321224
+  (0.0ms) begin transaction
321225
+ --------------------------------------------------------------------------------------------
321226
+ PolyBelongsTo::Core: test_0015_#pbt_id_sym Phone belongs to field id symbol as :phoneable_id
321227
+ --------------------------------------------------------------------------------------------
321228
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321229
+  (0.0ms) rollback transaction
321230
+  (0.0ms) begin transaction
321231
+ ----------------------------------------------------------------
321232
+ PolyBelongsTo::Core: test_0019_#pbt_id User belongs to id as nil
321233
+ ----------------------------------------------------------------
321234
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321235
+  (0.0ms) rollback transaction
321236
+  (0.0ms) begin transaction
321237
+ -----------------------------------------------------------------------
321238
+ PolyBelongsTo::Core: test_0027_#pbt_parent Phone parent returns profile
321239
+ -----------------------------------------------------------------------
321240
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321241
+  (0.1ms) SAVEPOINT active_record_1
321242
+ SQL (0.2ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["profileable_id", 902541635], ["profileable_type", "User"], ["created_at", "2015-04-01 18:40:31.394246"], ["updated_at", "2015-04-01 18:40:31.394246"]]
321243
+ SQL (0.2ms) INSERT INTO "phones" ("phoneable_type", "phoneable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["phoneable_type", "Profile"], ["phoneable_id", 966629573], ["created_at", "2015-04-01 18:40:31.395366"], ["updated_at", "2015-04-01 18:40:31.395366"]]
321244
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321245
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
321246
+  (0.1ms) rollback transaction
321247
+  (0.0ms) begin transaction
321248
+ -------------------------------------------------------------
321249
+ PolyBelongsTo::Core: test_0002_#poly? User as not polymorphic
321250
+ -------------------------------------------------------------
321251
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321252
+  (0.0ms) rollback transaction
321253
+  (0.0ms) begin transaction
321254
+ ------------------------------------------------------------
321255
+ PolyBelongsTo::Core: test_0003_#poly? Tag as not polymorphic
321256
+ ------------------------------------------------------------
321257
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
321258
+  (0.0ms) rollback transaction
321259
+  (0.0ms) begin transaction
321260
+ ------------------------------------------------------------------------
321261
+ PolyBelongsTo::Core: test_0007_#pbt Phone belongs to table as :phoneable
321262
+ ------------------------------------------------------------------------
321263
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321264
+  (0.1ms) rollback transaction
321265
+  (0.0ms) begin transaction
321266
+ ------------------------------------------
321267
+ PolyBelongsTo::Core: test_0001_is a module
321268
+ ------------------------------------------
321269
+  (0.0ms) rollback transaction
321270
+  (0.1ms) begin transaction
321271
+ -------------------------------------------------------------------------
321272
+ PolyBelongsTo::Core: test_0009_#pbt_params_name User params name as :user
321273
+ -------------------------------------------------------------------------
321274
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321275
+  (0.0ms) rollback transaction
321276
+  (0.1ms) begin transaction
321277
+ ---------------------------------------------------------------------------
321278
+ PolyBelongsTo::Core: test_0024_#pbt_type Phone belongs to type as 'Profile'
321279
+ ---------------------------------------------------------------------------
321280
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321281
+  (0.0ms) rollback transaction
321282
+  (0.0ms) begin transaction
321283
+ ----------------------------------------------------------
321284
+ PolyBelongsTo::Core: test_0004_#poly? Phone as polymorphic
321285
+ ----------------------------------------------------------
321286
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321287
+  (0.0ms) rollback transaction
321288
+  (0.0ms) begin transaction
321289
+ --------------------------------------------------------------------------------------
321290
+ PolyBelongsTo::Core: test_0012_#pbt_params_name Phone params name with false as :phone
321291
+ --------------------------------------------------------------------------------------
321292
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321293
+  (0.1ms) rollback transaction
321294
+  (0.0ms) begin transaction
321295
+ -------------------------------------------------------------------------------------
321296
+ PolyBelongsTo::Core: test_0016_#pbt_type_sym User belongs to field type symbol as nil
321297
+ -------------------------------------------------------------------------------------
321298
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321299
+  (0.0ms) rollback transaction
321300
+  (0.0ms) begin transaction
321301
+ ----------------------------------------------------------------------------------------------
321302
+ PolyBelongsTo::Core: test_0029_#pbt_parent returns nil if no ID is set for parent relationship
321303
+ ----------------------------------------------------------------------------------------------
321304
+  (0.1ms) SAVEPOINT active_record_1
321305
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 18:40:31.406389"], ["updated_at", "2015-04-01 18:40:31.406389"]]
321306
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321307
+  (0.1ms) rollback transaction
321308
+  (0.0ms) begin transaction
321309
+ -------------------------------------------------------------------------------------------------------------------------
321310
+ PolyBelongsTo::Core: test_0030_#pbt_top_parent climbs up belongs_to hierarchy to the top; polymorphic relationships first
321311
+ -------------------------------------------------------------------------------------------------------------------------
321312
+  (0.0ms) SAVEPOINT active_record_1
321313
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 18:40:31.408320"], ["updated_at", "2015-04-01 18:40:31.408320"]]
321314
+  (0.1ms) RELEASE SAVEPOINT active_record_1
321315
+  (0.1ms) SAVEPOINT active_record_1
321316
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 140], ["created_at", "2015-04-01 18:40:31.410816"], ["updated_at", "2015-04-01 18:40:31.410816"]]
321317
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321318
+  (0.1ms) SAVEPOINT active_record_1
321319
+ SQL (0.1ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 140], ["created_at", "2015-04-01 18:40:31.412747"], ["updated_at", "2015-04-01 18:40:31.412747"]]
321320
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321321
+  (0.1ms) SAVEPOINT active_record_1
321322
+ SQL (0.1ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 140], ["created_at", "2015-04-01 18:40:31.414603"], ["updated_at", "2015-04-01 18:40:31.414603"]]
321323
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321324
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321325
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321326
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321327
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321328
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321329
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321330
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321331
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321332
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321333
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321334
+  (0.2ms) rollback transaction
321335
+  (0.0ms) begin transaction
321336
+ -------------------------------------------------------------------------------
321337
+ PolyBelongsTo::Core: test_0021_#pbt_id Phone belongs to id as user's profile id
321338
+ -------------------------------------------------------------------------------
321339
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
321340
+  (0.0ms) rollback transaction
321341
+  (0.0ms) begin transaction
321342
+ ------------------------------------------------------------------------------------------
321343
+ PolyBelongsTo::Core: test_0031_#pbt_top_parent with circular relation goes till the repeat
321344
+ ------------------------------------------------------------------------------------------
321345
+  (0.0ms) SAVEPOINT active_record_1
321346
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 18:40:31.421429"], ["updated_at", "2015-04-01 18:40:31.421429"]]
321347
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321348
+  (0.1ms) SAVEPOINT active_record_1
321349
+ SQL (0.1ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 140], ["created_at", "2015-04-01 18:40:31.423373"], ["updated_at", "2015-04-01 18:40:31.423373"]]
321350
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321351
+  (0.0ms) SAVEPOINT active_record_1
321352
+ SQL (0.1ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 140], ["created_at", "2015-04-01 18:40:31.425199"], ["updated_at", "2015-04-01 18:40:31.425199"]]
321353
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321354
+  (0.1ms) SAVEPOINT active_record_1
321355
+ SQL (0.1ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 140], ["created_at", "2015-04-01 18:40:31.427125"], ["updated_at", "2015-04-01 18:40:31.427125"]]
321356
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321357
+  (0.0ms) SAVEPOINT active_record_1
321358
+ SQL (0.1ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = ? [["delta_id", 140], ["updated_at", "2015-04-01 18:40:31.428459"], ["id", 140]]
321359
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321360
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321361
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321362
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321363
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321364
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321365
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321366
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321367
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321368
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321369
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321370
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321371
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321372
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321373
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321374
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321375
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321376
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321377
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321378
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321379
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321380
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321381
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321382
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321383
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321384
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321385
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321386
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321387
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321388
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321389
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321390
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321391
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321392
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321393
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321394
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321395
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321396
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
321397
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321398
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321399
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
321400
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321401
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321402
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
321403
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
321404
+  (0.2ms) rollback transaction
321405
+  (0.0ms) begin transaction
321406
+ ------------------------------------------------------------------
321407
+ PolyBelongsTo::Core: test_0025_#pbt_parent User parent returns nil
321408
+ ------------------------------------------------------------------
321409
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321410
+  (0.1ms) rollback transaction
321411
+  (0.1ms) begin transaction
321412
+ -----------------------------------------------------------------------------------------------------------
321413
+ PolyBelongsTo::SingletonSet: test_0003_changes ActiveRecord Objects for method_missing with #formatted_name
321414
+ -----------------------------------------------------------------------------------------------------------
321415
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321416
+  (0.0ms) rollback transaction
321417
+  (0.0ms) begin transaction
321418
+ -------------------------------------------------------------------
321419
+ PolyBelongsTo::SingletonSet: test_0004_can tell you what's included
321420
+ -------------------------------------------------------------------
321421
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321422
+  (0.0ms) rollback transaction
321423
+  (0.0ms) begin transaction
321424
+ --------------------------------------------------------
321425
+ PolyBelongsTo::SingletonSet: test_0005_flags a duplicate
321426
+ --------------------------------------------------------
321427
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321428
+  (0.0ms) rollback transaction
321429
+  (0.0ms) begin transaction
321430
+ ------------------------------------------------------------------------
321431
+ PolyBelongsTo::SingletonSet: test_0001_formats name with #formatted_name
321432
+ ------------------------------------------------------------------------
321433
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321434
+  (0.0ms) rollback transaction
321435
+  (0.0ms) begin transaction
321436
+ ------------------------------------------------------
321437
+ PolyBelongsTo::SingletonSet: test_0002_adds with :add?
321438
+ ------------------------------------------------------
321439
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321440
+  (0.0ms) rollback transaction
321441
+  (0.0ms) begin transaction
321442
+ ---------------------------------------------------------------------
321443
+ PolyBelongsTo::SingletonSet: test_0006_says false for unflagged items
321444
+ ---------------------------------------------------------------------
321445
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321446
+  (0.0ms) rollback transaction
321447
+  (0.1ms) begin transaction
321448
+ -------------------------------------------------------------------
321449
+ PolyBelongsTo::FakedCollection: test_0003_IDs the inner ited on :id
321450
+ -------------------------------------------------------------------
321451
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 971855462]]
321452
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321453
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321454
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321455
+  (0.0ms) rollback transaction
321456
+  (0.0ms) begin transaction
321457
+ ---------------------------------------------------------------------------
321458
+ PolyBelongsTo::FakedCollection: test_0011_#count and #size counts as 1 or 0
321459
+ ---------------------------------------------------------------------------
321460
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321461
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321462
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321463
+  (0.0ms) rollback transaction
321464
+  (0.0ms) begin transaction
321465
+ ------------------------------------------------------------------------------------
321466
+ PolyBelongsTo::FakedCollection: test_0015_build #instance_of? FakedCollection object
321467
+ ------------------------------------------------------------------------------------
321468
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321469
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321470
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321471
+  (0.1ms) rollback transaction
321472
+  (0.0ms) begin transaction
321473
+ ------------------------------------------------------------------------------------
321474
+ PolyBelongsTo::FakedCollection: test_0012_#ancestors has ActiveRecord::Base ancestor
321475
+ ------------------------------------------------------------------------------------
321476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321477
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321478
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321479
+  (0.1ms) rollback transaction
321480
+  (0.0ms) begin transaction
321481
+ -------------------------------------------------------------------------
321482
+ PolyBelongsTo::FakedCollection: test_0023_will not initialize on has_many
321483
+ -------------------------------------------------------------------------
321484
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321485
+  (0.0ms) rollback transaction
321486
+  (0.0ms) begin transaction
321487
+ -----------------------------------------------------------------------------
321488
+ PolyBelongsTo::FakedCollection: test_0014_build #is_a? FakedCollection object
321489
+ -----------------------------------------------------------------------------
321490
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321491
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321492
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321493
+  (0.0ms) rollback transaction
321494
+  (0.0ms) begin transaction
321495
+ ---------------------------------------------------------------------
321496
+ PolyBelongsTo::FakedCollection: test_0016_#build builds appropriately
321497
+ ---------------------------------------------------------------------
321498
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321499
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321500
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321501
+  (0.1ms) SAVEPOINT active_record_1
321502
+ SQL (0.1ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
321503
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321504
+  (0.1ms) rollback transaction
321505
+  (0.0ms) begin transaction
321506
+ --------------------------------------------------------------------------
321507
+ PolyBelongsTo::FakedCollection: test_0007_gives true or false on #present?
321508
+ --------------------------------------------------------------------------
321509
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321510
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321511
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321512
+  (0.1ms) rollback transaction
321513
+  (0.0ms) begin transaction
321514
+ --------------------------------------------------------------------------------------
321515
+ PolyBelongsTo::FakedCollection: test_0022_has method_missing forward appropriate calls
321516
+ --------------------------------------------------------------------------------------
321517
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321518
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321519
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321520
+  (0.0ms) rollback transaction
321521
+  (0.1ms) begin transaction
321522
+ --------------------------------------------------------------
321523
+ PolyBelongsTo::FakedCollection: test_0008_works with #presence
321524
+ --------------------------------------------------------------
321525
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321526
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321527
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321528
+  (0.1ms) rollback transaction
321529
+  (0.1ms) begin transaction
321530
+ ------------------------------------------------------------------------------------------------
321531
+ PolyBelongsTo::FakedCollection: test_0024_takes nil Objects and returns an empty FakedCollection
321532
+ ------------------------------------------------------------------------------------------------
321533
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321534
+  (0.0ms) rollback transaction
321535
+  (0.0ms) begin transaction
321536
+ -----------------------------------------------------------
321537
+ PolyBelongsTo::FakedCollection: test_0005_checks if #empty?
321538
+ -----------------------------------------------------------
321539
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321540
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321541
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321542
+  (0.1ms) rollback transaction
321543
+  (0.0ms) begin transaction
321544
+ -----------------------------------------------------------
321545
+ PolyBelongsTo::FakedCollection: test_0010_#last is the item
321546
+ -----------------------------------------------------------
321547
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321548
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321549
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321550
+  (0.0ms) rollback transaction
321551
+  (0.0ms) begin transaction
321552
+ ------------------------------------------------------------------------
321553
+ PolyBelongsTo::FakedCollection: test_0001_#class.name is named correctly
321554
+ ------------------------------------------------------------------------
321555
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321556
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321557
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321558
+  (0.0ms) rollback transaction
321559
+  (0.0ms) begin transaction
321560
+ ------------------------------------------------------------
321561
+ PolyBelongsTo::FakedCollection: test_0009_#first is the item
321562
+ ------------------------------------------------------------
321563
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321564
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321565
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321566
+  (0.1ms) rollback transaction
321567
+  (0.0ms) begin transaction
321568
+ ----------------------------------------------------------
321569
+ PolyBelongsTo::FakedCollection: test_0004_#all is an Array
321570
+ ----------------------------------------------------------
321571
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321572
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321573
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321574
+  (0.1ms) rollback transaction
321575
+  (0.0ms) begin transaction
321576
+ --------------------------------------------------------------------------------------
321577
+ PolyBelongsTo::FakedCollection: test_0019_defines #klass to point to inner items class
321578
+ --------------------------------------------------------------------------------------
321579
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321580
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321581
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321582
+  (0.1ms) rollback transaction
321583
+  (0.0ms) begin transaction
321584
+ --------------------------------------------------------------------------------
321585
+ PolyBelongsTo::FakedCollection: test_0013_build #kind_of? FakedCollection object
321586
+ --------------------------------------------------------------------------------
321587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321588
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321589
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321590
+  (0.0ms) rollback transaction
321591
+  (0.0ms) begin transaction
321592
+ -------------------------------------------------------------------------
321593
+ PolyBelongsTo::FakedCollection: test_0017_#build returns self and not nil
321594
+ -------------------------------------------------------------------------
321595
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321596
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321597
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321598
+  (0.0ms) SAVEPOINT active_record_1
321599
+ SQL (0.1ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
321600
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321601
+  (0.1ms) rollback transaction
321602
+  (0.0ms) begin transaction
321603
+ -----------------------------------------------------------------------
321604
+ PolyBelongsTo::FakedCollection: test_0020_#respond_to? :first and :last
321605
+ -----------------------------------------------------------------------
321606
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321607
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321608
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321609
+  (0.0ms) rollback transaction
321610
+  (0.0ms) begin transaction
321611
+ --------------------------------------------------------------------------
321612
+ PolyBelongsTo::FakedCollection: test_0021_knows sneeze is a missing method
321613
+ --------------------------------------------------------------------------
321614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321615
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321616
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321617
+  (0.0ms) rollback transaction
321618
+  (0.0ms) begin transaction
321619
+ --------------------------------------------------------------------------
321620
+ PolyBelongsTo::FakedCollection: test_0002_#superclass knows its superclass
321621
+ --------------------------------------------------------------------------
321622
+  (0.0ms) rollback transaction
321623
+  (0.0ms) begin transaction
321624
+ ----------------------------------------------------------------------
321625
+ PolyBelongsTo::FakedCollection: test_0006_checks validity with #valid?
321626
+ ----------------------------------------------------------------------
321627
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321628
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321629
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321630
+  (0.0ms) rollback transaction
321631
+  (0.0ms) begin transaction
321632
+ -------------------------------------------------------------------
321633
+ PolyBelongsTo::FakedCollection: test_0018_#each loops appropriately
321634
+ -------------------------------------------------------------------
321635
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321636
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321637
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321638
+  (0.0ms) rollback transaction
321639
+  (0.1ms) begin transaction
321640
+ -------------------------------------------------------------
321641
+ PolyBelongsTo::Pbt: test_0008_IsPlural tells child pluralness
321642
+ -------------------------------------------------------------
321643
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321644
+  (0.0ms) rollback transaction
321645
+  (0.0ms) begin transaction
321646
+ ---------------------------------------------------------------------
321647
+ PolyBelongsTo::Pbt: test_0011_AsCollectionProxy has one or zero items
321648
+ ---------------------------------------------------------------------
321649
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321650
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
321651
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
321652
+  (0.1ms) rollback transaction
321653
+  (0.1ms) begin transaction
321654
+ ------------------------------------------------------------
321655
+ PolyBelongsTo::Pbt: test_0002_BuildCmd returns build command
321656
+ ------------------------------------------------------------
321657
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321658
+  (0.1ms) rollback transaction
321659
+  (0.0ms) begin transaction
321660
+ ---------------------------------------------------------------------------------
321661
+ PolyBelongsTo::Pbt: test_0004_ReflectsAsClasses one and many relations as classes
321662
+ ---------------------------------------------------------------------------------
321663
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321664
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
321665
+  (0.1ms) rollback transaction
321666
+  (0.0ms) begin transaction
321667
+ ---------------------------------------------------------------------------
321668
+ PolyBelongsTo::Pbt: test_0006_SingularOrPlural responds for child relations
321669
+ ---------------------------------------------------------------------------
321670
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
321671
+  (0.0ms) rollback transaction
321672
+  (0.0ms) begin transaction
321673
+ --------------------------------------------------------------------------------
321674
+ PolyBelongsTo::Pbt: test_0010_AsCollectionProxy has_one emulated collectionproxy
321675
+ --------------------------------------------------------------------------------
321676
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321677
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
321678
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
321679
+  (0.1ms) rollback transaction
321680
+  (0.0ms) begin transaction
321681
+ ---------------------------------------------------------------------------------
321682
+ PolyBelongsTo::Pbt: test_0003_Reflects retruns has_one and has_many relationships
321683
+ ---------------------------------------------------------------------------------
321684
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321685
+  (0.0ms) rollback transaction
321686
+  (0.0ms) begin transaction
321687
+ ---------------------------------------------------------------------------
321688
+ PolyBelongsTo::Pbt: test_0009_CollectionProxy singular or plural proxy name
321689
+ ---------------------------------------------------------------------------
321690
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
321691
+  (0.0ms) rollback transaction
321692
+  (0.0ms) begin transaction
321693
+ ---------------------------------------------------------------------------------------------------------
321694
+ PolyBelongsTo::Pbt: test_0012_AsCollectionProxy has_many uses ActiveRecord::Associations::CollectionProxy
321695
+ ---------------------------------------------------------------------------------------------------------
321696
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321697
+  (0.0ms) rollback transaction
321698
+  (0.0ms) begin transaction
321699
+ ----------------------------------------------------------------
321700
+ PolyBelongsTo::Pbt: test_0005_IsReflected gives boolean of child
321701
+ ----------------------------------------------------------------
321702
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321703
+  (0.1ms) rollback transaction
321704
+  (0.0ms) begin transaction
321705
+ --------------------------------------------------------------------------
321706
+ PolyBelongsTo::Pbt: test_0001_AttrSanitizer removes conflicting attributes
321707
+ --------------------------------------------------------------------------
321708
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321709
+  (0.0ms) rollback transaction
321710
+  (0.0ms) begin transaction
321711
+ ---------------------------------------------------------------
321712
+ PolyBelongsTo::Pbt: test_0007_IsSingular tells child singleness
321713
+ ---------------------------------------------------------------
321714
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
321715
+  (0.0ms) rollback transaction
321716
+  (0.0ms) begin transaction
321717
+ -------------------------------------------------------------------------------------------------------
321718
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0001_is a circle
321719
+ -------------------------------------------------------------------------------------------------------
321720
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 139]]
321721
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 139]]
321722
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 139]]
321723
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 139]]
321724
+  (0.0ms) rollback transaction
321725
+  (0.0ms) begin transaction
321726
+ ----------------------------------------------------------------------------------------------------------------------------------------
321727
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0002_clones without duplicating cirular reference
321728
+ ----------------------------------------------------------------------------------------------------------------------------------------
321729
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."beta_id" = ? [["beta_id", 139]]
321730
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."capa_id" = ? [["capa_id", 139]]
321731
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."delta_id" = ? [["delta_id", 139]]
321732
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."alpha_id" = ? [["alpha_id", 139]]
321733
+  (0.1ms) rollback transaction
321734
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
321735
+  (0.1ms) begin transaction
321736
+ SQL (0.3ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 19:43:55.449524"], ["updated_at", "2015-04-01 19:43:55.449524"]]
321737
+  (14.6ms) commit transaction
321738
+  (0.1ms) begin transaction
321739
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 140], ["created_at", "2015-04-01 19:43:55.497547"], ["updated_at", "2015-04-01 19:43:55.497547"]]
321740
+  (11.6ms) commit transaction
321741
+  (0.1ms) begin transaction
321742
+ SQL (0.2ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 140], ["created_at", "2015-04-01 19:43:55.525666"], ["updated_at", "2015-04-01 19:43:55.525666"]]
321743
+  (17.8ms) commit transaction
321744
+  (0.0ms) begin transaction
321745
+ SQL (0.2ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 140], ["created_at", "2015-04-01 19:43:55.568666"], ["updated_at", "2015-04-01 19:43:55.568666"]]
321746
+  (23.7ms) commit transaction
321747
+  (0.1ms) begin transaction
321748
+ SQL (0.5ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = ? [["delta_id", 140], ["updated_at", "2015-04-01 19:43:55.594809"], ["id", 140]]
321749
+  (37.6ms) commit transaction
321750
+  (0.1ms) begin transaction
321751
+ Fixture Delete (0.1ms) DELETE FROM "squishies"
321752
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 576421514, 'Address', 761411935)
321753
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 458139734, 'GeoLocation', 343404421)
321754
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 396855775, 'Address', 1057142427)
321755
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 783441669, 'GeoLocation', 102195269)
321756
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 106545386, 'Address', 633598004)
321757
+ Fixture Insert (0.1ms) INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 1061951038, 'GeoLocation', 483796712)
321758
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
321759
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '2040858ef40c6467fb8a1b6d862e51ab', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 761411935)
321760
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '6f1c628814d07e72ce8e39d704838d7a', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 1057142427)
321761
+ Fixture Insert (0.1ms) INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'c8bc070a0abbd0989a078f9bbbe6b1a2', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 633598004)
321762
+ Fixture Delete (0.1ms) DELETE FROM "photos"
321763
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '6d55e5fdcb07584160846f153190f08b', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 775134066)
321764
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'bae10e741bc59429d28836257735e94e', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 971855462)
321765
+ Fixture Insert (0.1ms) INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '962db0d1aaf166bb9ef66e0e96196be3', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 1032612456)
321766
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
321767
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '541bd38231bcc8dbcf4afd3d2352e146', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 261299535)
321768
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '000d5fff8c7d6d2a0438931ce2c9e85c', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 478996145)
321769
+ Fixture Insert (0.1ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '9aff57c539a6bd7f3205c85a3ab9e341', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 966629572)
321770
+ Fixture Delete (0.1ms) DELETE FROM "tires"
321771
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 438300604, 336964236, 849808553)
321772
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 51822084, 336964236, 849808553)
321773
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 873565849, 336964236, 849808553)
321774
+ Fixture Insert (0.1ms) INSERT INTO "tires" ("content", "created_at", "updated_at", "id", "user_id", "car_id") VALUES ('MyString', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 712317748, 336964236, 849808553)
321775
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
321776
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '1366e71e4e843f804241a21f9009fdaa', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 343404421)
321777
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, 'd10f80da90bd9535e0ea16041f5853cf', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 102195269)
321778
+ Fixture Insert (0.1ms) INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'b1597247f2557d1cceace181495bc090', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 483796712)
321779
+ Fixture Delete (0.1ms) DELETE FROM "phones"
321780
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'ac86fbcfc8dfa73893f5fd0efbf8575c', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 1053526200)
321781
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'c9e42d158dcc1e36240156e623df782e', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 689259936)
321782
+ Fixture Insert (0.1ms) INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '259781d1a874225d535afe693c435907', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 762608046)
321783
+ Fixture Delete (0.1ms) DELETE FROM "users"
321784
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 19:43:55', '2015-04-01 19:43:55', 902541635)
321785
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 19:43:55', '2015-04-01 19:43:55', 380377255)
321786
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-04-01 19:43:55', '2015-04-01 19:43:55', 619379998)
321787
+ Fixture Delete (0.1ms) DELETE FROM "cars"
321788
+ Fixture Insert (0.1ms) INSERT INTO "cars" ("content", "created_at", "updated_at", "id", "user_id") VALUES ('MyString', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 421646738, 336964236)
321789
+ Fixture Delete (0.1ms) DELETE FROM "tags"
321790
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '58aeb8e841261e3fac44c71591d03edd', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 884173432)
321791
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'f789e59d321bf667f81d2288bccc3606', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 1035759634)
321792
+ Fixture Insert (0.1ms) INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'eec8b21a389bb9d947ff9b3409c22e0c', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 471587404)
321793
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
321794
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '9854eac34d4499176ac223f86d70e145', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 819246218)
321795
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '54c2ccc06fec69f45f73f060c09a353d', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 970698464)
321796
+ Fixture Insert (0.1ms) INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '79dcb82a48faf65375ff9d5f5d0a9515', '2015-04-01 19:43:55', '2015-04-01 19:43:55', 410780858)
321797
+  (23.8ms) commit transaction
321798
+  (0.1ms) begin transaction
321799
+ ---------------------------------------------------------------------------------------------------------
321800
+ PolyBelongsTo::Pbt: test_0012_AsCollectionProxy has_many uses ActiveRecord::Associations::CollectionProxy
321801
+ ---------------------------------------------------------------------------------------------------------
321802
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321803
+  (0.1ms) rollback transaction
321804
+  (0.0ms) begin transaction
321805
+ --------------------------------------------------------------------------------
321806
+ PolyBelongsTo::Pbt: test_0010_AsCollectionProxy has_one emulated collectionproxy
321807
+ --------------------------------------------------------------------------------
321808
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321809
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
321810
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
321811
+  (0.1ms) rollback transaction
321812
+  (0.0ms) begin transaction
321813
+ ---------------------------------------------------------------------------
321814
+ PolyBelongsTo::Pbt: test_0009_CollectionProxy singular or plural proxy name
321815
+ ---------------------------------------------------------------------------
321816
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
321817
+  (0.1ms) rollback transaction
321818
+  (0.0ms) begin transaction
321819
+ ---------------------------------------------------------------------
321820
+ PolyBelongsTo::Pbt: test_0011_AsCollectionProxy has one or zero items
321821
+ ---------------------------------------------------------------------
321822
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321823
+ Address Load (0.0ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? ORDER BY "addresses"."id" ASC LIMIT 1 [["addressable_id", 261299535], ["addressable_type", "Profile"]]
321824
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
321825
+  (0.0ms) rollback transaction
321826
+  (0.0ms) begin transaction
321827
+ ---------------------------------------------------------------------------------
321828
+ PolyBelongsTo::Pbt: test_0003_Reflects retruns has_one and has_many relationships
321829
+ ---------------------------------------------------------------------------------
321830
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321831
+  (0.1ms) rollback transaction
321832
+  (0.0ms) begin transaction
321833
+ --------------------------------------------------------------------------
321834
+ PolyBelongsTo::Pbt: test_0001_AttrSanitizer removes conflicting attributes
321835
+ --------------------------------------------------------------------------
321836
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
321837
+  (0.1ms) rollback transaction
321838
+  (0.0ms) begin transaction
321839
+ ---------------------------------------------------------------------------
321840
+ PolyBelongsTo::Pbt: test_0006_SingularOrPlural responds for child relations
321841
+ ---------------------------------------------------------------------------
321842
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
321843
+  (0.0ms) rollback transaction
321844
+  (0.0ms) begin transaction
321845
+ ------------------------------------------------------------
321846
+ PolyBelongsTo::Pbt: test_0002_BuildCmd returns build command
321847
+ ------------------------------------------------------------
321848
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321849
+  (0.0ms) rollback transaction
321850
+  (0.0ms) begin transaction
321851
+ ---------------------------------------------------------------
321852
+ PolyBelongsTo::Pbt: test_0007_IsSingular tells child singleness
321853
+ ---------------------------------------------------------------
321854
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
321855
+  (0.0ms) rollback transaction
321856
+  (0.0ms) begin transaction
321857
+ -------------------------------------------------------------
321858
+ PolyBelongsTo::Pbt: test_0008_IsPlural tells child pluralness
321859
+ -------------------------------------------------------------
321860
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321861
+  (0.1ms) rollback transaction
321862
+  (0.0ms) begin transaction
321863
+ ----------------------------------------------------------------
321864
+ PolyBelongsTo::Pbt: test_0005_IsReflected gives boolean of child
321865
+ ----------------------------------------------------------------
321866
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321867
+  (0.1ms) rollback transaction
321868
+  (0.1ms) begin transaction
321869
+ ---------------------------------------------------------------------------------
321870
+ PolyBelongsTo::Pbt: test_0004_ReflectsAsClasses one and many relations as classes
321871
+ ---------------------------------------------------------------------------------
321872
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
321873
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
321874
+  (0.1ms) rollback transaction
321875
+  (0.1ms) begin transaction
321876
+ -------------------------------------------------------------------
321877
+ PolyBelongsTo::FakedCollection: test_0003_IDs the inner ited on :id
321878
+ -------------------------------------------------------------------
321879
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."id" = ? LIMIT 1 [["id", 971855462]]
321880
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321881
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321882
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321883
+  (0.1ms) rollback transaction
321884
+  (0.0ms) begin transaction
321885
+ --------------------------------------------------------------------------
321886
+ PolyBelongsTo::FakedCollection: test_0021_knows sneeze is a missing method
321887
+ --------------------------------------------------------------------------
321888
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321889
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321890
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321891
+  (0.0ms) rollback transaction
321892
+  (0.0ms) begin transaction
321893
+ --------------------------------------------------------------------------
321894
+ PolyBelongsTo::FakedCollection: test_0007_gives true or false on #present?
321895
+ --------------------------------------------------------------------------
321896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321897
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321898
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321899
+  (0.0ms) rollback transaction
321900
+  (0.0ms) begin transaction
321901
+ -----------------------------------------------------------
321902
+ PolyBelongsTo::FakedCollection: test_0005_checks if #empty?
321903
+ -----------------------------------------------------------
321904
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321905
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321906
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321907
+  (0.1ms) rollback transaction
321908
+  (0.0ms) begin transaction
321909
+ ------------------------------------------------------------------------------------
321910
+ PolyBelongsTo::FakedCollection: test_0015_build #instance_of? FakedCollection object
321911
+ ------------------------------------------------------------------------------------
321912
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321913
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321914
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321915
+  (0.1ms) rollback transaction
321916
+  (0.0ms) begin transaction
321917
+ ----------------------------------------------------------
321918
+ PolyBelongsTo::FakedCollection: test_0004_#all is an Array
321919
+ ----------------------------------------------------------
321920
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321921
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321922
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321923
+  (0.1ms) rollback transaction
321924
+  (0.0ms) begin transaction
321925
+ -----------------------------------------------------------------------
321926
+ PolyBelongsTo::FakedCollection: test_0020_#respond_to? :first and :last
321927
+ -----------------------------------------------------------------------
321928
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321929
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321930
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321931
+  (0.1ms) rollback transaction
321932
+  (0.0ms) begin transaction
321933
+ ------------------------------------------------------------------------
321934
+ PolyBelongsTo::FakedCollection: test_0001_#class.name is named correctly
321935
+ ------------------------------------------------------------------------
321936
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321937
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321938
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321939
+  (0.0ms) rollback transaction
321940
+  (0.0ms) begin transaction
321941
+ --------------------------------------------------------------------------------
321942
+ PolyBelongsTo::FakedCollection: test_0013_build #kind_of? FakedCollection object
321943
+ --------------------------------------------------------------------------------
321944
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321945
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321946
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321947
+  (0.0ms) rollback transaction
321948
+  (0.0ms) begin transaction
321949
+ -----------------------------------------------------------------------------
321950
+ PolyBelongsTo::FakedCollection: test_0014_build #is_a? FakedCollection object
321951
+ -----------------------------------------------------------------------------
321952
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321953
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321954
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321955
+  (0.0ms) rollback transaction
321956
+  (0.0ms) begin transaction
321957
+ --------------------------------------------------------------------------
321958
+ PolyBelongsTo::FakedCollection: test_0002_#superclass knows its superclass
321959
+ --------------------------------------------------------------------------
321960
+  (0.0ms) rollback transaction
321961
+  (0.0ms) begin transaction
321962
+ ------------------------------------------------------------
321963
+ PolyBelongsTo::FakedCollection: test_0009_#first is the item
321964
+ ------------------------------------------------------------
321965
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321966
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321967
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321968
+  (0.1ms) rollback transaction
321969
+  (0.0ms) begin transaction
321970
+ ---------------------------------------------------------------------
321971
+ PolyBelongsTo::FakedCollection: test_0016_#build builds appropriately
321972
+ ---------------------------------------------------------------------
321973
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321974
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321975
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321976
+  (0.1ms) SAVEPOINT active_record_1
321977
+ SQL (0.2ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
321978
+  (0.0ms) RELEASE SAVEPOINT active_record_1
321979
+  (0.1ms) rollback transaction
321980
+  (0.1ms) begin transaction
321981
+ --------------------------------------------------------------------------------------
321982
+ PolyBelongsTo::FakedCollection: test_0019_defines #klass to point to inner items class
321983
+ --------------------------------------------------------------------------------------
321984
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321985
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321986
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321987
+  (0.1ms) rollback transaction
321988
+  (0.0ms) begin transaction
321989
+ ----------------------------------------------------------------------
321990
+ PolyBelongsTo::FakedCollection: test_0006_checks validity with #valid?
321991
+ ----------------------------------------------------------------------
321992
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
321993
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
321994
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
321995
+  (0.1ms) rollback transaction
321996
+  (0.1ms) begin transaction
321997
+ -------------------------------------------------------------------------
321998
+ PolyBelongsTo::FakedCollection: test_0017_#build returns self and not nil
321999
+ -------------------------------------------------------------------------
322000
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322001
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322002
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322003
+  (0.1ms) SAVEPOINT active_record_1
322004
+ SQL (0.1ms) DELETE FROM "photos" WHERE "photos"."id" = ? [["id", 971855462]]
322005
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322006
+  (0.1ms) rollback transaction
322007
+  (0.0ms) begin transaction
322008
+ ------------------------------------------------------------------------------------------------
322009
+ PolyBelongsTo::FakedCollection: test_0024_takes nil Objects and returns an empty FakedCollection
322010
+ ------------------------------------------------------------------------------------------------
322011
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322012
+  (0.0ms) rollback transaction
322013
+  (0.0ms) begin transaction
322014
+ ---------------------------------------------------------------------------
322015
+ PolyBelongsTo::FakedCollection: test_0011_#count and #size counts as 1 or 0
322016
+ ---------------------------------------------------------------------------
322017
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322018
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322019
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322020
+  (0.0ms) rollback transaction
322021
+  (0.0ms) begin transaction
322022
+ -----------------------------------------------------------
322023
+ PolyBelongsTo::FakedCollection: test_0010_#last is the item
322024
+ -----------------------------------------------------------
322025
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322026
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322027
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322028
+  (0.0ms) rollback transaction
322029
+  (0.0ms) begin transaction
322030
+ ------------------------------------------------------------------------------------
322031
+ PolyBelongsTo::FakedCollection: test_0012_#ancestors has ActiveRecord::Base ancestor
322032
+ ------------------------------------------------------------------------------------
322033
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322034
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322035
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322036
+  (0.0ms) rollback transaction
322037
+  (0.0ms) begin transaction
322038
+ --------------------------------------------------------------
322039
+ PolyBelongsTo::FakedCollection: test_0008_works with #presence
322040
+ --------------------------------------------------------------
322041
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322042
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322043
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322044
+  (0.1ms) rollback transaction
322045
+  (0.0ms) begin transaction
322046
+ -------------------------------------------------------------------------
322047
+ PolyBelongsTo::FakedCollection: test_0023_will not initialize on has_many
322048
+ -------------------------------------------------------------------------
322049
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322050
+  (0.0ms) rollback transaction
322051
+  (0.0ms) begin transaction
322052
+ -------------------------------------------------------------------
322053
+ PolyBelongsTo::FakedCollection: test_0018_#each loops appropriately
322054
+ -------------------------------------------------------------------
322055
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322056
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322057
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322058
+  (0.0ms) rollback transaction
322059
+  (0.0ms) begin transaction
322060
+ --------------------------------------------------------------------------------------
322061
+ PolyBelongsTo::FakedCollection: test_0022_has method_missing forward appropriate calls
322062
+ --------------------------------------------------------------------------------------
322063
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322064
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? ORDER BY "profiles"."id" ASC LIMIT 1 [["profileable_id", 380377255], ["profileable_type", "User"]]
322065
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 478996145], ["photoable_type", "Profile"]]
322066
+  (0.1ms) rollback transaction
322067
+  (0.1ms) begin transaction
322068
+ -----------------------------------------------------------------------------------------------------------
322069
+ PolyBelongsTo::SingletonSet: test_0003_changes ActiveRecord Objects for method_missing with #formatted_name
322070
+ -----------------------------------------------------------------------------------------------------------
322071
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322072
+  (0.0ms) rollback transaction
322073
+  (0.0ms) begin transaction
322074
+ -------------------------------------------------------------------
322075
+ PolyBelongsTo::SingletonSet: test_0004_can tell you what's included
322076
+ -------------------------------------------------------------------
322077
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322078
+  (0.0ms) rollback transaction
322079
+  (0.0ms) begin transaction
322080
+ --------------------------------------------------------
322081
+ PolyBelongsTo::SingletonSet: test_0005_flags a duplicate
322082
+ --------------------------------------------------------
322083
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322084
+  (0.0ms) rollback transaction
322085
+  (0.0ms) begin transaction
322086
+ ------------------------------------------------------------------------
322087
+ PolyBelongsTo::SingletonSet: test_0001_formats name with #formatted_name
322088
+ ------------------------------------------------------------------------
322089
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322090
+  (0.0ms) rollback transaction
322091
+  (0.0ms) begin transaction
322092
+ ------------------------------------------------------
322093
+ PolyBelongsTo::SingletonSet: test_0002_adds with :add?
322094
+ ------------------------------------------------------
322095
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322096
+  (0.0ms) rollback transaction
322097
+  (0.0ms) begin transaction
322098
+ ---------------------------------------------------------------------
322099
+ PolyBelongsTo::SingletonSet: test_0006_says false for unflagged items
322100
+ ---------------------------------------------------------------------
322101
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322102
+  (0.0ms) rollback transaction
322103
+  (0.1ms) begin transaction
322104
+ ---------------------------------------------------------------------
322105
+ PolyBelongsTo::Core: test_0032_#pbt_parents can show multiple parents
322106
+ ---------------------------------------------------------------------
322107
+ Car Load (0.2ms) SELECT "cars".* FROM "cars" WHERE "cars"."user_id" = ? [["user_id", 1]]
322108
+  (0.0ms) SAVEPOINT active_record_1
322109
+ SQL (0.2ms) INSERT INTO "users" ("id", "created_at", "updated_at") VALUES (?, ?, ?) [["id", 1], ["created_at", "2015-04-01 19:43:55.872191"], ["updated_at", "2015-04-01 19:43:55.872191"]]
322110
+ SQL (0.1ms) INSERT INTO "cars" ("user_id", "created_at", "updated_at") VALUES (?, ?, ?) [["user_id", 1], ["created_at", "2015-04-01 19:43:55.873472"], ["updated_at", "2015-04-01 19:43:55.873472"]]
322111
+ SQL (0.2ms) INSERT INTO "tires" ("user_id", "car_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["user_id", 1], ["car_id", 421646739], ["created_at", "2015-04-01 19:43:55.874470"], ["updated_at", "2015-04-01 19:43:55.874470"]]
322112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
322113
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? ORDER BY "tires"."id" ASC LIMIT 1 [["car_id", 421646739]]
322114
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 1]]
322115
+ Car Load (0.1ms) SELECT "cars".* FROM "cars" WHERE "cars"."id" = ? LIMIT 1 [["id", 421646739]]
322116
+  (0.0ms) SAVEPOINT active_record_1
322117
+ Ssn Load (0.1ms) SELECT "ssns".* FROM "ssns" WHERE "ssns"."user_id" = ? LIMIT 1 [["user_id", 1]]
322118
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."user_id" = ? [["user_id", 1]]
322119
+ Contact Load (0.1ms) SELECT "contacts".* FROM "contacts" WHERE "contacts"."user_id" = ? [["user_id", 1]]
322120
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."profileable_id" = ? AND "profiles"."profileable_type" = ? [["profileable_id", 1], ["profileable_type", "User"]]
322121
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."car_id" = ? [["car_id", 421646739]]
322122
+ SQL (0.2ms) DELETE FROM "tires" WHERE "tires"."id" = ? [["id", 873565850]]
322123
+ SQL (0.1ms) DELETE FROM "cars" WHERE "cars"."id" = ? [["id", 421646739]]
322124
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."user_id" = ? [["user_id", 1]]
322125
+ SQL (0.1ms) DELETE FROM "users" WHERE "users"."id" = ? [["id", 1]]
322126
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322127
+  (0.2ms) rollback transaction
322128
+  (0.1ms) begin transaction
322129
+ ------------------------------------------------------------------------------------
322130
+ PolyBelongsTo::Core: test_0014_#pbt_id_sym Tag belongs to field id symbol as :tag_id
322131
+ ------------------------------------------------------------------------------------
322132
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322133
+  (0.0ms) rollback transaction
322134
+  (0.0ms) begin transaction
322135
+ ---------------------------------------------------------------------------------------
322136
+ PolyBelongsTo::Core: test_0011_#pbt_params_name Phone params name as :phones_attributes
322137
+ ---------------------------------------------------------------------------------------
322138
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322139
+  (0.1ms) rollback transaction
322140
+  (0.0ms) begin transaction
322141
+ -------------------------------------------------------------------------------------
322142
+ PolyBelongsTo::Core: test_0016_#pbt_type_sym User belongs to field type symbol as nil
322143
+ -------------------------------------------------------------------------------------
322144
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322145
+  (0.0ms) rollback transaction
322146
+  (0.1ms) begin transaction
322147
+ ------------------------------------------------------------------------
322148
+ PolyBelongsTo::Core: test_0007_#pbt Phone belongs to table as :phoneable
322149
+ ------------------------------------------------------------------------
322150
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322151
+  (0.1ms) rollback transaction
322152
+  (0.0ms) begin transaction
322153
+ ----------------------------------------------------------------------
322154
+ PolyBelongsTo::Core: test_0033_#pbt_parents one parent for polymorphic
322155
+ ----------------------------------------------------------------------
322156
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."id" = ? LIMIT 1 [["id", 761411935]]
322157
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
322158
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
322159
+  (0.0ms) rollback transaction
322160
+  (0.1ms) begin transaction
322161
+ ---------------------------------------------------------------------------
322162
+ PolyBelongsTo::Core: test_0026_#pbt_parent Tag parent returns user instance
322163
+ ---------------------------------------------------------------------------
322164
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322165
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322166
+  (0.0ms) rollback transaction
322167
+  (0.0ms) begin transaction
322168
+ ------------------------------------------------------------------------------------------
322169
+ PolyBelongsTo::Core: test_0031_#pbt_top_parent with circular relation goes till the repeat
322170
+ ------------------------------------------------------------------------------------------
322171
+  (0.0ms) SAVEPOINT active_record_1
322172
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 19:43:55.904969"], ["updated_at", "2015-04-01 19:43:55.904969"]]
322173
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322174
+  (0.0ms) SAVEPOINT active_record_1
322175
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 141], ["created_at", "2015-04-01 19:43:55.907034"], ["updated_at", "2015-04-01 19:43:55.907034"]]
322176
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322177
+  (0.0ms) SAVEPOINT active_record_1
322178
+ SQL (0.1ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 141], ["created_at", "2015-04-01 19:43:55.909000"], ["updated_at", "2015-04-01 19:43:55.909000"]]
322179
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322180
+  (0.0ms) SAVEPOINT active_record_1
322181
+ SQL (0.1ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 141], ["created_at", "2015-04-01 19:43:55.910835"], ["updated_at", "2015-04-01 19:43:55.910835"]]
322182
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322183
+  (0.0ms) SAVEPOINT active_record_1
322184
+ SQL (0.1ms) UPDATE "alphas" SET "delta_id" = ?, "updated_at" = ? WHERE "alphas"."id" = ? [["delta_id", 141], ["updated_at", "2015-04-01 19:43:55.912283"], ["id", 141]]
322185
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322186
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322187
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322188
+ Capa Load (0.1ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322189
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322190
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322191
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322192
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322193
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322194
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322195
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322196
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322197
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322198
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322199
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322200
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322201
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322202
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322203
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322204
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322205
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322206
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322207
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322208
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322209
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322210
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322211
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322212
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322213
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322214
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322215
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322216
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322217
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322218
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322219
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322220
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322221
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322222
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322223
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322224
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322225
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322226
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322227
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322228
+ Delta Load (0.0ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 141]]
322229
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322230
+  (0.2ms) rollback transaction
322231
+  (0.0ms) begin transaction
322232
+ --------------------------------------------------------------------------------------------
322233
+ PolyBelongsTo::Core: test_0015_#pbt_id_sym Phone belongs to field id symbol as :phoneable_id
322234
+ --------------------------------------------------------------------------------------------
322235
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322236
+  (0.0ms) rollback transaction
322237
+  (0.0ms) begin transaction
322238
+ ----------------------------------------------------------------------------------------------
322239
+ PolyBelongsTo::Core: test_0029_#pbt_parent returns nil if no ID is set for parent relationship
322240
+ ----------------------------------------------------------------------------------------------
322241
+  (0.0ms) SAVEPOINT active_record_1
322242
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 19:43:55.926771"], ["updated_at", "2015-04-01 19:43:55.926771"]]
322243
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322244
+  (0.1ms) rollback transaction
322245
+  (0.1ms) begin transaction
322246
+ -----------------------------------------------------------------------
322247
+ PolyBelongsTo::Core: test_0010_#pbt_params_name Tag params name as :tag
322248
+ -----------------------------------------------------------------------
322249
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322250
+  (0.0ms) rollback transaction
322251
+  (0.0ms) begin transaction
322252
+ --------------------------------------------------------------------------------------
322253
+ PolyBelongsTo::Core: test_0012_#pbt_params_name Phone params name with false as :phone
322254
+ --------------------------------------------------------------------------------------
322255
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322256
+  (0.0ms) rollback transaction
322257
+  (0.0ms) begin transaction
322258
+ ----------------------------------------------------------------
322259
+ PolyBelongsTo::Core: test_0005_#pbt User belongs to table as nil
322260
+ ----------------------------------------------------------------
322261
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322262
+  (0.0ms) rollback transaction
322263
+  (0.0ms) begin transaction
322264
+ ------------------------------------------------------------------------------------
322265
+ PolyBelongsTo::Core: test_0017_#pbt_type_sym Tag belongs to field type symbol as nil
322266
+ ------------------------------------------------------------------------------------
322267
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322268
+  (0.0ms) rollback transaction
322269
+  (0.0ms) begin transaction
322270
+ ------------------------------------------------------------------
322271
+ PolyBelongsTo::Core: test_0025_#pbt_parent User parent returns nil
322272
+ ------------------------------------------------------------------
322273
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322274
+  (0.0ms) rollback transaction
322275
+  (0.0ms) begin transaction
322276
+ ----------------------------------------------------------------------
322277
+ PolyBelongsTo::Core: test_0028_#pbt_parent Profile parent returns user
322278
+ ----------------------------------------------------------------------
322279
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322280
+  (0.0ms) SAVEPOINT active_record_1
322281
+ SQL (0.2ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["profileable_id", 902541635], ["profileable_type", "User"], ["created_at", "2015-04-01 19:43:55.935113"], ["updated_at", "2015-04-01 19:43:55.935113"]]
322282
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322283
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322284
+  (0.1ms) rollback transaction
322285
+  (0.0ms) begin transaction
322286
+ ---------------------------------------------------------------------------------
322287
+ PolyBelongsTo::Core: test_0013_#pbt_id_sym User belongs to field id symbol as nil
322288
+ ---------------------------------------------------------------------------------
322289
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322290
+  (0.0ms) rollback transaction
322291
+  (0.0ms) begin transaction
322292
+ --------------------------------------------------------------------
322293
+ PolyBelongsTo::Core: test_0022_#pbt_type User belongs to type as nil
322294
+ --------------------------------------------------------------------
322295
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322296
+  (0.0ms) rollback transaction
322297
+  (0.0ms) begin transaction
322298
+ ---------------------------------------------------------------------------
322299
+ PolyBelongsTo::Core: test_0024_#pbt_type Phone belongs to type as 'Profile'
322300
+ ---------------------------------------------------------------------------
322301
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322302
+  (0.0ms) rollback transaction
322303
+  (0.0ms) begin transaction
322304
+ ---------------------------------------------------------------------
322305
+ PolyBelongsTo::Core: test_0020_#pbt_id Tag belongs to id as user's id
322306
+ ---------------------------------------------------------------------
322307
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322308
+  (0.0ms) rollback transaction
322309
+  (0.0ms) begin transaction
322310
+ -------------------------------------------------------------------------------------------------------------------------
322311
+ PolyBelongsTo::Core: test_0030_#pbt_top_parent climbs up belongs_to hierarchy to the top; polymorphic relationships first
322312
+ -------------------------------------------------------------------------------------------------------------------------
322313
+  (0.0ms) SAVEPOINT active_record_1
322314
+ SQL (0.2ms) INSERT INTO "alphas" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2015-04-01 19:43:55.941306"], ["updated_at", "2015-04-01 19:43:55.941306"]]
322315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
322316
+  (0.1ms) SAVEPOINT active_record_1
322317
+ SQL (0.2ms) INSERT INTO "beta" ("alpha_id", "created_at", "updated_at") VALUES (?, ?, ?) [["alpha_id", 141], ["created_at", "2015-04-01 19:43:55.943574"], ["updated_at", "2015-04-01 19:43:55.943574"]]
322318
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322319
+  (0.0ms) SAVEPOINT active_record_1
322320
+ SQL (0.1ms) INSERT INTO "capas" ("beta_id", "created_at", "updated_at") VALUES (?, ?, ?) [["beta_id", 141], ["created_at", "2015-04-01 19:43:55.945472"], ["updated_at", "2015-04-01 19:43:55.945472"]]
322321
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322322
+  (0.0ms) SAVEPOINT active_record_1
322323
+ SQL (0.1ms) INSERT INTO "delta" ("capa_id", "created_at", "updated_at") VALUES (?, ?, ?) [["capa_id", 141], ["created_at", "2015-04-01 19:43:55.947276"], ["updated_at", "2015-04-01 19:43:55.947276"]]
322324
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322325
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322326
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322327
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322328
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 141]]
322329
+ Beta Load (0.1ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322330
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322331
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 141]]
322332
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322333
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322334
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 141]]
322335
+  (0.2ms) rollback transaction
322336
+  (0.0ms) begin transaction
322337
+ -----------------------------------------------------
322338
+ PolyBelongsTo::Core: test_0008_#pbts multiple parents
322339
+ -----------------------------------------------------
322340
+ Tire Load (0.1ms) SELECT "tires".* FROM "tires" WHERE "tires"."id" = ? LIMIT 1 [["id", 438300604]]
322341
+  (0.0ms) rollback transaction
322342
+  (0.0ms) begin transaction
322343
+ ----------------------------------------------------------------
322344
+ PolyBelongsTo::Core: test_0019_#pbt_id User belongs to id as nil
322345
+ ----------------------------------------------------------------
322346
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322347
+  (0.0ms) rollback transaction
322348
+  (0.1ms) begin transaction
322349
+ ------------------------------------------
322350
+ PolyBelongsTo::Core: test_0001_is a module
322351
+ ------------------------------------------
322352
+  (0.0ms) rollback transaction
322353
+  (0.0ms) begin transaction
322354
+ -------------------------------------------------------------------
322355
+ PolyBelongsTo::Core: test_0023_#pbt_type Tag belongs to type as nil
322356
+ -------------------------------------------------------------------
322357
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322358
+  (0.0ms) rollback transaction
322359
+  (0.0ms) begin transaction
322360
+ --------------------------------------------------------------------------------------------------
322361
+ PolyBelongsTo::Core: test_0018_#pbt_type_sym Phone belongs to field type symbol as :phoneable_type
322362
+ --------------------------------------------------------------------------------------------------
322363
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322364
+  (0.0ms) rollback transaction
322365
+  (0.0ms) begin transaction
322366
+ ------------------------------------------------------------
322367
+ PolyBelongsTo::Core: test_0003_#poly? Tag as not polymorphic
322368
+ ------------------------------------------------------------
322369
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322370
+  (0.0ms) rollback transaction
322371
+  (0.0ms) begin transaction
322372
+ -------------------------------------------------------------------------------
322373
+ PolyBelongsTo::Core: test_0021_#pbt_id Phone belongs to id as user's profile id
322374
+ -------------------------------------------------------------------------------
322375
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322376
+  (0.0ms) rollback transaction
322377
+  (0.0ms) begin transaction
322378
+ -------------------------------------------------------------------------
322379
+ PolyBelongsTo::Core: test_0009_#pbt_params_name User params name as :user
322380
+ -------------------------------------------------------------------------
322381
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322382
+  (0.1ms) rollback transaction
322383
+  (0.1ms) begin transaction
322384
+ -----------------------------------------------------------------------
322385
+ PolyBelongsTo::Core: test_0027_#pbt_parent Phone parent returns profile
322386
+ -----------------------------------------------------------------------
322387
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322388
+  (0.0ms) SAVEPOINT active_record_1
322389
+ SQL (0.2ms) INSERT INTO "profiles" ("profileable_id", "profileable_type", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["profileable_id", 902541635], ["profileable_type", "User"], ["created_at", "2015-04-01 19:43:55.961677"], ["updated_at", "2015-04-01 19:43:55.961677"]]
322390
+ SQL (0.1ms) INSERT INTO "phones" ("phoneable_type", "phoneable_id", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["phoneable_type", "Profile"], ["phoneable_id", 966629573], ["created_at", "2015-04-01 19:43:55.962892"], ["updated_at", "2015-04-01 19:43:55.962892"]]
322391
+  (0.0ms) RELEASE SAVEPOINT active_record_1
322392
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
322393
+  (0.1ms) rollback transaction
322394
+  (0.0ms) begin transaction
322395
+ ----------------------------------------------------------
322396
+ PolyBelongsTo::Core: test_0004_#poly? Phone as polymorphic
322397
+ ----------------------------------------------------------
322398
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
322399
+  (0.0ms) rollback transaction
322400
+  (0.1ms) begin transaction
322401
+ -----------------------------------------------------------------
322402
+ PolyBelongsTo::Core: test_0006_#pbt Tag belongs to table as :user
322403
+ -----------------------------------------------------------------
322404
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
322405
+  (0.1ms) rollback transaction
322406
+  (0.1ms) begin transaction
322407
+ -------------------------------------------------------------
322408
+ PolyBelongsTo::Core: test_0002_#poly? User as not polymorphic
322409
+ -------------------------------------------------------------
322410
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322411
+  (0.1ms) rollback transaction
322412
+  (0.2ms) begin transaction
322413
+ ------------------------------------------------------------
322414
+ PolyBelongsTo::Dup: test_0002_has method :pbt_deep_dup_build
322415
+ ------------------------------------------------------------
322416
+  (0.2ms) rollback transaction
322417
+  (0.1ms) begin transaction
322418
+ --------------------------------------------------------------------------------------
322419
+ PolyBelongsTo::Dup: test_0004_#pbt_deep_dup_build builds deep copy of dup'd attributes
322420
+ --------------------------------------------------------------------------------------
322421
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
322422
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
322423
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
322424
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
322425
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
322426
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
322427
+ GeoLocation Load (0.0ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
322428
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
322429
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
322430
+  (0.1ms) rollback transaction
322431
+  (0.0ms) begin transaction
322432
+ ------------------------------------------------------------------------------
322433
+ PolyBelongsTo::Dup: test_0003_#pbt_dup_build builds copy from dup'd attributes
322434
+ ------------------------------------------------------------------------------
322435
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
322436
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
322437
+  (0.0ms) rollback transaction
322438
+  (0.0ms) begin transaction
322439
+ -------------------------------------------------------
322440
+ PolyBelongsTo::Dup: test_0001_has method :pbt_dup_build
322441
+ -------------------------------------------------------
322442
+  (0.0ms) rollback transaction
322443
+  (0.0ms) begin transaction
322444
+ -------------------------------------------------------------------------------------------------------
322445
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0001_is a circle
322446
+ -------------------------------------------------------------------------------------------------------
322447
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."id" = ? LIMIT 1 [["id", 140]]
322448
+ Alpha Load (0.0ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."id" = ? LIMIT 1 [["id", 140]]
322449
+ Beta Load (0.0ms) SELECT "beta".* FROM "beta" WHERE "beta"."id" = ? LIMIT 1 [["id", 140]]
322450
+ Capa Load (0.0ms) SELECT "capas".* FROM "capas" WHERE "capas"."id" = ? LIMIT 1 [["id", 140]]
322451
+  (0.0ms) rollback transaction
322452
+  (0.0ms) begin transaction
322453
+ ----------------------------------------------------------------------------------------------------------------------------------------
322454
+ PolyBelongsTo::Dup #pbt_deep_dup_build handles circular references like a champ!: test_0002_clones without duplicating cirular reference
322455
+ ----------------------------------------------------------------------------------------------------------------------------------------
322456
+ Capa Load (0.2ms) SELECT "capas".* FROM "capas" WHERE "capas"."beta_id" = ? [["beta_id", 140]]
322457
+ Delta Load (0.1ms) SELECT "delta".* FROM "delta" WHERE "delta"."capa_id" = ? [["capa_id", 140]]
322458
+ Alpha Load (0.1ms) SELECT "alphas".* FROM "alphas" WHERE "alphas"."delta_id" = ? [["delta_id", 140]]
322459
+ Beta Load (0.2ms) SELECT "beta".* FROM "beta" WHERE "beta"."alpha_id" = ? [["alpha_id", 140]]
322460
+  (0.1ms) rollback transaction