poly_belongs_to 0.1.5 → 0.1.6
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.
- checksums.yaml +4 -4
- data/lib/poly_belongs_to/poly_belongs_to.rb +4 -0
- data/lib/poly_belongs_to/version.rb +1 -1
- data/test/dummy/app/models/phone.rb +1 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/test.log +4128 -0
- data/test/dup_test.rb +13 -7
- data/test/pbt_test.rb +21 -6
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83e5505c4c5c26183c2dfa5f8d85fdae05961441
|
4
|
+
data.tar.gz: e5e52a5f7f72f4c6b44ec06d499fd108e676faf3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54de1623a7a0534038290b76cb9a85731c62466870c3634dc29690c5c77bf6e87756cc406fc908b9e1ce0ad418f1ba14a203a5cbf233566f4939416d2dcda20c
|
7
|
+
data.tar.gz: 36a62d5c63c4474f9840feb49b2c2ce743a8958b12a875a1b03df49018f97682acfb9d5a9c14ac03ba6c496d9a3e4587b933762d20881c3c4ee0b0d4490e89f1
|
@@ -8,11 +8,13 @@ module PolyBelongsTo
|
|
8
8
|
}
|
9
9
|
|
10
10
|
BuildCmd = lambda {|obj, child|
|
11
|
+
return nil unless obj && child
|
11
12
|
dup_name = "#{CollectionProxy[obj,child]}"
|
12
13
|
IsSingular[obj, child] ? "build_#{dup_name}" : IsPlural[obj, child] ? "#{dup_name}.build" : nil
|
13
14
|
}
|
14
15
|
|
15
16
|
Reflects = lambda {|obj|
|
17
|
+
return [] unless obj
|
16
18
|
[:has_one, :has_many].map { |has|
|
17
19
|
eval(obj.class.name).reflect_on_all_associations(has).map(&:name).map(&:to_sym)
|
18
20
|
}.flatten
|
@@ -29,6 +31,7 @@ module PolyBelongsTo
|
|
29
31
|
}
|
30
32
|
|
31
33
|
SingularOrPlural = lambda {|obj, child|
|
34
|
+
return nil unless obj && child
|
32
35
|
reflects = Reflects[obj]
|
33
36
|
if reflects.include?(ActiveModel::Naming.singular(child).to_sym)
|
34
37
|
:singular
|
@@ -48,6 +51,7 @@ module PolyBelongsTo
|
|
48
51
|
}
|
49
52
|
|
50
53
|
CollectionProxy = lambda {|obj, child|
|
54
|
+
return nil unless obj && child
|
51
55
|
reflects = Reflects[obj]
|
52
56
|
proxy = ActiveModel::Naming.singular(child).to_sym
|
53
57
|
return proxy if reflects.include? proxy
|
data/test/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/test/dummy/log/test.log
CHANGED
@@ -67667,3 +67667,4131 @@ PolyBelongsToTest: test_0027_Profile parent returns user
|
|
67667
67667
|
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67668
67668
|
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67669
67669
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67670
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
67671
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
67672
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 576421514, 'Address', 761411935)[0m
|
67673
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 458139734, 'GeoLocation', 343404421)
|
67674
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 396855775, 'Address', 1057142427)[0m
|
67675
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 783441669, 'GeoLocation', 102195269)
|
67676
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 106545386, 'Address', 633598004)[0m
|
67677
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 1061951038, 'GeoLocation', 483796712)
|
67678
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
67679
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '24f44f9e46372fde78e094c7b80f2430', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 761411935)
|
67680
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '70104ca0e3d66a018ed6d36970834a87', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 1057142427)[0m
|
67681
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '60c13b28161a63ae6a961b90e6b0137f', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 633598004)
|
67682
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
67683
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '66b53a8326e174feb679746e04b89ae2', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 775134066)
|
67684
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '6bf53af1100d819d5e94a44a84ec2230', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 971855462)[0m
|
67685
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '9433ed6833b4d47c2649821f60856683', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 1032612456)
|
67686
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
67687
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', 'e7c3a6c5dccfb43b3e74a6abac517332', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 261299535)
|
67688
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', 'e3b0845b8c5ee78ee3066e1072df2b18', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 478996145)[0m
|
67689
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'e0bd825fd8b5360fcfacf432819d44fd', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 966629572)
|
67690
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
67691
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'c8da6327010f3e096823fb6d95176a3e', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 343404421)
|
67692
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, 'ae93d53ee0b8d296ed9e5268de89face', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 102195269)[0m
|
67693
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '71b42f24a14cfe0c65fe281f8795923f', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 483796712)
|
67694
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
67695
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'a6707aebc44e5793ebf4672bac64a176', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 1053526200)
|
67696
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'ade2e7943a0298e51a9dd5ac930e7af5', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 689259936)[0m
|
67697
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'da01d89ad6db1263c915832de84c996e', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 762608046)
|
67698
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
67699
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 902541635)
|
67700
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 380377255)[0m
|
67701
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 619379998)
|
67702
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
67703
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '5aa76ff9224cc7bcfbb4f5c48e6511ff', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 884173432)
|
67704
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'd069f50a8a01d595ca33029f859a8527', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 1035759634)[0m
|
67705
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'b6fbc8dda21e391053ead5bdb028a811', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 471587404)
|
67706
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
67707
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '984102b197228f2f80bb154e0da5ab7e', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 819246218)
|
67708
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '4b90e9bda1adea715de2de3e721d5ed9', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 970698464)[0m
|
67709
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '9e0708e9dbcd54c7a36d931d6c40b6f2', '2015-02-21 00:54:47', '2015-02-21 00:54:47', 410780858)
|
67710
|
+
[1m[36m (26.8ms)[0m [1mcommit transaction[0m
|
67711
|
+
[1m[35m (0.2ms)[0m begin transaction
|
67712
|
+
-------------------------------------------
|
67713
|
+
DupTest: test_0001_has method pbt_dup_build
|
67714
|
+
-------------------------------------------
|
67715
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
67716
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67717
|
+
------------------------------------------------
|
67718
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
67719
|
+
------------------------------------------------
|
67720
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67721
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67722
|
+
----------------------------------------------------
|
67723
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
67724
|
+
----------------------------------------------------
|
67725
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67726
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
67727
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67728
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67729
|
+
-------------------------------------------------------
|
67730
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
67731
|
+
-------------------------------------------------------
|
67732
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
67733
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
67734
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
67735
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
67736
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
67737
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67738
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67739
|
+
---------------------------------------------------------------
|
67740
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
67741
|
+
---------------------------------------------------------------
|
67742
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67743
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67745
|
+
-------------------------------------------------
|
67746
|
+
PbtTest: test_0002_BuildCmd returns build command
|
67747
|
+
-------------------------------------------------
|
67748
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
67749
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67751
|
+
----------------------------------------------------------------------
|
67752
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
67753
|
+
----------------------------------------------------------------------
|
67754
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
67755
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67757
|
+
----------------------------------------------------------------------
|
67758
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
67759
|
+
----------------------------------------------------------------------
|
67760
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
67761
|
+
[1m[35mPhoto Load (0.0ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
67762
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67763
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67764
|
+
-----------------------------------------------------
|
67765
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
67766
|
+
-----------------------------------------------------
|
67767
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
67768
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67769
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67770
|
+
----------------------------------------------------------------
|
67771
|
+
PbtTest: test_0006_SingularOrPlural respongs for child relations
|
67772
|
+
----------------------------------------------------------------
|
67773
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
67774
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67775
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67776
|
+
----------------------------------------------------
|
67777
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
67778
|
+
----------------------------------------------------
|
67779
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
67780
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67781
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67782
|
+
--------------------------------------------------
|
67783
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
67784
|
+
--------------------------------------------------
|
67785
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
67786
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67787
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67788
|
+
-----------------------------------------------------------------
|
67789
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
67790
|
+
-----------------------------------------------------------------
|
67791
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
67792
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67793
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67794
|
+
----------------------------------------
|
67795
|
+
PolyBelongsToTest: test_0001_is a module
|
67796
|
+
----------------------------------------
|
67797
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67798
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
67799
|
+
----------------------------------------------------
|
67800
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
67801
|
+
----------------------------------------------------
|
67802
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67803
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67804
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67805
|
+
---------------------------------------------------
|
67806
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
67807
|
+
---------------------------------------------------
|
67808
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
67809
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67811
|
+
-------------------------------------------------
|
67812
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
67813
|
+
-------------------------------------------------
|
67814
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
67815
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67817
|
+
---------------------------------------------------------
|
67818
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
67819
|
+
---------------------------------------------------------
|
67820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67821
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67823
|
+
----------------------------------------------------------
|
67824
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
67825
|
+
----------------------------------------------------------
|
67826
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
67827
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67829
|
+
-----------------------------------------------------------------
|
67830
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
67831
|
+
-----------------------------------------------------------------
|
67832
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
67833
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67835
|
+
------------------------------------------------------
|
67836
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
67837
|
+
------------------------------------------------------
|
67838
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67839
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67840
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67841
|
+
----------------------------------------------------
|
67842
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
67843
|
+
----------------------------------------------------
|
67844
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
67845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67847
|
+
--------------------------------------------------------------------
|
67848
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
67849
|
+
--------------------------------------------------------------------
|
67850
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
67851
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67852
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67853
|
+
-------------------------------------------------------------------
|
67854
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
67855
|
+
-------------------------------------------------------------------
|
67856
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
67857
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67859
|
+
-------------------------------------------------------------------
|
67860
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
67861
|
+
-------------------------------------------------------------------
|
67862
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67863
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67865
|
+
----------------------------------------------------------------------
|
67866
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
67867
|
+
----------------------------------------------------------------------
|
67868
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
67869
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67871
|
+
------------------------------------------------------------------------------
|
67872
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
67873
|
+
------------------------------------------------------------------------------
|
67874
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
67875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67876
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67877
|
+
---------------------------------------------------------------------
|
67878
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
67879
|
+
---------------------------------------------------------------------
|
67880
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67881
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67882
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67883
|
+
--------------------------------------------------------------------
|
67884
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
67885
|
+
--------------------------------------------------------------------
|
67886
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
67887
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67889
|
+
----------------------------------------------------------------------------------
|
67890
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
67891
|
+
----------------------------------------------------------------------------------
|
67892
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
67893
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67894
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67895
|
+
------------------------------------------------------
|
67896
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
67897
|
+
------------------------------------------------------
|
67898
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67899
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67901
|
+
-----------------------------------------------------------
|
67902
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
67903
|
+
-----------------------------------------------------------
|
67904
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
67905
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67906
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67907
|
+
---------------------------------------------------------------------
|
67908
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
67909
|
+
---------------------------------------------------------------------
|
67910
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
67911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67913
|
+
--------------------------------------------------------
|
67914
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
67915
|
+
--------------------------------------------------------
|
67916
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67917
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67918
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67919
|
+
-------------------------------------------------------
|
67920
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
67921
|
+
-------------------------------------------------------
|
67922
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
67923
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67925
|
+
---------------------------------------------------------------
|
67926
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
67927
|
+
---------------------------------------------------------------
|
67928
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
67929
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
67930
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
67931
|
+
----------------------------------------------------
|
67932
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
67933
|
+
----------------------------------------------------
|
67934
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67935
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
67936
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67937
|
+
-------------------------------------------------------------
|
67938
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
67939
|
+
-------------------------------------------------------------
|
67940
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67941
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
67942
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67943
|
+
[1m[35m (0.0ms)[0m begin transaction
|
67944
|
+
---------------------------------------------------------
|
67945
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
67946
|
+
---------------------------------------------------------
|
67947
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67948
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
67949
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00]]
|
67950
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00]]
|
67951
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
67952
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
67953
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
67954
|
+
[1m[35m (0.1ms)[0m begin transaction
|
67955
|
+
--------------------------------------------------------
|
67956
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
67957
|
+
--------------------------------------------------------
|
67958
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67959
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
67960
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 00:54:47 UTC +00:00]]
|
67961
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
67962
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
67963
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
67964
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
67965
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
67966
|
+
[1m[36mFixture Insert (0.2ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 576421514, 'Address', 761411935)[0m
|
67967
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 458139734, 'GeoLocation', 343404421)
|
67968
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 396855775, 'Address', 1057142427)[0m
|
67969
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 783441669, 'GeoLocation', 102195269)
|
67970
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 106545386, 'Address', 633598004)[0m
|
67971
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 1061951038, 'GeoLocation', 483796712)
|
67972
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
67973
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '0a7b96090aa5de2b9db499bf82400e5b', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 761411935)
|
67974
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'ff169d530fd38f6083e64c5b737e635a', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 1057142427)[0m
|
67975
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'd4d86a015813ac15548b3fb657293959', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 633598004)
|
67976
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
67977
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '700aa14eae4113800b6a3edc145447c9', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 775134066)
|
67978
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '641a53b97a06d2018c89acb22ffb1eb9', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 971855462)[0m
|
67979
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '0246d967aed51431c7286e7719898314', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 1032612456)
|
67980
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "profiles"[0m
|
67981
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '8323152ea21dd85b70477f2eb39ebae3', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 261299535)
|
67982
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', 'c4d2e261adee09e858262be1976f3628', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 478996145)[0m
|
67983
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'c7d42ad599413cb384cba45c56e07bb8', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 966629572)
|
67984
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
67985
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '610480794c71795180b40ca36503a7e4', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 343404421)
|
67986
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '15ab5ed5eebf4e90463192b0a936703b', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 102195269)[0m
|
67987
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'ca6de633e26e5ab24837858910d55c0f', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 483796712)
|
67988
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
67989
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '4aa8cd286cee85726013af2dd6c04f0a', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 1053526200)
|
67990
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '7c5a59a04844f2c04f6ec4468c420b47', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 689259936)[0m
|
67991
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '2a377d99a4c4eb8a9de237e8b8118f27', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 762608046)
|
67992
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
67993
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 902541635)
|
67994
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 380377255)[0m
|
67995
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 619379998)
|
67996
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
67997
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'c78e06ba9fb67f2b2a0e35b4dc49cc4c', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 884173432)
|
67998
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '4857bbd48c75e869ef9ad4b8adea800c', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 1035759634)[0m
|
67999
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'ca8b8e2e47a92096cba329a411ccbb4a', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 471587404)
|
68000
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
68001
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '55c57df142ae0f805482d1228fe79e45', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 819246218)
|
68002
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'ded81468dfc63986b1ea89745eae470a', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 970698464)[0m
|
68003
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'e0565c2780eb9b9005a5bd32a9364d0b', '2015-02-21 01:07:13', '2015-02-21 01:07:13', 410780858)
|
68004
|
+
[1m[36m (15.2ms)[0m [1mcommit transaction[0m
|
68005
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68006
|
+
-------------------------------------------
|
68007
|
+
DupTest: test_0001_has method pbt_dup_build
|
68008
|
+
-------------------------------------------
|
68009
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68010
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68011
|
+
------------------------------------------------
|
68012
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
68013
|
+
------------------------------------------------
|
68014
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68015
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68016
|
+
----------------------------------------------------
|
68017
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
68018
|
+
----------------------------------------------------
|
68019
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68020
|
+
[1m[35mProfile Load (0.3ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68021
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68022
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68023
|
+
-------------------------------------------------------
|
68024
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
68025
|
+
-------------------------------------------------------
|
68026
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
68027
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68028
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68029
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
68030
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
68031
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68032
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68033
|
+
---------------------------------------------------------------
|
68034
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
68035
|
+
---------------------------------------------------------------
|
68036
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68037
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68038
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68039
|
+
-------------------------------------------------
|
68040
|
+
PbtTest: test_0002_BuildCmd returns build command
|
68041
|
+
-------------------------------------------------
|
68042
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68043
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68044
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68045
|
+
----------------------------------------------------------------------
|
68046
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
68047
|
+
----------------------------------------------------------------------
|
68048
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68049
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68050
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68051
|
+
----------------------------------------------------------------------
|
68052
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
68053
|
+
----------------------------------------------------------------------
|
68054
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68055
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68056
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68057
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68058
|
+
-----------------------------------------------------
|
68059
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
68060
|
+
-----------------------------------------------------
|
68061
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68062
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68064
|
+
----------------------------------------------------------------
|
68065
|
+
PbtTest: test_0006_SingularOrPlural respongs for child relations
|
68066
|
+
----------------------------------------------------------------
|
68067
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68068
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68069
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68070
|
+
----------------------------------------------------
|
68071
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
68072
|
+
----------------------------------------------------
|
68073
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68074
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68075
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68076
|
+
--------------------------------------------------
|
68077
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
68078
|
+
--------------------------------------------------
|
68079
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68080
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68081
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68082
|
+
-----------------------------------------------------------------
|
68083
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
68084
|
+
-----------------------------------------------------------------
|
68085
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68086
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68087
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68088
|
+
----------------------------------------
|
68089
|
+
PolyBelongsToTest: test_0001_is a module
|
68090
|
+
----------------------------------------
|
68091
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68092
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68093
|
+
----------------------------------------------------
|
68094
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
68095
|
+
----------------------------------------------------
|
68096
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68097
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68098
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68099
|
+
---------------------------------------------------
|
68100
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
68101
|
+
---------------------------------------------------
|
68102
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68103
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68104
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68105
|
+
-------------------------------------------------
|
68106
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
68107
|
+
-------------------------------------------------
|
68108
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68109
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68110
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68111
|
+
---------------------------------------------------------
|
68112
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
68113
|
+
---------------------------------------------------------
|
68114
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68115
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68116
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68117
|
+
----------------------------------------------------------
|
68118
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
68119
|
+
----------------------------------------------------------
|
68120
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68121
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68122
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68123
|
+
-----------------------------------------------------------------
|
68124
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
68125
|
+
-----------------------------------------------------------------
|
68126
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68127
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68128
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68129
|
+
------------------------------------------------------
|
68130
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
68131
|
+
------------------------------------------------------
|
68132
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68133
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68134
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68135
|
+
----------------------------------------------------
|
68136
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
68137
|
+
----------------------------------------------------
|
68138
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68139
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68140
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68141
|
+
--------------------------------------------------------------------
|
68142
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
68143
|
+
--------------------------------------------------------------------
|
68144
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68145
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68146
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68147
|
+
-------------------------------------------------------------------
|
68148
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
68149
|
+
-------------------------------------------------------------------
|
68150
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68151
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68152
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68153
|
+
-------------------------------------------------------------------
|
68154
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
68155
|
+
-------------------------------------------------------------------
|
68156
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68157
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68158
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68159
|
+
----------------------------------------------------------------------
|
68160
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
68161
|
+
----------------------------------------------------------------------
|
68162
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68163
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68164
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68165
|
+
------------------------------------------------------------------------------
|
68166
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
68167
|
+
------------------------------------------------------------------------------
|
68168
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68169
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68170
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68171
|
+
---------------------------------------------------------------------
|
68172
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
68173
|
+
---------------------------------------------------------------------
|
68174
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68175
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68176
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68177
|
+
--------------------------------------------------------------------
|
68178
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
68179
|
+
--------------------------------------------------------------------
|
68180
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68181
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68182
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68183
|
+
----------------------------------------------------------------------------------
|
68184
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
68185
|
+
----------------------------------------------------------------------------------
|
68186
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68187
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68188
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68189
|
+
------------------------------------------------------
|
68190
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
68191
|
+
------------------------------------------------------
|
68192
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68193
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68194
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68195
|
+
-----------------------------------------------------------
|
68196
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
68197
|
+
-----------------------------------------------------------
|
68198
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68199
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68200
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68201
|
+
---------------------------------------------------------------------
|
68202
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
68203
|
+
---------------------------------------------------------------------
|
68204
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68205
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68206
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68207
|
+
--------------------------------------------------------
|
68208
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
68209
|
+
--------------------------------------------------------
|
68210
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68211
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68212
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68213
|
+
-------------------------------------------------------
|
68214
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
68215
|
+
-------------------------------------------------------
|
68216
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68217
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68218
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68219
|
+
---------------------------------------------------------------
|
68220
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
68221
|
+
---------------------------------------------------------------
|
68222
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68223
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68224
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68225
|
+
----------------------------------------------------
|
68226
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
68227
|
+
----------------------------------------------------
|
68228
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68229
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68230
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68231
|
+
-------------------------------------------------------------
|
68232
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
68233
|
+
-------------------------------------------------------------
|
68234
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68235
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68236
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68238
|
+
---------------------------------------------------------
|
68239
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
68240
|
+
---------------------------------------------------------
|
68241
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68242
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68243
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00]]
|
68244
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00]]
|
68245
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68246
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
68247
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68249
|
+
--------------------------------------------------------
|
68250
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
68251
|
+
--------------------------------------------------------
|
68252
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68253
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68254
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:07:13 UTC +00:00]]
|
68255
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68256
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68257
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68258
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
68259
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
68260
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 576421514, 'Address', 761411935)[0m
|
68261
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 458139734, 'GeoLocation', 343404421)
|
68262
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 396855775, 'Address', 1057142427)[0m
|
68263
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 783441669, 'GeoLocation', 102195269)
|
68264
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 106545386, 'Address', 633598004)[0m
|
68265
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 1061951038, 'GeoLocation', 483796712)
|
68266
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
68267
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'a22f78983016c92412a464a51db5fe04', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 761411935)
|
68268
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '7f1449c31a595d15535de8c7ebae1d27', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 1057142427)[0m
|
68269
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'c44ff4d5a2558d40ac2ce0033b1bf388', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 633598004)
|
68270
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
68271
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'ea28fbc320d00468df455b79a1551cf4', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 775134066)
|
68272
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'a57e20fb7e6505851879c6a9332b3769', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 971855462)[0m
|
68273
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '238a6f58bc6293b7d1efb33d147b8a12', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 1032612456)
|
68274
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
68275
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '2ba93534c1f6b2d99b428f15dc9c0925', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 261299535)
|
68276
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '55142a89df1befa50594081e437d1852', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 478996145)[0m
|
68277
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'be73d366e140b41d49a904110a2370b0', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 966629572)
|
68278
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
68279
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'b97e29c1caf7781b292620474bf0f6ec', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 343404421)
|
68280
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '655f662272ebd4ceb5bc445f05df829b', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 102195269)[0m
|
68281
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '5db44b2c0288ef95b7408f82d35645f6', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 483796712)
|
68282
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
68283
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'dbd0dd6df6fc84d364882f8adf62184e', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 1053526200)
|
68284
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '333b693a0f188f330424bff474bf1166', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 689259936)[0m
|
68285
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '4d5a21fc4d314aa1cd2c2de1331567d9', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 762608046)
|
68286
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
68287
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 902541635)
|
68288
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 380377255)[0m
|
68289
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 619379998)
|
68290
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
68291
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'e504ef180bec540963570dd4f8e35e24', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 884173432)
|
68292
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'c6f0e276cac18b3b16f80165ec548eb8', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 1035759634)[0m
|
68293
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'db1c3b494e86d465de1f9d6e13cb5c1c', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 471587404)
|
68294
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
68295
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'a44d4a5fb27296943e31e9a0a900be0f', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 819246218)
|
68296
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'ef0ca911a91f668415553e483724cc05', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 970698464)[0m
|
68297
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '7a97644dea33b5e7260dbdccc9353fbd', '2015-02-21 01:09:00', '2015-02-21 01:09:00', 410780858)
|
68298
|
+
[1m[36m (13.5ms)[0m [1mcommit transaction[0m
|
68299
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68300
|
+
-------------------------------------------
|
68301
|
+
DupTest: test_0001_has method pbt_dup_build
|
68302
|
+
-------------------------------------------
|
68303
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68304
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68305
|
+
------------------------------------------------
|
68306
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
68307
|
+
------------------------------------------------
|
68308
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68309
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68310
|
+
----------------------------------------------------
|
68311
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
68312
|
+
----------------------------------------------------
|
68313
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68314
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68315
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68316
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68317
|
+
-------------------------------------------------------
|
68318
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
68319
|
+
-------------------------------------------------------
|
68320
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
68321
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68322
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68323
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
68324
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
68325
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68327
|
+
---------------------------------------------------------------
|
68328
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
68329
|
+
---------------------------------------------------------------
|
68330
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68331
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68332
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68333
|
+
-------------------------------------------------
|
68334
|
+
PbtTest: test_0002_BuildCmd returns build command
|
68335
|
+
-------------------------------------------------
|
68336
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68337
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68338
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68339
|
+
----------------------------------------------------------------------
|
68340
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
68341
|
+
----------------------------------------------------------------------
|
68342
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68343
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68344
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68345
|
+
----------------------------------------------------------------------
|
68346
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
68347
|
+
----------------------------------------------------------------------
|
68348
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68349
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68350
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68351
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68352
|
+
-----------------------------------------------------
|
68353
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
68354
|
+
-----------------------------------------------------
|
68355
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68356
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68357
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68358
|
+
----------------------------------------------------------------
|
68359
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
68360
|
+
----------------------------------------------------------------
|
68361
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68362
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68363
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68364
|
+
----------------------------------------------------
|
68365
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
68366
|
+
----------------------------------------------------
|
68367
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68370
|
+
--------------------------------------------------
|
68371
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
68372
|
+
--------------------------------------------------
|
68373
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68374
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68375
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68376
|
+
-----------------------------------------------------------------
|
68377
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
68378
|
+
-----------------------------------------------------------------
|
68379
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68382
|
+
----------------------------------------
|
68383
|
+
PolyBelongsToTest: test_0001_is a module
|
68384
|
+
----------------------------------------
|
68385
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68386
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68387
|
+
----------------------------------------------------
|
68388
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
68389
|
+
----------------------------------------------------
|
68390
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68391
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68393
|
+
---------------------------------------------------
|
68394
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
68395
|
+
---------------------------------------------------
|
68396
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68397
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68398
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68399
|
+
-------------------------------------------------
|
68400
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
68401
|
+
-------------------------------------------------
|
68402
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68403
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68404
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68405
|
+
---------------------------------------------------------
|
68406
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
68407
|
+
---------------------------------------------------------
|
68408
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68409
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68410
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68411
|
+
----------------------------------------------------------
|
68412
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
68413
|
+
----------------------------------------------------------
|
68414
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68415
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68416
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68417
|
+
-----------------------------------------------------------------
|
68418
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
68419
|
+
-----------------------------------------------------------------
|
68420
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68421
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68422
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68423
|
+
------------------------------------------------------
|
68424
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
68425
|
+
------------------------------------------------------
|
68426
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68427
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68429
|
+
----------------------------------------------------
|
68430
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
68431
|
+
----------------------------------------------------
|
68432
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68433
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68434
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68435
|
+
--------------------------------------------------------------------
|
68436
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
68437
|
+
--------------------------------------------------------------------
|
68438
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68439
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68440
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68441
|
+
-------------------------------------------------------------------
|
68442
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
68443
|
+
-------------------------------------------------------------------
|
68444
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68445
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68446
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68447
|
+
-------------------------------------------------------------------
|
68448
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
68449
|
+
-------------------------------------------------------------------
|
68450
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68451
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68452
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68453
|
+
----------------------------------------------------------------------
|
68454
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
68455
|
+
----------------------------------------------------------------------
|
68456
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68457
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68458
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68459
|
+
------------------------------------------------------------------------------
|
68460
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
68461
|
+
------------------------------------------------------------------------------
|
68462
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68463
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68464
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68465
|
+
---------------------------------------------------------------------
|
68466
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
68467
|
+
---------------------------------------------------------------------
|
68468
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68469
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68470
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68471
|
+
--------------------------------------------------------------------
|
68472
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
68473
|
+
--------------------------------------------------------------------
|
68474
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68475
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68476
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68477
|
+
----------------------------------------------------------------------------------
|
68478
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
68479
|
+
----------------------------------------------------------------------------------
|
68480
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68481
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68482
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68483
|
+
------------------------------------------------------
|
68484
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
68485
|
+
------------------------------------------------------
|
68486
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68487
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68488
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68489
|
+
-----------------------------------------------------------
|
68490
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
68491
|
+
-----------------------------------------------------------
|
68492
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68493
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68494
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68495
|
+
---------------------------------------------------------------------
|
68496
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
68497
|
+
---------------------------------------------------------------------
|
68498
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68499
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68500
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68501
|
+
--------------------------------------------------------
|
68502
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
68503
|
+
--------------------------------------------------------
|
68504
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68505
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68506
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68507
|
+
-------------------------------------------------------
|
68508
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
68509
|
+
-------------------------------------------------------
|
68510
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68511
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68513
|
+
---------------------------------------------------------------
|
68514
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
68515
|
+
---------------------------------------------------------------
|
68516
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68517
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68518
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68519
|
+
----------------------------------------------------
|
68520
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
68521
|
+
----------------------------------------------------
|
68522
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68523
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68524
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68525
|
+
-------------------------------------------------------------
|
68526
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
68527
|
+
-------------------------------------------------------------
|
68528
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68529
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68530
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68531
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68532
|
+
---------------------------------------------------------
|
68533
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
68534
|
+
---------------------------------------------------------
|
68535
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68536
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68537
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00]]
|
68538
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00]]
|
68539
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68540
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
68541
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68542
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68543
|
+
--------------------------------------------------------
|
68544
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
68545
|
+
--------------------------------------------------------
|
68546
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68547
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68548
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:00 UTC +00:00]]
|
68549
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68550
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68551
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68552
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
68553
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
68554
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 576421514, 'Address', 761411935)[0m
|
68555
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 458139734, 'GeoLocation', 343404421)
|
68556
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 396855775, 'Address', 1057142427)[0m
|
68557
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 783441669, 'GeoLocation', 102195269)
|
68558
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 106545386, 'Address', 633598004)[0m
|
68559
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 1061951038, 'GeoLocation', 483796712)
|
68560
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
68561
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '0b0e70bc39fd0fa4619f74de616d93b2', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 761411935)
|
68562
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '31a2300e4b881aea59c10bc32c7283ae', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 1057142427)[0m
|
68563
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'e0b28123d2a11fb00de00ec8f0ff1ad0', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 633598004)
|
68564
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
68565
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '1c12f6be21077473842a73d5583846f1', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 775134066)
|
68566
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '6834fc2e8e307ca2e7843bbe18c45589', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 971855462)[0m
|
68567
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '95d71cece9ac010a98ea9960119494d1', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 1032612456)
|
68568
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
68569
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '2084c8433b22f533047af7943a268cac', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 261299535)
|
68570
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '9d19d089f23fe4e984c241ffbee05fbe', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 478996145)[0m
|
68571
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'c9e4a825799363d4e41c71adbfc4d1ab', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 966629572)
|
68572
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
68573
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'ca9489fb158ace5134f11f71b756ade4', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 343404421)
|
68574
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '627c27ff96ba5c730b46cc1d7be8da93', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 102195269)[0m
|
68575
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '2c52bf5c20c2a99285a79020e433c7fb', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 483796712)
|
68576
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
68577
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'ba363bf94dc062d52932a05f9a4e360a', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 1053526200)
|
68578
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '0d9c532cdf873c3dc88d6642f2f7a07b', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 689259936)[0m
|
68579
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '992f8fbfeec64c3bb4b89fd75d220d9e', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 762608046)
|
68580
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
68581
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 902541635)
|
68582
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 380377255)[0m
|
68583
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 619379998)
|
68584
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
68585
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'ba629680b4b63d4c7781726763846fce', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 884173432)
|
68586
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'e1dfd533d752ab99ab7939fc6bc1e198', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 1035759634)[0m
|
68587
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '843848c23bfcf4f97a920986d4187ddc', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 471587404)
|
68588
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
68589
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '14872dc21200eeb1ac087bc73962bd35', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 819246218)
|
68590
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '7a7383f4ffa9d7888d751575433eaedf', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 970698464)[0m
|
68591
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '9c1cd6b2d3b4a8d800570f888dcb5f7d', '2015-02-21 01:09:21', '2015-02-21 01:09:21', 410780858)
|
68592
|
+
[1m[36m (14.0ms)[0m [1mcommit transaction[0m
|
68593
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68594
|
+
-------------------------------------------
|
68595
|
+
DupTest: test_0001_has method pbt_dup_build
|
68596
|
+
-------------------------------------------
|
68597
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68598
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68599
|
+
------------------------------------------------
|
68600
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
68601
|
+
------------------------------------------------
|
68602
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68603
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68604
|
+
----------------------------------------------------
|
68605
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
68606
|
+
----------------------------------------------------
|
68607
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68608
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68609
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68610
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68611
|
+
-------------------------------------------------------
|
68612
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
68613
|
+
-------------------------------------------------------
|
68614
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
68615
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68616
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68617
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
68618
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
68619
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68621
|
+
---------------------------------------------------------------
|
68622
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
68623
|
+
---------------------------------------------------------------
|
68624
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68625
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68626
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68627
|
+
-------------------------------------------------
|
68628
|
+
PbtTest: test_0002_BuildCmd returns build command
|
68629
|
+
-------------------------------------------------
|
68630
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68633
|
+
----------------------------------------------------------------------
|
68634
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
68635
|
+
----------------------------------------------------------------------
|
68636
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68637
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68639
|
+
----------------------------------------------------------------------
|
68640
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
68641
|
+
----------------------------------------------------------------------
|
68642
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68643
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68644
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68645
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68646
|
+
-----------------------------------------------------
|
68647
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
68648
|
+
-----------------------------------------------------
|
68649
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68650
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68651
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68652
|
+
----------------------------------------------------------------
|
68653
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
68654
|
+
----------------------------------------------------------------
|
68655
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68656
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68657
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68658
|
+
----------------------------------------------------
|
68659
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
68660
|
+
----------------------------------------------------
|
68661
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68662
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68663
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68664
|
+
--------------------------------------------------
|
68665
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
68666
|
+
--------------------------------------------------
|
68667
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68668
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68669
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68670
|
+
-----------------------------------------------------------------
|
68671
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
68672
|
+
-----------------------------------------------------------------
|
68673
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68674
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68675
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68676
|
+
----------------------------------------
|
68677
|
+
PolyBelongsToTest: test_0001_is a module
|
68678
|
+
----------------------------------------
|
68679
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68681
|
+
----------------------------------------------------
|
68682
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
68683
|
+
----------------------------------------------------
|
68684
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68685
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68686
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68687
|
+
---------------------------------------------------
|
68688
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
68689
|
+
---------------------------------------------------
|
68690
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68691
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68693
|
+
-------------------------------------------------
|
68694
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
68695
|
+
-------------------------------------------------
|
68696
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68697
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68699
|
+
---------------------------------------------------------
|
68700
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
68701
|
+
---------------------------------------------------------
|
68702
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68705
|
+
----------------------------------------------------------
|
68706
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
68707
|
+
----------------------------------------------------------
|
68708
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68709
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68711
|
+
-----------------------------------------------------------------
|
68712
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
68713
|
+
-----------------------------------------------------------------
|
68714
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68715
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68717
|
+
------------------------------------------------------
|
68718
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
68719
|
+
------------------------------------------------------
|
68720
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68721
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68722
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68723
|
+
----------------------------------------------------
|
68724
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
68725
|
+
----------------------------------------------------
|
68726
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68729
|
+
--------------------------------------------------------------------
|
68730
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
68731
|
+
--------------------------------------------------------------------
|
68732
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68733
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68734
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68735
|
+
-------------------------------------------------------------------
|
68736
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
68737
|
+
-------------------------------------------------------------------
|
68738
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68741
|
+
-------------------------------------------------------------------
|
68742
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
68743
|
+
-------------------------------------------------------------------
|
68744
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68745
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68746
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68747
|
+
----------------------------------------------------------------------
|
68748
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
68749
|
+
----------------------------------------------------------------------
|
68750
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68753
|
+
------------------------------------------------------------------------------
|
68754
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
68755
|
+
------------------------------------------------------------------------------
|
68756
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68757
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68759
|
+
---------------------------------------------------------------------
|
68760
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
68761
|
+
---------------------------------------------------------------------
|
68762
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68765
|
+
--------------------------------------------------------------------
|
68766
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
68767
|
+
--------------------------------------------------------------------
|
68768
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68769
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68771
|
+
----------------------------------------------------------------------------------
|
68772
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
68773
|
+
----------------------------------------------------------------------------------
|
68774
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68775
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68776
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68777
|
+
------------------------------------------------------
|
68778
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
68779
|
+
------------------------------------------------------
|
68780
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68781
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68782
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68783
|
+
-----------------------------------------------------------
|
68784
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
68785
|
+
-----------------------------------------------------------
|
68786
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68787
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68788
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68789
|
+
---------------------------------------------------------------------
|
68790
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
68791
|
+
---------------------------------------------------------------------
|
68792
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68793
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68794
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68795
|
+
--------------------------------------------------------
|
68796
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
68797
|
+
--------------------------------------------------------
|
68798
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68799
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68800
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68801
|
+
-------------------------------------------------------
|
68802
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
68803
|
+
-------------------------------------------------------
|
68804
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
68805
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68806
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68807
|
+
---------------------------------------------------------------
|
68808
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
68809
|
+
---------------------------------------------------------------
|
68810
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
68811
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68812
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68813
|
+
----------------------------------------------------
|
68814
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
68815
|
+
----------------------------------------------------
|
68816
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68817
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68818
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68819
|
+
-------------------------------------------------------------
|
68820
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
68821
|
+
-------------------------------------------------------------
|
68822
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68823
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68824
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68825
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68826
|
+
---------------------------------------------------------
|
68827
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
68828
|
+
---------------------------------------------------------
|
68829
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68830
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
68831
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00]]
|
68832
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00]]
|
68833
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
68834
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
68835
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68836
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68837
|
+
--------------------------------------------------------
|
68838
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
68839
|
+
--------------------------------------------------------
|
68840
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68841
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
68842
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:21 UTC +00:00]]
|
68843
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
68844
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68845
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68846
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
68847
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
68848
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 576421514, 'Address', 761411935)[0m
|
68849
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 458139734, 'GeoLocation', 343404421)
|
68850
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 396855775, 'Address', 1057142427)[0m
|
68851
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 783441669, 'GeoLocation', 102195269)
|
68852
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 106545386, 'Address', 633598004)[0m
|
68853
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 1061951038, 'GeoLocation', 483796712)
|
68854
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
68855
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'f8c7f6a1805301e72243ac5515a56ff1', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 761411935)
|
68856
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '48e134af772cb6b9eb48924d8dd6428f', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 1057142427)[0m
|
68857
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '4df5a15638ee023e08303ad0d9f41db0', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 633598004)
|
68858
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
68859
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '58365f55b85af7db41f8a74d05e0a055', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 775134066)
|
68860
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'c122a0cb813e69037c6722181fa03f4f', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 971855462)[0m
|
68861
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '7d7709c8b371de1eae7539013819e802', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 1032612456)
|
68862
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
68863
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '3a71e3fa5b8703c4140c63fba7cc1520', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 261299535)
|
68864
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '842743a2af95151961517c80ef724a9b', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 478996145)[0m
|
68865
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '59c0547c4843eb760ae2ec712e2ec3d1', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 966629572)
|
68866
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
68867
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'bb438c1837b74790f1d16d6a80ea83d7', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 343404421)
|
68868
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '3d5f3b2718e54b33be9091f43cf75a05', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 102195269)[0m
|
68869
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '196d5e4f92449d4b8018120bcbea758b', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 483796712)
|
68870
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
68871
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '342bb6e8db0da6ba418021aa401dfc53', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 1053526200)
|
68872
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '57f746ebf6b8e8d8ecf26b3d4155bb02', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 689259936)[0m
|
68873
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '72e3b84c5e80ad913329840d5bd89c2e', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 762608046)
|
68874
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
68875
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 902541635)
|
68876
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 380377255)[0m
|
68877
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 619379998)
|
68878
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
68879
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '281d82a98d813e0749cb6c88a3491432', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 884173432)
|
68880
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '2b848ae43e2222dd9531d34f19153431', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 1035759634)[0m
|
68881
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '23f4a286064b1c590d5db88cf71f1fe4', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 471587404)
|
68882
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
68883
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '413cb57185bd22089d0fe83873cdc101', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 819246218)
|
68884
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '55a00680f3597c836de9d2f801499278', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 970698464)[0m
|
68885
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '9abd467a85cc8f8ceda52fe074db353a', '2015-02-21 01:09:28', '2015-02-21 01:09:28', 410780858)
|
68886
|
+
[1m[36m (25.2ms)[0m [1mcommit transaction[0m
|
68887
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68888
|
+
-------------------------------------------
|
68889
|
+
DupTest: test_0001_has method pbt_dup_build
|
68890
|
+
-------------------------------------------
|
68891
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68892
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68893
|
+
------------------------------------------------
|
68894
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
68895
|
+
------------------------------------------------
|
68896
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68897
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68898
|
+
----------------------------------------------------
|
68899
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
68900
|
+
----------------------------------------------------
|
68901
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68902
|
+
[1m[35mProfile Load (0.3ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68903
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68904
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68905
|
+
-------------------------------------------------------
|
68906
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
68907
|
+
-------------------------------------------------------
|
68908
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
68909
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68910
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68911
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
68912
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
68913
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68914
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68915
|
+
---------------------------------------------------------------
|
68916
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
68917
|
+
---------------------------------------------------------------
|
68918
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68919
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68920
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68921
|
+
-------------------------------------------------
|
68922
|
+
PbtTest: test_0002_BuildCmd returns build command
|
68923
|
+
-------------------------------------------------
|
68924
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68925
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68926
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68927
|
+
----------------------------------------------------------------------
|
68928
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
68929
|
+
----------------------------------------------------------------------
|
68930
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68931
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68932
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68933
|
+
----------------------------------------------------------------------
|
68934
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
68935
|
+
----------------------------------------------------------------------
|
68936
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68937
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
68938
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
68939
|
+
[1m[35m (0.1ms)[0m begin transaction
|
68940
|
+
-----------------------------------------------------
|
68941
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
68942
|
+
-----------------------------------------------------
|
68943
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
68944
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68945
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68946
|
+
----------------------------------------------------------------
|
68947
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
68948
|
+
----------------------------------------------------------------
|
68949
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
68950
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68951
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68952
|
+
----------------------------------------------------
|
68953
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
68954
|
+
----------------------------------------------------
|
68955
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68956
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68957
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68958
|
+
--------------------------------------------------
|
68959
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
68960
|
+
--------------------------------------------------
|
68961
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
68962
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68963
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68964
|
+
-----------------------------------------------------------------
|
68965
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
68966
|
+
-----------------------------------------------------------------
|
68967
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
68968
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68969
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68970
|
+
----------------------------------------
|
68971
|
+
PolyBelongsToTest: test_0001_is a module
|
68972
|
+
----------------------------------------
|
68973
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
68974
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68975
|
+
----------------------------------------------------
|
68976
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
68977
|
+
----------------------------------------------------
|
68978
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
68979
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68980
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68981
|
+
---------------------------------------------------
|
68982
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
68983
|
+
---------------------------------------------------
|
68984
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
68985
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68986
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68987
|
+
-------------------------------------------------
|
68988
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
68989
|
+
-------------------------------------------------
|
68990
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
68991
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
68992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
68993
|
+
---------------------------------------------------------
|
68994
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
68995
|
+
---------------------------------------------------------
|
68996
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
68997
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
68998
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
68999
|
+
----------------------------------------------------------
|
69000
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
69001
|
+
----------------------------------------------------------
|
69002
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69003
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69004
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69005
|
+
-----------------------------------------------------------------
|
69006
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
69007
|
+
-----------------------------------------------------------------
|
69008
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69009
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69010
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69011
|
+
------------------------------------------------------
|
69012
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
69013
|
+
------------------------------------------------------
|
69014
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69015
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69016
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69017
|
+
----------------------------------------------------
|
69018
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
69019
|
+
----------------------------------------------------
|
69020
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69021
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69022
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69023
|
+
--------------------------------------------------------------------
|
69024
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
69025
|
+
--------------------------------------------------------------------
|
69026
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69027
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69028
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69029
|
+
-------------------------------------------------------------------
|
69030
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
69031
|
+
-------------------------------------------------------------------
|
69032
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69033
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69034
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69035
|
+
-------------------------------------------------------------------
|
69036
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
69037
|
+
-------------------------------------------------------------------
|
69038
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69039
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69040
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69041
|
+
----------------------------------------------------------------------
|
69042
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
69043
|
+
----------------------------------------------------------------------
|
69044
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69045
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69046
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69047
|
+
------------------------------------------------------------------------------
|
69048
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
69049
|
+
------------------------------------------------------------------------------
|
69050
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69051
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69052
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69053
|
+
---------------------------------------------------------------------
|
69054
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
69055
|
+
---------------------------------------------------------------------
|
69056
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69057
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69059
|
+
--------------------------------------------------------------------
|
69060
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
69061
|
+
--------------------------------------------------------------------
|
69062
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69063
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69064
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69065
|
+
----------------------------------------------------------------------------------
|
69066
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
69067
|
+
----------------------------------------------------------------------------------
|
69068
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69069
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69070
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69071
|
+
------------------------------------------------------
|
69072
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
69073
|
+
------------------------------------------------------
|
69074
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69075
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69076
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69077
|
+
-----------------------------------------------------------
|
69078
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
69079
|
+
-----------------------------------------------------------
|
69080
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69081
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69082
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69083
|
+
---------------------------------------------------------------------
|
69084
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
69085
|
+
---------------------------------------------------------------------
|
69086
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69087
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69088
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69089
|
+
--------------------------------------------------------
|
69090
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
69091
|
+
--------------------------------------------------------
|
69092
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69093
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69094
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69095
|
+
-------------------------------------------------------
|
69096
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
69097
|
+
-------------------------------------------------------
|
69098
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69099
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69100
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69101
|
+
---------------------------------------------------------------
|
69102
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
69103
|
+
---------------------------------------------------------------
|
69104
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69105
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69106
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69107
|
+
----------------------------------------------------
|
69108
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
69109
|
+
----------------------------------------------------
|
69110
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69111
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69112
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69113
|
+
-------------------------------------------------------------
|
69114
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
69115
|
+
-------------------------------------------------------------
|
69116
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69117
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69118
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69119
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69120
|
+
---------------------------------------------------------
|
69121
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
69122
|
+
---------------------------------------------------------
|
69123
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69124
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
69125
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00]]
|
69126
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00]]
|
69127
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69128
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
69129
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69130
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69131
|
+
--------------------------------------------------------
|
69132
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
69133
|
+
--------------------------------------------------------
|
69134
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69135
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
69136
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:09:28 UTC +00:00]]
|
69137
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
69138
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69139
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69140
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
69141
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
69142
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 576421514, 'Address', 761411935)[0m
|
69143
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 458139734, 'GeoLocation', 343404421)
|
69144
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 396855775, 'Address', 1057142427)[0m
|
69145
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 783441669, 'GeoLocation', 102195269)
|
69146
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 106545386, 'Address', 633598004)[0m
|
69147
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 1061951038, 'GeoLocation', 483796712)
|
69148
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
69149
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'd61e3c4396189bb184b29236ee17ab81', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 761411935)
|
69150
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '2b09f982b0104b62de89e22a16c9dc44', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 1057142427)[0m
|
69151
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '614be418c1e3daa1acf03f2e0512995b', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 633598004)
|
69152
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
69153
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '5c4730384d762b99824390821a670aed', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 775134066)
|
69154
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '59dcac854af180986057e8db8c11bb82', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 971855462)[0m
|
69155
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '43e1517ce5bfb93c1f7c3258f005a166', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 1032612456)
|
69156
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
69157
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', 'f3dad269b074426128b5c58a262d9c2f', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 261299535)
|
69158
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '2e15e0ab7457c4f06a7d4b54395ca521', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 478996145)[0m
|
69159
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'ef2d261df6f4fbd84b15e76411368cee', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 966629572)
|
69160
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
69161
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'cc7f60003248a6a2c93785d7b2d0743a', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 343404421)
|
69162
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '962395975238b03d80ca69cc36c59d0d', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 102195269)[0m
|
69163
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'c390cd5caa1c3e5de19889a13d74c953', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 483796712)
|
69164
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
69165
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '1ebfea03caec608175342c42d7256fc5', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 1053526200)
|
69166
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'c39ab3695ca1c7b4ce5ed8468fc565df', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 689259936)[0m
|
69167
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'd6bc736afbdc681b212d69a7bcea2b0f', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 762608046)
|
69168
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
69169
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 902541635)
|
69170
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 380377255)[0m
|
69171
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 619379998)
|
69172
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
69173
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '237e6a115335a77f5fd22e7c15ad588c', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 884173432)
|
69174
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '0837fe11d07b5de1703204eb7db5e67a', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 1035759634)[0m
|
69175
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'bef892a9387aa3f785a6aa9c9e33704c', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 471587404)
|
69176
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
69177
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '631f5f14401c811e4989f6527159397b', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 819246218)
|
69178
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '939982fd1ab68f824dcd4e2857d76707', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 970698464)[0m
|
69179
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '4f9e520a747f2822b73aa78d8e2fff3f', '2015-02-21 01:10:18', '2015-02-21 01:10:18', 410780858)
|
69180
|
+
[1m[36m (13.6ms)[0m [1mcommit transaction[0m
|
69181
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69182
|
+
-------------------------------------------
|
69183
|
+
DupTest: test_0001_has method pbt_dup_build
|
69184
|
+
-------------------------------------------
|
69185
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69186
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69187
|
+
------------------------------------------------
|
69188
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
69189
|
+
------------------------------------------------
|
69190
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69191
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69192
|
+
----------------------------------------------------
|
69193
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
69194
|
+
----------------------------------------------------
|
69195
|
+
[1m[36mUser Load (0.3ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69196
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69197
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69198
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69199
|
+
-------------------------------------------------------
|
69200
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
69201
|
+
-------------------------------------------------------
|
69202
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
69203
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69204
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69205
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
69206
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
69207
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69208
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69209
|
+
---------------------------------------------------------------
|
69210
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
69211
|
+
---------------------------------------------------------------
|
69212
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69213
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69214
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69215
|
+
-------------------------------------------------
|
69216
|
+
PbtTest: test_0002_BuildCmd returns build command
|
69217
|
+
-------------------------------------------------
|
69218
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69219
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69220
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69221
|
+
----------------------------------------------------------------------
|
69222
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
69223
|
+
----------------------------------------------------------------------
|
69224
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69225
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69226
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69227
|
+
----------------------------------------------------------------------
|
69228
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
69229
|
+
----------------------------------------------------------------------
|
69230
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69231
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69232
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69233
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69234
|
+
-----------------------------------------------------
|
69235
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
69236
|
+
-----------------------------------------------------
|
69237
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69238
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69239
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69240
|
+
----------------------------------------------------------------
|
69241
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
69242
|
+
----------------------------------------------------------------
|
69243
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69244
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69245
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69246
|
+
----------------------------------------------------
|
69247
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
69248
|
+
----------------------------------------------------
|
69249
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69250
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69251
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69252
|
+
--------------------------------------------------
|
69253
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
69254
|
+
--------------------------------------------------
|
69255
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69256
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69257
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69258
|
+
-----------------------------------------------------------------
|
69259
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
69260
|
+
-----------------------------------------------------------------
|
69261
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69262
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69263
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69264
|
+
----------------------------------------
|
69265
|
+
PolyBelongsToTest: test_0001_is a module
|
69266
|
+
----------------------------------------
|
69267
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69268
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69269
|
+
----------------------------------------------------
|
69270
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
69271
|
+
----------------------------------------------------
|
69272
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69273
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69274
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69275
|
+
---------------------------------------------------
|
69276
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
69277
|
+
---------------------------------------------------
|
69278
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69279
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69280
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69281
|
+
-------------------------------------------------
|
69282
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
69283
|
+
-------------------------------------------------
|
69284
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69285
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69286
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69287
|
+
---------------------------------------------------------
|
69288
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
69289
|
+
---------------------------------------------------------
|
69290
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69291
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69292
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69293
|
+
----------------------------------------------------------
|
69294
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
69295
|
+
----------------------------------------------------------
|
69296
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69297
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69298
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69299
|
+
-----------------------------------------------------------------
|
69300
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
69301
|
+
-----------------------------------------------------------------
|
69302
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69303
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69304
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69305
|
+
------------------------------------------------------
|
69306
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
69307
|
+
------------------------------------------------------
|
69308
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69309
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69310
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69311
|
+
----------------------------------------------------
|
69312
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
69313
|
+
----------------------------------------------------
|
69314
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69315
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69316
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69317
|
+
--------------------------------------------------------------------
|
69318
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
69319
|
+
--------------------------------------------------------------------
|
69320
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69321
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69322
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69323
|
+
-------------------------------------------------------------------
|
69324
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
69325
|
+
-------------------------------------------------------------------
|
69326
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69327
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69328
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69329
|
+
-------------------------------------------------------------------
|
69330
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
69331
|
+
-------------------------------------------------------------------
|
69332
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69333
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69334
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69335
|
+
----------------------------------------------------------------------
|
69336
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
69337
|
+
----------------------------------------------------------------------
|
69338
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69339
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69340
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69341
|
+
------------------------------------------------------------------------------
|
69342
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
69343
|
+
------------------------------------------------------------------------------
|
69344
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69345
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69346
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69347
|
+
---------------------------------------------------------------------
|
69348
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
69349
|
+
---------------------------------------------------------------------
|
69350
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69351
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69352
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69353
|
+
--------------------------------------------------------------------
|
69354
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
69355
|
+
--------------------------------------------------------------------
|
69356
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69357
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69358
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69359
|
+
----------------------------------------------------------------------------------
|
69360
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
69361
|
+
----------------------------------------------------------------------------------
|
69362
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69363
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69364
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69365
|
+
------------------------------------------------------
|
69366
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
69367
|
+
------------------------------------------------------
|
69368
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69369
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69370
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69371
|
+
-----------------------------------------------------------
|
69372
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
69373
|
+
-----------------------------------------------------------
|
69374
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69375
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69376
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69377
|
+
---------------------------------------------------------------------
|
69378
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
69379
|
+
---------------------------------------------------------------------
|
69380
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69381
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69382
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69383
|
+
--------------------------------------------------------
|
69384
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
69385
|
+
--------------------------------------------------------
|
69386
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69387
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69388
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69389
|
+
-------------------------------------------------------
|
69390
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
69391
|
+
-------------------------------------------------------
|
69392
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69393
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69395
|
+
---------------------------------------------------------------
|
69396
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
69397
|
+
---------------------------------------------------------------
|
69398
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69399
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69400
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69401
|
+
----------------------------------------------------
|
69402
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
69403
|
+
----------------------------------------------------
|
69404
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69405
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69406
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69407
|
+
-------------------------------------------------------------
|
69408
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
69409
|
+
-------------------------------------------------------------
|
69410
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69411
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69412
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69413
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69414
|
+
---------------------------------------------------------
|
69415
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
69416
|
+
---------------------------------------------------------
|
69417
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69418
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
69419
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00]]
|
69420
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00]]
|
69421
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69422
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
69423
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69424
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69425
|
+
--------------------------------------------------------
|
69426
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
69427
|
+
--------------------------------------------------------
|
69428
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69429
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69430
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:10:18 UTC +00:00]]
|
69431
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69432
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69433
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69434
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
69435
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
69436
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 576421514, 'Address', 761411935)[0m
|
69437
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 458139734, 'GeoLocation', 343404421)
|
69438
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 396855775, 'Address', 1057142427)[0m
|
69439
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 783441669, 'GeoLocation', 102195269)
|
69440
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 106545386, 'Address', 633598004)[0m
|
69441
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 1061951038, 'GeoLocation', 483796712)
|
69442
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
69443
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '0ef5b1047932df309ad05e5812d4a095', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 761411935)
|
69444
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '390867f201f7a69b2b9be5925e5e7b16', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 1057142427)[0m
|
69445
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '7d1d3e4b26bcd2467b7bb03b9ccba4e6', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 633598004)
|
69446
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
69447
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '67d15a7efd468304bfcb6da890afc3fb', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 775134066)
|
69448
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '6330a097fff8f402f961b345584dad7f', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 971855462)[0m
|
69449
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'd7d27239df8caa1b14dfcc439c962519', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 1032612456)
|
69450
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
69451
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '3fac9ee91e2212782dca72b456d142ff', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 261299535)
|
69452
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '963aa6e08cd96d4aeaf556e78b7b4073', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 478996145)[0m
|
69453
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'cd30db9f004beabd66d801e4de355290', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 966629572)
|
69454
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
69455
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '6f953bd09e443e2e10a94f0189189ec2', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 343404421)
|
69456
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '77b3622a682f0d8de24864132b68c377', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 102195269)[0m
|
69457
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'f41e01e82c55bf12415ee7df069f64f0', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 483796712)
|
69458
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
69459
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '30492b3488d2b0adacacec20d808ec7e', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 1053526200)
|
69460
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'a2f4b75bb0f7b1822a87b35a609ceda4', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 689259936)[0m
|
69461
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '5d982ed372060809a30f9aee24e26322', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 762608046)
|
69462
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
69463
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 902541635)
|
69464
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 380377255)[0m
|
69465
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 619379998)
|
69466
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
69467
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '94fcfac32f4138d4ea6cd612b501a8d0', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 884173432)
|
69468
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '7609c26af256533bd2e767eb53bcf56b', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 1035759634)[0m
|
69469
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '263fe66931a4f4ade8ab247e59010769', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 471587404)
|
69470
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
69471
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '448ecde49fbbbccd80edb1a0c375584d', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 819246218)
|
69472
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'c0b0ad8bf32fe5ed5ce6e3765a3a909c', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 970698464)[0m
|
69473
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'b0f92c3369f70b4c1608d2e92dc25e38', '2015-02-21 01:10:53', '2015-02-21 01:10:53', 410780858)
|
69474
|
+
[1m[36m (19.4ms)[0m [1mcommit transaction[0m
|
69475
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69476
|
+
-------------------------------------------
|
69477
|
+
DupTest: test_0001_has method pbt_dup_build
|
69478
|
+
-------------------------------------------
|
69479
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69480
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69481
|
+
------------------------------------------------
|
69482
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
69483
|
+
------------------------------------------------
|
69484
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69485
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69486
|
+
----------------------------------------------------
|
69487
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
69488
|
+
----------------------------------------------------
|
69489
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69490
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69491
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69492
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69493
|
+
-------------------------------------------------------
|
69494
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
69495
|
+
-------------------------------------------------------
|
69496
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
69497
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69498
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69499
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
69500
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
69501
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69502
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69503
|
+
---------------------------------------------------------------
|
69504
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
69505
|
+
---------------------------------------------------------------
|
69506
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69507
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69508
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69509
|
+
-------------------------------------------------
|
69510
|
+
PbtTest: test_0002_BuildCmd returns build command
|
69511
|
+
-------------------------------------------------
|
69512
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69513
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69514
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69515
|
+
----------------------------------------------------------------------
|
69516
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
69517
|
+
----------------------------------------------------------------------
|
69518
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69519
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69520
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69521
|
+
----------------------------------------------------------------------
|
69522
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
69523
|
+
----------------------------------------------------------------------
|
69524
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69525
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69526
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69527
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69528
|
+
-----------------------------------------------------
|
69529
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
69530
|
+
-----------------------------------------------------
|
69531
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69532
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69533
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69534
|
+
----------------------------------------------------------------
|
69535
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
69536
|
+
----------------------------------------------------------------
|
69537
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69538
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69539
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69540
|
+
----------------------------------------------------
|
69541
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
69542
|
+
----------------------------------------------------
|
69543
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69544
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69545
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69546
|
+
--------------------------------------------------
|
69547
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
69548
|
+
--------------------------------------------------
|
69549
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69550
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69551
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69552
|
+
-----------------------------------------------------------------
|
69553
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
69554
|
+
-----------------------------------------------------------------
|
69555
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69556
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69557
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69558
|
+
----------------------------------------
|
69559
|
+
PolyBelongsToTest: test_0001_is a module
|
69560
|
+
----------------------------------------
|
69561
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69562
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69563
|
+
----------------------------------------------------
|
69564
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
69565
|
+
----------------------------------------------------
|
69566
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69567
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69568
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69569
|
+
---------------------------------------------------
|
69570
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
69571
|
+
---------------------------------------------------
|
69572
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69573
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69574
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69575
|
+
-------------------------------------------------
|
69576
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
69577
|
+
-------------------------------------------------
|
69578
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69579
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69580
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69581
|
+
---------------------------------------------------------
|
69582
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
69583
|
+
---------------------------------------------------------
|
69584
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69585
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69586
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69587
|
+
----------------------------------------------------------
|
69588
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
69589
|
+
----------------------------------------------------------
|
69590
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69591
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69592
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69593
|
+
-----------------------------------------------------------------
|
69594
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
69595
|
+
-----------------------------------------------------------------
|
69596
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69597
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69598
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69599
|
+
------------------------------------------------------
|
69600
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
69601
|
+
------------------------------------------------------
|
69602
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69603
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69604
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69605
|
+
----------------------------------------------------
|
69606
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
69607
|
+
----------------------------------------------------
|
69608
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69609
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69610
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69611
|
+
--------------------------------------------------------------------
|
69612
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
69613
|
+
--------------------------------------------------------------------
|
69614
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69615
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69616
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69617
|
+
-------------------------------------------------------------------
|
69618
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
69619
|
+
-------------------------------------------------------------------
|
69620
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69621
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69622
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69623
|
+
-------------------------------------------------------------------
|
69624
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
69625
|
+
-------------------------------------------------------------------
|
69626
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69627
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69628
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69629
|
+
----------------------------------------------------------------------
|
69630
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
69631
|
+
----------------------------------------------------------------------
|
69632
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69633
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69634
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69635
|
+
------------------------------------------------------------------------------
|
69636
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
69637
|
+
------------------------------------------------------------------------------
|
69638
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69639
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69640
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69641
|
+
---------------------------------------------------------------------
|
69642
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
69643
|
+
---------------------------------------------------------------------
|
69644
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69645
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69646
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69647
|
+
--------------------------------------------------------------------
|
69648
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
69649
|
+
--------------------------------------------------------------------
|
69650
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69651
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69652
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69653
|
+
----------------------------------------------------------------------------------
|
69654
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
69655
|
+
----------------------------------------------------------------------------------
|
69656
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69657
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69659
|
+
------------------------------------------------------
|
69660
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
69661
|
+
------------------------------------------------------
|
69662
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69663
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69664
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69665
|
+
-----------------------------------------------------------
|
69666
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
69667
|
+
-----------------------------------------------------------
|
69668
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69669
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69670
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69671
|
+
---------------------------------------------------------------------
|
69672
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
69673
|
+
---------------------------------------------------------------------
|
69674
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69675
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69676
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69677
|
+
--------------------------------------------------------
|
69678
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
69679
|
+
--------------------------------------------------------
|
69680
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69681
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69683
|
+
-------------------------------------------------------
|
69684
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
69685
|
+
-------------------------------------------------------
|
69686
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69687
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69688
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69689
|
+
---------------------------------------------------------------
|
69690
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
69691
|
+
---------------------------------------------------------------
|
69692
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69693
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69694
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69695
|
+
----------------------------------------------------
|
69696
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
69697
|
+
----------------------------------------------------
|
69698
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69699
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69700
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69701
|
+
-------------------------------------------------------------
|
69702
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
69703
|
+
-------------------------------------------------------------
|
69704
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69705
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69706
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69708
|
+
---------------------------------------------------------
|
69709
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
69710
|
+
---------------------------------------------------------
|
69711
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69712
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
69713
|
+
[1m[36mSQL (1.3ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00]]
|
69714
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00]]
|
69715
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
69716
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
69717
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69718
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69719
|
+
--------------------------------------------------------
|
69720
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
69721
|
+
--------------------------------------------------------
|
69722
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69723
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
69724
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:10:53 UTC +00:00]]
|
69725
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
69726
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69727
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69728
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
69729
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
69730
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 576421514, 'Address', 761411935)[0m
|
69731
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 458139734, 'GeoLocation', 343404421)
|
69732
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 396855775, 'Address', 1057142427)[0m
|
69733
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 783441669, 'GeoLocation', 102195269)
|
69734
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 106545386, 'Address', 633598004)[0m
|
69735
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 1061951038, 'GeoLocation', 483796712)
|
69736
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
69737
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '42483fb3c472057d989de18d47234d09', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 761411935)
|
69738
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '001dc0a0b7268606044fd8385006c84f', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 1057142427)[0m
|
69739
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '99c6c82aee91dfaf9f77e07037cdabb8', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 633598004)
|
69740
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
69741
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'ca75a4e6c4e29763192e2356b86d0112', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 775134066)
|
69742
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'bba074141d3ab5b773ecf8ddac5eda51', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 971855462)[0m
|
69743
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'e3f8bcef07c38cb7102dae164620d974', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 1032612456)
|
69744
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
69745
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '9315a3508767b17cf8803c49e94d986b', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 261299535)
|
69746
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '8895c1fccce2f56d3dff94485a8b58ad', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 478996145)[0m
|
69747
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'c26675712a384014ac11aee4bb178610', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 966629572)
|
69748
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
69749
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'f90f8b952fdd87ddbf099ec0bb30f348', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 343404421)
|
69750
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '6efd27d378a542b7f657ad51ad093fd4', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 102195269)[0m
|
69751
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'b8796eba2dce1e8c4b2fe6487020fcb8', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 483796712)
|
69752
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
69753
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '6a446c258c3994378c8705b4779469b5', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 1053526200)
|
69754
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'aa6e507a36586153d5973465fcca90dd', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 689259936)[0m
|
69755
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'c33a18471a23e89d10f91323c3dcea89', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 762608046)
|
69756
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
69757
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 902541635)
|
69758
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 380377255)[0m
|
69759
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 619379998)
|
69760
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
69761
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'd3fe7292ef7c28646f5dcb60f33a0eca', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 884173432)
|
69762
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '0d317767d18994d6a9ff0c52f7087c05', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 1035759634)[0m
|
69763
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '29df8a90de4eafd41435a6601bd5e4cb', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 471587404)
|
69764
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
69765
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'e4aa2f7882dd171f6685e5da3074b2f5', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 819246218)
|
69766
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '2998a8ac7c872a010a7c7ec5cba5a80a', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 970698464)[0m
|
69767
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '0311743f30f226d0762a8d28d1581e81', '2015-02-21 01:11:18', '2015-02-21 01:11:18', 410780858)
|
69768
|
+
[1m[36m (21.0ms)[0m [1mcommit transaction[0m
|
69769
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69770
|
+
-------------------------------------------
|
69771
|
+
DupTest: test_0001_has method pbt_dup_build
|
69772
|
+
-------------------------------------------
|
69773
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69774
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69775
|
+
------------------------------------------------
|
69776
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
69777
|
+
------------------------------------------------
|
69778
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69779
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69780
|
+
----------------------------------------------------
|
69781
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
69782
|
+
----------------------------------------------------
|
69783
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69784
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69785
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69786
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69787
|
+
-------------------------------------------------------
|
69788
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
69789
|
+
-------------------------------------------------------
|
69790
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
69791
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69792
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69793
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
69794
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
69795
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69796
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69797
|
+
---------------------------------------------------------------
|
69798
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
69799
|
+
---------------------------------------------------------------
|
69800
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69801
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69802
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69803
|
+
-------------------------------------------------
|
69804
|
+
PbtTest: test_0002_BuildCmd returns build command
|
69805
|
+
-------------------------------------------------
|
69806
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69807
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69809
|
+
----------------------------------------------------------------------
|
69810
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
69811
|
+
----------------------------------------------------------------------
|
69812
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69813
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69815
|
+
----------------------------------------------------------------------
|
69816
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
69817
|
+
----------------------------------------------------------------------
|
69818
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69819
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
69820
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69822
|
+
-----------------------------------------------------
|
69823
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
69824
|
+
-----------------------------------------------------
|
69825
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
69826
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69827
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69828
|
+
----------------------------------------------------------------
|
69829
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
69830
|
+
----------------------------------------------------------------
|
69831
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
69832
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69833
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69834
|
+
----------------------------------------------------
|
69835
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
69836
|
+
----------------------------------------------------
|
69837
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69838
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69840
|
+
--------------------------------------------------
|
69841
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
69842
|
+
--------------------------------------------------
|
69843
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
69844
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69845
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69846
|
+
-----------------------------------------------------------------
|
69847
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
69848
|
+
-----------------------------------------------------------------
|
69849
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
69850
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69852
|
+
----------------------------------------
|
69853
|
+
PolyBelongsToTest: test_0001_is a module
|
69854
|
+
----------------------------------------
|
69855
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69856
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69857
|
+
----------------------------------------------------
|
69858
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
69859
|
+
----------------------------------------------------
|
69860
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69861
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69863
|
+
---------------------------------------------------
|
69864
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
69865
|
+
---------------------------------------------------
|
69866
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69867
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69868
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69869
|
+
-------------------------------------------------
|
69870
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
69871
|
+
-------------------------------------------------
|
69872
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69873
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69874
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69875
|
+
---------------------------------------------------------
|
69876
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
69877
|
+
---------------------------------------------------------
|
69878
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69879
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69880
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
69881
|
+
----------------------------------------------------------
|
69882
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
69883
|
+
----------------------------------------------------------
|
69884
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69885
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69886
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69887
|
+
-----------------------------------------------------------------
|
69888
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
69889
|
+
-----------------------------------------------------------------
|
69890
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69891
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69892
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69893
|
+
------------------------------------------------------
|
69894
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
69895
|
+
------------------------------------------------------
|
69896
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69897
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69899
|
+
----------------------------------------------------
|
69900
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
69901
|
+
----------------------------------------------------
|
69902
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69903
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69904
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69905
|
+
--------------------------------------------------------------------
|
69906
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
69907
|
+
--------------------------------------------------------------------
|
69908
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69909
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69911
|
+
-------------------------------------------------------------------
|
69912
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
69913
|
+
-------------------------------------------------------------------
|
69914
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69915
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
69916
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69917
|
+
-------------------------------------------------------------------
|
69918
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
69919
|
+
-------------------------------------------------------------------
|
69920
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69921
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69922
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69923
|
+
----------------------------------------------------------------------
|
69924
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
69925
|
+
----------------------------------------------------------------------
|
69926
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69927
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69928
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69929
|
+
------------------------------------------------------------------------------
|
69930
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
69931
|
+
------------------------------------------------------------------------------
|
69932
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69933
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69934
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69935
|
+
---------------------------------------------------------------------
|
69936
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
69937
|
+
---------------------------------------------------------------------
|
69938
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69939
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69941
|
+
--------------------------------------------------------------------
|
69942
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
69943
|
+
--------------------------------------------------------------------
|
69944
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69945
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69946
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69947
|
+
----------------------------------------------------------------------------------
|
69948
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
69949
|
+
----------------------------------------------------------------------------------
|
69950
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69951
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69953
|
+
------------------------------------------------------
|
69954
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
69955
|
+
------------------------------------------------------
|
69956
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69957
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69958
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69959
|
+
-----------------------------------------------------------
|
69960
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
69961
|
+
-----------------------------------------------------------
|
69962
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
69963
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69965
|
+
---------------------------------------------------------------------
|
69966
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
69967
|
+
---------------------------------------------------------------------
|
69968
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
69969
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69970
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69971
|
+
--------------------------------------------------------
|
69972
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
69973
|
+
--------------------------------------------------------
|
69974
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69975
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69976
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69977
|
+
-------------------------------------------------------
|
69978
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
69979
|
+
-------------------------------------------------------
|
69980
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
69981
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
69982
|
+
[1m[35m (0.1ms)[0m begin transaction
|
69983
|
+
---------------------------------------------------------------
|
69984
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
69985
|
+
---------------------------------------------------------------
|
69986
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
69987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
69988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
69989
|
+
----------------------------------------------------
|
69990
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
69991
|
+
----------------------------------------------------
|
69992
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
69993
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
69994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69995
|
+
-------------------------------------------------------------
|
69996
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
69997
|
+
-------------------------------------------------------------
|
69998
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
69999
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70000
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70002
|
+
---------------------------------------------------------
|
70003
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
70004
|
+
---------------------------------------------------------
|
70005
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70006
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70007
|
+
[1m[36mSQL (3.9ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00]]
|
70008
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00]]
|
70009
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70010
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
70011
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70013
|
+
--------------------------------------------------------
|
70014
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
70015
|
+
--------------------------------------------------------
|
70016
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70017
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70018
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:11:18 UTC +00:00]]
|
70019
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
70020
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70021
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70022
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
70023
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
70024
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 576421514, 'Address', 761411935)[0m
|
70025
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 458139734, 'GeoLocation', 343404421)
|
70026
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 396855775, 'Address', 1057142427)[0m
|
70027
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 783441669, 'GeoLocation', 102195269)
|
70028
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 106545386, 'Address', 633598004)[0m
|
70029
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 1061951038, 'GeoLocation', 483796712)
|
70030
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
70031
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '82d039670d644afecc13d0c04c519656', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 761411935)
|
70032
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '2cebb6e61e070e17dcee948a04e4f2e3', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 1057142427)[0m
|
70033
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '35d2a4e002add3d1377522b853ff34e6', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 633598004)
|
70034
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
70035
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '329875199b6f38eea951d86a700a8ce6', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 775134066)
|
70036
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'd868565b4606289e4993f64b29928bd3', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 971855462)[0m
|
70037
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'e13d3ce09ecf1cb7eb7993d48657240b', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 1032612456)
|
70038
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
70039
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '86c04ac980534d60355fd8b11eb735d7', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 261299535)
|
70040
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', 'bd0bb6bbeb2603a4aee73281757f1aae', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 478996145)[0m
|
70041
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'a650c59bb6f8ee318f0d41322116195d', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 966629572)
|
70042
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
70043
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, 'd5e7c494b66c08eb4e3f761584f2477f', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 343404421)
|
70044
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '765acb2da5d6196dfc8065db1d88f46f', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 102195269)[0m
|
70045
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'e9e4feba2b9ec2984518577280dea741', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 483796712)
|
70046
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
70047
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'd5f27c2a4260ebe742a58311a62985bc', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 1053526200)
|
70048
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'd6e5d7a1df7dd3085ac5dec23923714d', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 689259936)[0m
|
70049
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'f480903ff4ca8b9fe87cf7f620049dfb', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 762608046)
|
70050
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
70051
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 902541635)
|
70052
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 380377255)[0m
|
70053
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 619379998)
|
70054
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
70055
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'a1634d8bf69605b0efe8ea73fc35e0dd', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 884173432)
|
70056
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'a55dc427a7b77105b9b6e715323cbe0f', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 1035759634)[0m
|
70057
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '75a1e2560c4e1346151bf8c0f07bb53b', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 471587404)
|
70058
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
70059
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '935d0b73f7e8e2863b497d466d7c83cc', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 819246218)
|
70060
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '47f381c1ec877b106cb28330340a3a5e', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 970698464)[0m
|
70061
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '7e140de13d4c78a008b8de271490074a', '2015-02-21 01:12:54', '2015-02-21 01:12:54', 410780858)
|
70062
|
+
[1m[36m (19.8ms)[0m [1mcommit transaction[0m
|
70063
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70064
|
+
-------------------------------------------
|
70065
|
+
DupTest: test_0001_has method pbt_dup_build
|
70066
|
+
-------------------------------------------
|
70067
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70068
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70069
|
+
------------------------------------------------
|
70070
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
70071
|
+
------------------------------------------------
|
70072
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70073
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70074
|
+
----------------------------------------------------
|
70075
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
70076
|
+
----------------------------------------------------
|
70077
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70078
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70079
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70080
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70081
|
+
-------------------------------------------------------
|
70082
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
70083
|
+
-------------------------------------------------------
|
70084
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
70085
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70086
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70087
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
70088
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
70089
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70090
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70091
|
+
---------------------------------------------------------------
|
70092
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
70093
|
+
---------------------------------------------------------------
|
70094
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70095
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70097
|
+
-------------------------------------------------
|
70098
|
+
PbtTest: test_0002_BuildCmd returns build command
|
70099
|
+
-------------------------------------------------
|
70100
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70101
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70102
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70103
|
+
----------------------------------------------------------------------
|
70104
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
70105
|
+
----------------------------------------------------------------------
|
70106
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70107
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70108
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70109
|
+
----------------------------------------------------------------------
|
70110
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
70111
|
+
----------------------------------------------------------------------
|
70112
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70113
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70114
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70115
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70116
|
+
-----------------------------------------------------
|
70117
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
70118
|
+
-----------------------------------------------------
|
70119
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70120
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70121
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70122
|
+
----------------------------------------------------------------
|
70123
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
70124
|
+
----------------------------------------------------------------
|
70125
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70126
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70127
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70128
|
+
----------------------------------------------------
|
70129
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
70130
|
+
----------------------------------------------------
|
70131
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70132
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70134
|
+
--------------------------------------------------
|
70135
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
70136
|
+
--------------------------------------------------
|
70137
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70138
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70139
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70140
|
+
-----------------------------------------------------------------
|
70141
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
70142
|
+
-----------------------------------------------------------------
|
70143
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70144
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70145
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70146
|
+
----------------------------------------
|
70147
|
+
PolyBelongsToTest: test_0001_is a module
|
70148
|
+
----------------------------------------
|
70149
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70150
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70151
|
+
----------------------------------------------------
|
70152
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
70153
|
+
----------------------------------------------------
|
70154
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70155
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70156
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70157
|
+
---------------------------------------------------
|
70158
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
70159
|
+
---------------------------------------------------
|
70160
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70161
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70162
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70163
|
+
-------------------------------------------------
|
70164
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
70165
|
+
-------------------------------------------------
|
70166
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70167
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70168
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70169
|
+
---------------------------------------------------------
|
70170
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
70171
|
+
---------------------------------------------------------
|
70172
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70173
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70174
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70175
|
+
----------------------------------------------------------
|
70176
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
70177
|
+
----------------------------------------------------------
|
70178
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70179
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70180
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70181
|
+
-----------------------------------------------------------------
|
70182
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
70183
|
+
-----------------------------------------------------------------
|
70184
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70185
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70186
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70187
|
+
------------------------------------------------------
|
70188
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
70189
|
+
------------------------------------------------------
|
70190
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70191
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70192
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70193
|
+
----------------------------------------------------
|
70194
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
70195
|
+
----------------------------------------------------
|
70196
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70197
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70198
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70199
|
+
--------------------------------------------------------------------
|
70200
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
70201
|
+
--------------------------------------------------------------------
|
70202
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70203
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70204
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70205
|
+
-------------------------------------------------------------------
|
70206
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
70207
|
+
-------------------------------------------------------------------
|
70208
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70209
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70210
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70211
|
+
-------------------------------------------------------------------
|
70212
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
70213
|
+
-------------------------------------------------------------------
|
70214
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70215
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70216
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70217
|
+
----------------------------------------------------------------------
|
70218
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
70219
|
+
----------------------------------------------------------------------
|
70220
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70221
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70222
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70223
|
+
------------------------------------------------------------------------------
|
70224
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
70225
|
+
------------------------------------------------------------------------------
|
70226
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70227
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70228
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70229
|
+
---------------------------------------------------------------------
|
70230
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
70231
|
+
---------------------------------------------------------------------
|
70232
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70233
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70234
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70235
|
+
--------------------------------------------------------------------
|
70236
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
70237
|
+
--------------------------------------------------------------------
|
70238
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70239
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70240
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70241
|
+
----------------------------------------------------------------------------------
|
70242
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
70243
|
+
----------------------------------------------------------------------------------
|
70244
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70245
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70246
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70247
|
+
------------------------------------------------------
|
70248
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
70249
|
+
------------------------------------------------------
|
70250
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70251
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70252
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70253
|
+
-----------------------------------------------------------
|
70254
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
70255
|
+
-----------------------------------------------------------
|
70256
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70257
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70258
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70259
|
+
---------------------------------------------------------------------
|
70260
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
70261
|
+
---------------------------------------------------------------------
|
70262
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70263
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70264
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70265
|
+
--------------------------------------------------------
|
70266
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
70267
|
+
--------------------------------------------------------
|
70268
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70269
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70271
|
+
-------------------------------------------------------
|
70272
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
70273
|
+
-------------------------------------------------------
|
70274
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70275
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70276
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70277
|
+
---------------------------------------------------------------
|
70278
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
70279
|
+
---------------------------------------------------------------
|
70280
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70281
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70282
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70283
|
+
----------------------------------------------------
|
70284
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
70285
|
+
----------------------------------------------------
|
70286
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70287
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70288
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70289
|
+
-------------------------------------------------------------
|
70290
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
70291
|
+
-------------------------------------------------------------
|
70292
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70293
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70294
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70295
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70296
|
+
---------------------------------------------------------
|
70297
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
70298
|
+
---------------------------------------------------------
|
70299
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70300
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70301
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00]]
|
70302
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00]]
|
70303
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70304
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
70305
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70306
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70307
|
+
--------------------------------------------------------
|
70308
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
70309
|
+
--------------------------------------------------------
|
70310
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70311
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
70312
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:12:54 UTC +00:00]]
|
70313
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
70314
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70315
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70316
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
70317
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
70318
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 576421514, 'Address', 761411935)[0m
|
70319
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 458139734, 'GeoLocation', 343404421)
|
70320
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 396855775, 'Address', 1057142427)[0m
|
70321
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 783441669, 'GeoLocation', 102195269)
|
70322
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 106545386, 'Address', 633598004)[0m
|
70323
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 1061951038, 'GeoLocation', 483796712)
|
70324
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
70325
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '440244ccff958137ebb49a108602c481', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 761411935)
|
70326
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '5cca5d2bdb82b6d9cc6f3a6331be96dc', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 1057142427)[0m
|
70327
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'fc55d849703eadfe9d20de8cc270bd0b', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 633598004)
|
70328
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
70329
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'ed8661d1869f67f8c44d76371d4cf037', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 775134066)
|
70330
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'ed1bfc8b83fe8684fd6a5ecf6c12ef4b', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 971855462)[0m
|
70331
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'cec73570dcfa05f872a99ecea1384f68', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 1032612456)
|
70332
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
70333
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', 'd3135c41bcda07bebd69a0e247dd2de6', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 261299535)
|
70334
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', 'f3f1485dfdd3d0313accdf0111c3404c', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 478996145)[0m
|
70335
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '8142c1ddffe95ac90e63cd7e7c46f765', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 966629572)
|
70336
|
+
[1m[36mFixture Delete (0.2ms)[0m [1mDELETE FROM "geo_locations"[0m
|
70337
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '856fef93e1b6ea89628548c1c894d260', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 343404421)
|
70338
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '171e938ddda7a0fe133e6ee3ce22eb0f', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 102195269)[0m
|
70339
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'e28789e727bbb2de58a4db13b1b3ed80', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 483796712)
|
70340
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
70341
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '8f53b044b18872be0b97b6e223a80719', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 1053526200)
|
70342
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '11b4aa701b4816e91f89d506bcd893c0', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 689259936)[0m
|
70343
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'ebce68bf28cede1bf587c0a4e0d9c9bb', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 762608046)
|
70344
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
70345
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 902541635)
|
70346
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 380377255)[0m
|
70347
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 619379998)
|
70348
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
70349
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'd0454df60eb3eeda0ad3507d768d5ade', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 884173432)
|
70350
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '58e7b7d7c1083427390f0d040dbec086', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 1035759634)[0m
|
70351
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '167796fd68113f71eb6174e080d1cc0c', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 471587404)
|
70352
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
70353
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '4c9f71c23a87d84a950820342c100146', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 819246218)
|
70354
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '9b3b9bcb8bade25249c424a1e8f5aaa2', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 970698464)[0m
|
70355
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '2021d435c7438ec0701e380cfbcc9bd1', '2015-02-21 01:14:30', '2015-02-21 01:14:30', 410780858)
|
70356
|
+
[1m[36m (15.8ms)[0m [1mcommit transaction[0m
|
70357
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70358
|
+
-------------------------------------------
|
70359
|
+
DupTest: test_0001_has method pbt_dup_build
|
70360
|
+
-------------------------------------------
|
70361
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70362
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70363
|
+
------------------------------------------------
|
70364
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
70365
|
+
------------------------------------------------
|
70366
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70367
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70368
|
+
----------------------------------------------------
|
70369
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
70370
|
+
----------------------------------------------------
|
70371
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70372
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70373
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70374
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70375
|
+
-------------------------------------------------------
|
70376
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
70377
|
+
-------------------------------------------------------
|
70378
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
70379
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70380
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70381
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
70382
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
70383
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70384
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70385
|
+
---------------------------------------------------------------
|
70386
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
70387
|
+
---------------------------------------------------------------
|
70388
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70389
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70390
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70391
|
+
-------------------------------------------------
|
70392
|
+
PbtTest: test_0002_BuildCmd returns build command
|
70393
|
+
-------------------------------------------------
|
70394
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70395
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70396
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70397
|
+
----------------------------------------------------------------------
|
70398
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
70399
|
+
----------------------------------------------------------------------
|
70400
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70401
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70402
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70403
|
+
----------------------------------------------------------------------
|
70404
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
70405
|
+
----------------------------------------------------------------------
|
70406
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70407
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70408
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70409
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70410
|
+
-----------------------------------------------------
|
70411
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
70412
|
+
-----------------------------------------------------
|
70413
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70414
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70415
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70416
|
+
----------------------------------------------------------------
|
70417
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
70418
|
+
----------------------------------------------------------------
|
70419
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70420
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70421
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70422
|
+
----------------------------------------------------
|
70423
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
70424
|
+
----------------------------------------------------
|
70425
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70426
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70427
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70428
|
+
--------------------------------------------------
|
70429
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
70430
|
+
--------------------------------------------------
|
70431
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70432
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70433
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70434
|
+
-----------------------------------------------------------------
|
70435
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
70436
|
+
-----------------------------------------------------------------
|
70437
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70438
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70440
|
+
----------------------------------------
|
70441
|
+
PolyBelongsToTest: test_0001_is a module
|
70442
|
+
----------------------------------------
|
70443
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70444
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70445
|
+
----------------------------------------------------
|
70446
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
70447
|
+
----------------------------------------------------
|
70448
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70449
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70450
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70451
|
+
---------------------------------------------------
|
70452
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
70453
|
+
---------------------------------------------------
|
70454
|
+
[1m[36mTag Load (0.2ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70455
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70456
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70457
|
+
-------------------------------------------------
|
70458
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
70459
|
+
-------------------------------------------------
|
70460
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70461
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70462
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70463
|
+
---------------------------------------------------------
|
70464
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
70465
|
+
---------------------------------------------------------
|
70466
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70467
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70468
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70469
|
+
----------------------------------------------------------
|
70470
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
70471
|
+
----------------------------------------------------------
|
70472
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70473
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70474
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70475
|
+
-----------------------------------------------------------------
|
70476
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
70477
|
+
-----------------------------------------------------------------
|
70478
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70479
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70480
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70481
|
+
------------------------------------------------------
|
70482
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
70483
|
+
------------------------------------------------------
|
70484
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70485
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70486
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70487
|
+
----------------------------------------------------
|
70488
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
70489
|
+
----------------------------------------------------
|
70490
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70491
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70492
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70493
|
+
--------------------------------------------------------------------
|
70494
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
70495
|
+
--------------------------------------------------------------------
|
70496
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70497
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70498
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70499
|
+
-------------------------------------------------------------------
|
70500
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
70501
|
+
-------------------------------------------------------------------
|
70502
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70503
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70504
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70505
|
+
-------------------------------------------------------------------
|
70506
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
70507
|
+
-------------------------------------------------------------------
|
70508
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70509
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70510
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70511
|
+
----------------------------------------------------------------------
|
70512
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
70513
|
+
----------------------------------------------------------------------
|
70514
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70515
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70516
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70517
|
+
------------------------------------------------------------------------------
|
70518
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
70519
|
+
------------------------------------------------------------------------------
|
70520
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70521
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70522
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70523
|
+
---------------------------------------------------------------------
|
70524
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
70525
|
+
---------------------------------------------------------------------
|
70526
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70527
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70528
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70529
|
+
--------------------------------------------------------------------
|
70530
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
70531
|
+
--------------------------------------------------------------------
|
70532
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70533
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70534
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70535
|
+
----------------------------------------------------------------------------------
|
70536
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
70537
|
+
----------------------------------------------------------------------------------
|
70538
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70539
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70540
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70541
|
+
------------------------------------------------------
|
70542
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
70543
|
+
------------------------------------------------------
|
70544
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70545
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70547
|
+
-----------------------------------------------------------
|
70548
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
70549
|
+
-----------------------------------------------------------
|
70550
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70551
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70552
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70553
|
+
---------------------------------------------------------------------
|
70554
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
70555
|
+
---------------------------------------------------------------------
|
70556
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70557
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70559
|
+
--------------------------------------------------------
|
70560
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
70561
|
+
--------------------------------------------------------
|
70562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70563
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70564
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70565
|
+
-------------------------------------------------------
|
70566
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
70567
|
+
-------------------------------------------------------
|
70568
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70569
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70570
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70571
|
+
---------------------------------------------------------------
|
70572
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
70573
|
+
---------------------------------------------------------------
|
70574
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70575
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70576
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70577
|
+
----------------------------------------------------
|
70578
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
70579
|
+
----------------------------------------------------
|
70580
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70581
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70582
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70583
|
+
-------------------------------------------------------------
|
70584
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
70585
|
+
-------------------------------------------------------------
|
70586
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70587
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70588
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70589
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70590
|
+
---------------------------------------------------------
|
70591
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
70592
|
+
---------------------------------------------------------
|
70593
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70594
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70595
|
+
[1m[36mSQL (1.0ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00]]
|
70596
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00]]
|
70597
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70598
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
70599
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
70600
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70601
|
+
--------------------------------------------------------
|
70602
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
70603
|
+
--------------------------------------------------------
|
70604
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70605
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
70606
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:14:30 UTC +00:00]]
|
70607
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
70608
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70609
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70610
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
70611
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
70612
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 576421514, 'Address', 761411935)[0m
|
70613
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 458139734, 'GeoLocation', 343404421)
|
70614
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 396855775, 'Address', 1057142427)[0m
|
70615
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 783441669, 'GeoLocation', 102195269)
|
70616
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 106545386, 'Address', 633598004)[0m
|
70617
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 1061951038, 'GeoLocation', 483796712)
|
70618
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
70619
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '5d4dee28b57aa4e01fa8152e1bd56f1e', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 761411935)
|
70620
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'a40d6e90ff79f606b4375b582e181760', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 1057142427)[0m
|
70621
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'bd2a2616ab84a5ea92fec5dfa4558baa', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 633598004)
|
70622
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
70623
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '94bb84fd7e2632ba8a4ff8300decf849', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 775134066)
|
70624
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '885fb0a824fc31376b772e175fbdc667', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 971855462)[0m
|
70625
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'fcbb5be28353f6ced839b8728f906915', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 1032612456)
|
70626
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
70627
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', 'c143a0c9c38959e728c690a7f7c93e4b', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 261299535)
|
70628
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '97a719b60001023d8efcd0318733bf68', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 478996145)[0m
|
70629
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'f377e13fd4ab532a79c8a494c5ce067f', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 966629572)
|
70630
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
70631
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '76b238efa9dadecb3fd56b3f93c4dfe3', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 343404421)
|
70632
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '4fc6ee445ad3cb02d256c94833cf82d0', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 102195269)[0m
|
70633
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '2eba84d2f3b0c4a46c7be11fa62c58fe', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 483796712)
|
70634
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
70635
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '807fd74f36e087787be04961923e58e9', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 1053526200)
|
70636
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '260b56d9b171ac4383d5276701905a1a', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 689259936)[0m
|
70637
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '95602e9d51009ea1897dc1d39d43f308', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 762608046)
|
70638
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
70639
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 902541635)
|
70640
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 380377255)[0m
|
70641
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 619379998)
|
70642
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
70643
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '51bda3a72a2b21d276211de35611c32f', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 884173432)
|
70644
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '24a0ff85f747f1d58fd95645a11ae16b', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 1035759634)[0m
|
70645
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '32461d5450127dc346a229ee12fe3413', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 471587404)
|
70646
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
70647
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'f5444bf309ff7d2ce51d4577d0f76e75', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 819246218)
|
70648
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'fae14f53872f2debbb86690e6690119d', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 970698464)[0m
|
70649
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'e3710df1673d1004174dfc14b3ea8b1a', '2015-02-21 01:15:38', '2015-02-21 01:15:38', 410780858)
|
70650
|
+
[1m[36m (14.4ms)[0m [1mcommit transaction[0m
|
70651
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70652
|
+
-------------------------------------------
|
70653
|
+
DupTest: test_0001_has method pbt_dup_build
|
70654
|
+
-------------------------------------------
|
70655
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70656
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70657
|
+
------------------------------------------------
|
70658
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
70659
|
+
------------------------------------------------
|
70660
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70661
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70662
|
+
----------------------------------------------------
|
70663
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
70664
|
+
----------------------------------------------------
|
70665
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70666
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70667
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70668
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70669
|
+
-------------------------------------------------------
|
70670
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
70671
|
+
-------------------------------------------------------
|
70672
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
70673
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70674
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70675
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
70676
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
70677
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70678
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70679
|
+
---------------------------------------------------------------
|
70680
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
70681
|
+
---------------------------------------------------------------
|
70682
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70683
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70684
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70685
|
+
-------------------------------------------------
|
70686
|
+
PbtTest: test_0002_BuildCmd returns build command
|
70687
|
+
-------------------------------------------------
|
70688
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70689
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70690
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70691
|
+
----------------------------------------------------------------------
|
70692
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
70693
|
+
----------------------------------------------------------------------
|
70694
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70695
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70696
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70697
|
+
----------------------------------------------------------------------
|
70698
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
70699
|
+
----------------------------------------------------------------------
|
70700
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70701
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70702
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70703
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70704
|
+
-----------------------------------------------------
|
70705
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
70706
|
+
-----------------------------------------------------
|
70707
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70708
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70709
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70710
|
+
----------------------------------------------------------------
|
70711
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
70712
|
+
----------------------------------------------------------------
|
70713
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70714
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70716
|
+
----------------------------------------------------
|
70717
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
70718
|
+
----------------------------------------------------
|
70719
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70720
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70721
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70722
|
+
--------------------------------------------------
|
70723
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
70724
|
+
--------------------------------------------------
|
70725
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70726
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70727
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70728
|
+
-----------------------------------------------------------------
|
70729
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
70730
|
+
-----------------------------------------------------------------
|
70731
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
70732
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70733
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70734
|
+
----------------------------------------
|
70735
|
+
PolyBelongsToTest: test_0001_is a module
|
70736
|
+
----------------------------------------
|
70737
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70738
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70739
|
+
----------------------------------------------------
|
70740
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
70741
|
+
----------------------------------------------------
|
70742
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70743
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70744
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70745
|
+
---------------------------------------------------
|
70746
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
70747
|
+
---------------------------------------------------
|
70748
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70749
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70750
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70751
|
+
-------------------------------------------------
|
70752
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
70753
|
+
-------------------------------------------------
|
70754
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70755
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70756
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70757
|
+
---------------------------------------------------------
|
70758
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
70759
|
+
---------------------------------------------------------
|
70760
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70761
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70762
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70763
|
+
----------------------------------------------------------
|
70764
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
70765
|
+
----------------------------------------------------------
|
70766
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70767
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70768
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70769
|
+
-----------------------------------------------------------------
|
70770
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
70771
|
+
-----------------------------------------------------------------
|
70772
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70773
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70774
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70775
|
+
------------------------------------------------------
|
70776
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
70777
|
+
------------------------------------------------------
|
70778
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70779
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70780
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70781
|
+
----------------------------------------------------
|
70782
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
70783
|
+
----------------------------------------------------
|
70784
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70785
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70786
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70787
|
+
--------------------------------------------------------------------
|
70788
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
70789
|
+
--------------------------------------------------------------------
|
70790
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70791
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70792
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70793
|
+
-------------------------------------------------------------------
|
70794
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
70795
|
+
-------------------------------------------------------------------
|
70796
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70797
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70798
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70799
|
+
-------------------------------------------------------------------
|
70800
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
70801
|
+
-------------------------------------------------------------------
|
70802
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70803
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70804
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70805
|
+
----------------------------------------------------------------------
|
70806
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
70807
|
+
----------------------------------------------------------------------
|
70808
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70809
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70811
|
+
------------------------------------------------------------------------------
|
70812
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
70813
|
+
------------------------------------------------------------------------------
|
70814
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70815
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70816
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70817
|
+
---------------------------------------------------------------------
|
70818
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
70819
|
+
---------------------------------------------------------------------
|
70820
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70821
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70822
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70823
|
+
--------------------------------------------------------------------
|
70824
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
70825
|
+
--------------------------------------------------------------------
|
70826
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70827
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70829
|
+
----------------------------------------------------------------------------------
|
70830
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
70831
|
+
----------------------------------------------------------------------------------
|
70832
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70833
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70834
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70835
|
+
------------------------------------------------------
|
70836
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
70837
|
+
------------------------------------------------------
|
70838
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70839
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70840
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70841
|
+
-----------------------------------------------------------
|
70842
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
70843
|
+
-----------------------------------------------------------
|
70844
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
70845
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70846
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70847
|
+
---------------------------------------------------------------------
|
70848
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
70849
|
+
---------------------------------------------------------------------
|
70850
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
70851
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70852
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70853
|
+
--------------------------------------------------------
|
70854
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
70855
|
+
--------------------------------------------------------
|
70856
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70857
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70858
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70859
|
+
-------------------------------------------------------
|
70860
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
70861
|
+
-------------------------------------------------------
|
70862
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
70863
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70865
|
+
---------------------------------------------------------------
|
70866
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
70867
|
+
---------------------------------------------------------------
|
70868
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
70869
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70870
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70871
|
+
----------------------------------------------------
|
70872
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
70873
|
+
----------------------------------------------------
|
70874
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70875
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70877
|
+
-------------------------------------------------------------
|
70878
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
70879
|
+
-------------------------------------------------------------
|
70880
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70881
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70882
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70883
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70884
|
+
---------------------------------------------------------
|
70885
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
70886
|
+
---------------------------------------------------------
|
70887
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70888
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
70889
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00]]
|
70890
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00]]
|
70891
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
70892
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
70893
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70894
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70895
|
+
--------------------------------------------------------
|
70896
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
70897
|
+
--------------------------------------------------------
|
70898
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70899
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
70900
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:15:38 UTC +00:00]]
|
70901
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
70902
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70903
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70904
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
70905
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
70906
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 576421514, 'Address', 761411935)[0m
|
70907
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 458139734, 'GeoLocation', 343404421)
|
70908
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 396855775, 'Address', 1057142427)[0m
|
70909
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 783441669, 'GeoLocation', 102195269)
|
70910
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 106545386, 'Address', 633598004)[0m
|
70911
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 1061951038, 'GeoLocation', 483796712)
|
70912
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
70913
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '4ee18aa2876c39b0f510800dbf0148ab', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 761411935)
|
70914
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '3feb1d17b119f1f5f233d11a31ef1f15', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 1057142427)[0m
|
70915
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '24217feb79dfe311faa3833e96877b4a', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 633598004)
|
70916
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
70917
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'fc3f9fcf2be0bf61804a70933381cca7', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 775134066)
|
70918
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'e3753f8ec23971a65a08f0ab86872555', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 971855462)[0m
|
70919
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '6e6c3956adac9b2ca8ca2dbc56bc310a', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 1032612456)
|
70920
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
70921
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '99b05e3d67744fbba405709ab9fdff84', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 261299535)
|
70922
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', 'e916a7580c6074f7b1b6737408ed7485', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 478996145)[0m
|
70923
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '9e26d434b208386f5f446909bc575077', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 966629572)
|
70924
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
70925
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '94e8c95b8ab34c2973e706679e838b47', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 343404421)
|
70926
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '330a0dcecd952fb67ec6deb43209e5fe', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 102195269)[0m
|
70927
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '0d18c0f76a424b5c8c6cd1f58c6577fe', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 483796712)
|
70928
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
70929
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '85b240f89833dc8eb2919343473e3c9b', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 1053526200)
|
70930
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '79962296e95f4f84ca6038e463bb86f2', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 689259936)[0m
|
70931
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'd917759a84468ab3ff7ec8276739815e', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 762608046)
|
70932
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
70933
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 902541635)
|
70934
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 380377255)[0m
|
70935
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 619379998)
|
70936
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
70937
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, 'bdf887d8d4559b33a050bfa887e994ae', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 884173432)
|
70938
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '76a82bf37d036a5804a9dd04111f7e77', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 1035759634)[0m
|
70939
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '925caea877f87270257091a16da0a669', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 471587404)
|
70940
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
70941
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '0d2b287f4c4faeb5774b63c3da6f0df7', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 819246218)
|
70942
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'b4c9fea1de4ad50aa56a7f298e9159ef', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 970698464)[0m
|
70943
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '4c164125452646b1c9f898a879ae0562', '2015-02-21 01:16:54', '2015-02-21 01:16:54', 410780858)
|
70944
|
+
[1m[36m (23.7ms)[0m [1mcommit transaction[0m
|
70945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70946
|
+
-------------------------------------------
|
70947
|
+
DupTest: test_0001_has method pbt_dup_build
|
70948
|
+
-------------------------------------------
|
70949
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70950
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70951
|
+
------------------------------------------------
|
70952
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
70953
|
+
------------------------------------------------
|
70954
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70955
|
+
[1m[35m (0.1ms)[0m begin transaction
|
70956
|
+
----------------------------------------------------
|
70957
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
70958
|
+
----------------------------------------------------
|
70959
|
+
[1m[36mUser Load (0.2ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
70960
|
+
[1m[35mProfile Load (0.2ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
70961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70963
|
+
-------------------------------------------------------
|
70964
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
70965
|
+
-------------------------------------------------------
|
70966
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
70967
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70968
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
70969
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
70970
|
+
[1m[36mSquishy Load (0.2ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
70971
|
+
[1m[35mAddress Load (0.2ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
|
70972
|
+
[1m[36mGeoLocation Load (0.1ms)[0m [1mSELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1[0m [["address_id", 761411935]]
|
70973
|
+
[1m[35mSquishy Load (0.2ms)[0m SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
|
70974
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ?[0m [["squishable_id", 761411935], ["squishable_type", "Address"]]
|
70975
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
70976
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
70977
|
+
---------------------------------------------------------------
|
70978
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
70979
|
+
---------------------------------------------------------------
|
70980
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
70981
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
70982
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70983
|
+
-------------------------------------------------
|
70984
|
+
PbtTest: test_0002_BuildCmd returns build command
|
70985
|
+
-------------------------------------------------
|
70986
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70987
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
70988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
70989
|
+
----------------------------------------------------------------------
|
70990
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
70991
|
+
----------------------------------------------------------------------
|
70992
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
70993
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
70994
|
+
[1m[35m (0.0ms)[0m begin transaction
|
70995
|
+
----------------------------------------------------------------------
|
70996
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
70997
|
+
----------------------------------------------------------------------
|
70998
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
70999
|
+
[1m[35mPhoto Load (0.0ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
71000
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71002
|
+
-----------------------------------------------------
|
71003
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
71004
|
+
-----------------------------------------------------
|
71005
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71006
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71008
|
+
----------------------------------------------------------------
|
71009
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
71010
|
+
----------------------------------------------------------------
|
71011
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
71012
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71013
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71014
|
+
----------------------------------------------------
|
71015
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
71016
|
+
----------------------------------------------------
|
71017
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71018
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71019
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71020
|
+
--------------------------------------------------
|
71021
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
71022
|
+
--------------------------------------------------
|
71023
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71024
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71025
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71026
|
+
-----------------------------------------------------------------
|
71027
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
71028
|
+
-----------------------------------------------------------------
|
71029
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71030
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71031
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71032
|
+
----------------------------------------
|
71033
|
+
PolyBelongsToTest: test_0001_is a module
|
71034
|
+
----------------------------------------
|
71035
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71036
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71037
|
+
----------------------------------------------------
|
71038
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
71039
|
+
----------------------------------------------------
|
71040
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71041
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71042
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71043
|
+
---------------------------------------------------
|
71044
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
71045
|
+
---------------------------------------------------
|
71046
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71047
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71048
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71049
|
+
-------------------------------------------------
|
71050
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
71051
|
+
-------------------------------------------------
|
71052
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71053
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71054
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71055
|
+
---------------------------------------------------------
|
71056
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
71057
|
+
---------------------------------------------------------
|
71058
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71059
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71060
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71061
|
+
----------------------------------------------------------
|
71062
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
71063
|
+
----------------------------------------------------------
|
71064
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71065
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71066
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71067
|
+
-----------------------------------------------------------------
|
71068
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
71069
|
+
-----------------------------------------------------------------
|
71070
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71071
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71072
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71073
|
+
------------------------------------------------------
|
71074
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
71075
|
+
------------------------------------------------------
|
71076
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71077
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71078
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71079
|
+
----------------------------------------------------
|
71080
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
71081
|
+
----------------------------------------------------
|
71082
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71083
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71084
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71085
|
+
--------------------------------------------------------------------
|
71086
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
71087
|
+
--------------------------------------------------------------------
|
71088
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71089
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71090
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71091
|
+
-------------------------------------------------------------------
|
71092
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
71093
|
+
-------------------------------------------------------------------
|
71094
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71095
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71096
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71097
|
+
-------------------------------------------------------------------
|
71098
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
71099
|
+
-------------------------------------------------------------------
|
71100
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71101
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71102
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71103
|
+
----------------------------------------------------------------------
|
71104
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
71105
|
+
----------------------------------------------------------------------
|
71106
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71107
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71108
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71109
|
+
------------------------------------------------------------------------------
|
71110
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
71111
|
+
------------------------------------------------------------------------------
|
71112
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71113
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71114
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71115
|
+
---------------------------------------------------------------------
|
71116
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
71117
|
+
---------------------------------------------------------------------
|
71118
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71119
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71120
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71121
|
+
--------------------------------------------------------------------
|
71122
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
71123
|
+
--------------------------------------------------------------------
|
71124
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71125
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71127
|
+
----------------------------------------------------------------------------------
|
71128
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
71129
|
+
----------------------------------------------------------------------------------
|
71130
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71131
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71132
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71133
|
+
------------------------------------------------------
|
71134
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
71135
|
+
------------------------------------------------------
|
71136
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71137
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71139
|
+
-----------------------------------------------------------
|
71140
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
71141
|
+
-----------------------------------------------------------
|
71142
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71143
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71144
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71145
|
+
---------------------------------------------------------------------
|
71146
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
71147
|
+
---------------------------------------------------------------------
|
71148
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71149
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71150
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71151
|
+
--------------------------------------------------------
|
71152
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
71153
|
+
--------------------------------------------------------
|
71154
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71155
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71156
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71157
|
+
-------------------------------------------------------
|
71158
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
71159
|
+
-------------------------------------------------------
|
71160
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71161
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71163
|
+
---------------------------------------------------------------
|
71164
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
71165
|
+
---------------------------------------------------------------
|
71166
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71167
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71168
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71169
|
+
----------------------------------------------------
|
71170
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
71171
|
+
----------------------------------------------------
|
71172
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71173
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71174
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71175
|
+
-------------------------------------------------------------
|
71176
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
71177
|
+
-------------------------------------------------------------
|
71178
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71179
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71180
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71181
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71182
|
+
---------------------------------------------------------
|
71183
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
71184
|
+
---------------------------------------------------------
|
71185
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71186
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
71187
|
+
[1m[36mSQL (0.9ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00]]
|
71188
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00]]
|
71189
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71190
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
71191
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71192
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71193
|
+
--------------------------------------------------------
|
71194
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
71195
|
+
--------------------------------------------------------
|
71196
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71197
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
71198
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:16:54 UTC +00:00]]
|
71199
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
71200
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71202
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
71203
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
71204
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 576421514, 'Address', 761411935)[0m
|
71205
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 458139734, 'GeoLocation', 343404421)
|
71206
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 396855775, 'Address', 1057142427)[0m
|
71207
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 783441669, 'GeoLocation', 102195269)
|
71208
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 106545386, 'Address', 633598004)[0m
|
71209
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 1061951038, 'GeoLocation', 483796712)
|
71210
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
71211
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '7693c8bac37090227e4b9697926eef77', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 761411935)
|
71212
|
+
[1m[36mFixture Insert (0.3ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'ad1649c541ee5420cd296defa7567af7', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 1057142427)[0m
|
71213
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '6f8e47c8ef3d26e2edcefaf11848c94c', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 633598004)
|
71214
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
71215
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'c277b1d298dc94ceb812078f4c7ac2c2', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 775134066)
|
71216
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '0ee2fbbcd382c77097f6778603623153', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 971855462)[0m
|
71217
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '6ddf67a63f875a781af01acc4f855513', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 1032612456)
|
71218
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
71219
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '944048d3559bedb7acde3217b017e0e9', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 261299535)
|
71220
|
+
[1m[36mFixture Insert (7.3ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '21c5258ed77807327d6eedc60208d822', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 478996145)[0m
|
71221
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', '27702df1d43f5be2b5d90ea6405f5473', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 966629572)
|
71222
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
71223
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '80c4f0826234bdb0dde8e713245afda5', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 343404421)
|
71224
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '70c2d30786eb7759f2eb2625d45dfe56', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 102195269)[0m
|
71225
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, 'e540e5cab167fbaf00ea15bb363d3f68', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 483796712)
|
71226
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
71227
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'fd7c0123ff263cf8b0fe330bdc608df6', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 1053526200)
|
71228
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'b244485b6dc7e76772646ffcae1fbbed', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 689259936)[0m
|
71229
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '91f0c5b359ddf384c85781073f188ba4', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 762608046)
|
71230
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
71231
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 902541635)
|
71232
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 380377255)[0m
|
71233
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 619379998)
|
71234
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
71235
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '67b65c1f89e6da159398c17909dad545', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 884173432)
|
71236
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'f06f8e342b7e3bd652b75d338d342b21', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 1035759634)[0m
|
71237
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '112b32060d349926e00961798aa73783', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 471587404)
|
71238
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
71239
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '156235d622bf7f473ff9dcc03eb1b72c', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 819246218)
|
71240
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '8f93b7360ddea70545c310f1edd6c2dd', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 970698464)[0m
|
71241
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'e726463aa9274b0d7622dc8871ec531e', '2015-02-21 01:18:03', '2015-02-21 01:18:03', 410780858)
|
71242
|
+
[1m[36m (14.8ms)[0m [1mcommit transaction[0m
|
71243
|
+
[1m[35m (0.2ms)[0m begin transaction
|
71244
|
+
-------------------------------------------
|
71245
|
+
DupTest: test_0001_has method pbt_dup_build
|
71246
|
+
-------------------------------------------
|
71247
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71248
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71249
|
+
------------------------------------------------
|
71250
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
71251
|
+
------------------------------------------------
|
71252
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71253
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71254
|
+
----------------------------------------------------
|
71255
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
71256
|
+
----------------------------------------------------
|
71257
|
+
[1m[36mUser Load (0.5ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71258
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
71259
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71260
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71261
|
+
-------------------------------------------------------
|
71262
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
71263
|
+
-------------------------------------------------------
|
71264
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
71265
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71266
|
+
[1m[36mPhoto Load (0.3ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
71267
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
71268
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
71269
|
+
[1m[35mAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
|
71270
|
+
[1m[36mGeoLocation Load (0.1ms)[0m [1mSELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1[0m [["address_id", 761411935]]
|
71271
|
+
[1m[35mSquishy Load (0.1ms)[0m SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
|
71272
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ?[0m [["squishable_id", 761411935], ["squishable_type", "Address"]]
|
71273
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71274
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71275
|
+
---------------------------------------------------------------
|
71276
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
71277
|
+
---------------------------------------------------------------
|
71278
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71279
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71281
|
+
-------------------------------------------------
|
71282
|
+
PbtTest: test_0002_BuildCmd returns build command
|
71283
|
+
-------------------------------------------------
|
71284
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71285
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71286
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71287
|
+
----------------------------------------------------------------------
|
71288
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
71289
|
+
----------------------------------------------------------------------
|
71290
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71291
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71292
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71293
|
+
----------------------------------------------------------------------
|
71294
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
71295
|
+
----------------------------------------------------------------------
|
71296
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71297
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
71298
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71299
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71300
|
+
-----------------------------------------------------
|
71301
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
71302
|
+
-----------------------------------------------------
|
71303
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71304
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71305
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71306
|
+
----------------------------------------------------------------
|
71307
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
71308
|
+
----------------------------------------------------------------
|
71309
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
71310
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71311
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71312
|
+
----------------------------------------------------
|
71313
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
71314
|
+
----------------------------------------------------
|
71315
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71316
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71317
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71318
|
+
--------------------------------------------------
|
71319
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
71320
|
+
--------------------------------------------------
|
71321
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71322
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71323
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71324
|
+
-----------------------------------------------------------------
|
71325
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
71326
|
+
-----------------------------------------------------------------
|
71327
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71328
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71329
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71330
|
+
----------------------------------------
|
71331
|
+
PolyBelongsToTest: test_0001_is a module
|
71332
|
+
----------------------------------------
|
71333
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71334
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71335
|
+
----------------------------------------------------
|
71336
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
71337
|
+
----------------------------------------------------
|
71338
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71339
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71340
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71341
|
+
---------------------------------------------------
|
71342
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
71343
|
+
---------------------------------------------------
|
71344
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71345
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71346
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71347
|
+
-------------------------------------------------
|
71348
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
71349
|
+
-------------------------------------------------
|
71350
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71351
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71352
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71353
|
+
---------------------------------------------------------
|
71354
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
71355
|
+
---------------------------------------------------------
|
71356
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71357
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71358
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71359
|
+
----------------------------------------------------------
|
71360
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
71361
|
+
----------------------------------------------------------
|
71362
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71363
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71364
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71365
|
+
-----------------------------------------------------------------
|
71366
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
71367
|
+
-----------------------------------------------------------------
|
71368
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71369
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71370
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71371
|
+
------------------------------------------------------
|
71372
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
71373
|
+
------------------------------------------------------
|
71374
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71375
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71376
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71377
|
+
----------------------------------------------------
|
71378
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
71379
|
+
----------------------------------------------------
|
71380
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71381
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71382
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71383
|
+
--------------------------------------------------------------------
|
71384
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
71385
|
+
--------------------------------------------------------------------
|
71386
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71387
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71388
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71389
|
+
-------------------------------------------------------------------
|
71390
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
71391
|
+
-------------------------------------------------------------------
|
71392
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71393
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71394
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71395
|
+
-------------------------------------------------------------------
|
71396
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
71397
|
+
-------------------------------------------------------------------
|
71398
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71399
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71400
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71401
|
+
----------------------------------------------------------------------
|
71402
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
71403
|
+
----------------------------------------------------------------------
|
71404
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71405
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71406
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71407
|
+
------------------------------------------------------------------------------
|
71408
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
71409
|
+
------------------------------------------------------------------------------
|
71410
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71411
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71412
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71413
|
+
---------------------------------------------------------------------
|
71414
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
71415
|
+
---------------------------------------------------------------------
|
71416
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71417
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71418
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71419
|
+
--------------------------------------------------------------------
|
71420
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
71421
|
+
--------------------------------------------------------------------
|
71422
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71423
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71424
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71425
|
+
----------------------------------------------------------------------------------
|
71426
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
71427
|
+
----------------------------------------------------------------------------------
|
71428
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71429
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71430
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71431
|
+
------------------------------------------------------
|
71432
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
71433
|
+
------------------------------------------------------
|
71434
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71435
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71436
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71437
|
+
-----------------------------------------------------------
|
71438
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
71439
|
+
-----------------------------------------------------------
|
71440
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71441
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71442
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71443
|
+
---------------------------------------------------------------------
|
71444
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
71445
|
+
---------------------------------------------------------------------
|
71446
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71447
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71448
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71449
|
+
--------------------------------------------------------
|
71450
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
71451
|
+
--------------------------------------------------------
|
71452
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71453
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71454
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71455
|
+
-------------------------------------------------------
|
71456
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
71457
|
+
-------------------------------------------------------
|
71458
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71459
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71460
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71461
|
+
---------------------------------------------------------------
|
71462
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
71463
|
+
---------------------------------------------------------------
|
71464
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71465
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71466
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71467
|
+
----------------------------------------------------
|
71468
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
71469
|
+
----------------------------------------------------
|
71470
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71471
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71472
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71473
|
+
-------------------------------------------------------------
|
71474
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
71475
|
+
-------------------------------------------------------------
|
71476
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71477
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71478
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71479
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71480
|
+
---------------------------------------------------------
|
71481
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
71482
|
+
---------------------------------------------------------
|
71483
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71484
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
71485
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00]]
|
71486
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00]]
|
71487
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71488
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
71489
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
71490
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71491
|
+
--------------------------------------------------------
|
71492
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
71493
|
+
--------------------------------------------------------
|
71494
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71495
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
71496
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:18:03 UTC +00:00]]
|
71497
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
71498
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71499
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71500
|
+
[1m[36m (0.5ms)[0m [1mbegin transaction[0m
|
71501
|
+
[1m[35mFixture Delete (0.2ms)[0m DELETE FROM "squishies"
|
71502
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 576421514, 'Address', 761411935)[0m
|
71503
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 458139734, 'GeoLocation', 343404421)
|
71504
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 396855775, 'Address', 1057142427)[0m
|
71505
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 783441669, 'GeoLocation', 102195269)
|
71506
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 106545386, 'Address', 633598004)[0m
|
71507
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "squishies" ("content", "created_at", "updated_at", "id", "squishable_type", "squishable_id") VALUES ('Squishy', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 1061951038, 'GeoLocation', 483796712)
|
71508
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "addresses"[0m
|
71509
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '92e650e83daef6726a2c4b5b6ba54cd8', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 761411935)
|
71510
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '5a60a3aa0193b9f9554bb9c3624a6c37', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 1057142427)[0m
|
71511
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "addresses" ("addressable_id", "addressable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'd55c62a060e0c91c80ed47a80fc8fa93', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 633598004)
|
71512
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "photos"[0m
|
71513
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', 'dcc08a35c80d4fab08e3a80d88df4322', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 775134066)
|
71514
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', '02d36b634b7eb28979c1ced242c0a500', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 971855462)[0m
|
71515
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "photos" ("photoable_id", "photoable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', 'ec856c70071969125c185701ce8b7ed9', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 1032612456)
|
71516
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "profiles"[0m
|
71517
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (902541635, 'User', '87303a480cc1487600d704ee7b28a5ea', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 261299535)
|
71518
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (380377255, 'User', '66abb52b4bfae2e364edba05dce15028', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 478996145)[0m
|
71519
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "profiles" ("profileable_id", "profileable_type", "content", "created_at", "updated_at", "id") VALUES (619379998, 'User', 'e61f4c0f1fbc86c3349c42201655898a', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 966629572)
|
71520
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "geo_locations"[0m
|
71521
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (761411935, '17e800e9c729f86c6cdfbc9e32195e4a', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 343404421)
|
71522
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (1057142427, '704a036374a72d9a0f208dbd6bdc7ef7', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 102195269)[0m
|
71523
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "geo_locations" ("address_id", "content", "created_at", "updated_at", "id") VALUES (633598004, '34502ed464ee1ecd59f3bc0271d39d5b', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 483796712)
|
71524
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "phones"[0m
|
71525
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (261299535, 'Profile', '4c167736af91fe1f37d81bfd192ee41a', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 1053526200)
|
71526
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (478996145, 'Profile', 'cc66fac3a0edaf780221d0ce59fe7847', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 689259936)[0m
|
71527
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "phones" ("phoneable_id", "phoneable_type", "content", "created_at", "updated_at", "id") VALUES (966629572, 'Profile', '3165a37b2529e4368e71bd9f8696a3cf', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 762608046)
|
71528
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "users"[0m
|
71529
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 902541635)
|
71530
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 380377255)[0m
|
71531
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 619379998)
|
71532
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "tags"[0m
|
71533
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '808741dc38b04ab4d3b4f9f7512556e3', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 884173432)
|
71534
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, '6d56f83e9b6484c6703b5844bea817ba', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 1035759634)[0m
|
71535
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "tags" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, 'fc3b88a2bc47c4eb6e7c9ab8f7dff417', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 471587404)
|
71536
|
+
[1m[36mFixture Delete (0.1ms)[0m [1mDELETE FROM "ssns"[0m
|
71537
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (902541635, '64a833534a41ff29b8dc97e118f88f34', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 819246218)
|
71538
|
+
[1m[36mFixture Insert (0.1ms)[0m [1mINSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (380377255, 'f19c6611445974ee1d6976a2b120a255', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 970698464)[0m
|
71539
|
+
[1m[35mFixture Insert (0.1ms)[0m INSERT INTO "ssns" ("user_id", "content", "created_at", "updated_at", "id") VALUES (619379998, '13001e59d1bfc6c2bbb22bbf016e690f', '2015-02-21 01:19:43', '2015-02-21 01:19:43', 410780858)
|
71540
|
+
[1m[36m (13.3ms)[0m [1mcommit transaction[0m
|
71541
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71542
|
+
-------------------------------------------
|
71543
|
+
DupTest: test_0001_has method pbt_dup_build
|
71544
|
+
-------------------------------------------
|
71545
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71546
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71547
|
+
------------------------------------------------
|
71548
|
+
DupTest: test_0002_has method pbt_deep_dup_build
|
71549
|
+
------------------------------------------------
|
71550
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71551
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71552
|
+
----------------------------------------------------
|
71553
|
+
DupTest: test_0003_builds copy from dup'd attributes
|
71554
|
+
----------------------------------------------------
|
71555
|
+
[1m[36mUser Load (0.4ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71556
|
+
[1m[35mProfile Load (0.3ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
71557
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71558
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71559
|
+
-------------------------------------------------------
|
71560
|
+
DupTest: test_0004_builds deep copy of dup'd attributes
|
71561
|
+
-------------------------------------------------------
|
71562
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 380377255]]
|
71563
|
+
[1m[35mProfile Load (0.0ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71564
|
+
[1m[36mPhoto Load (0.2ms)[0m [1mSELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1[0m [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
71565
|
+
[1m[35mPhone Load (0.2ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
|
71566
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1[0m [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
|
71567
|
+
[1m[35mAddress Load (0.1ms)[0m SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
|
71568
|
+
[1m[36mGeoLocation Load (0.1ms)[0m [1mSELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1[0m [["address_id", 761411935]]
|
71569
|
+
[1m[35mSquishy Load (0.1ms)[0m SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
|
71570
|
+
[1m[36mSquishy Load (0.1ms)[0m [1mSELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ?[0m [["squishable_id", 761411935], ["squishable_type", "Address"]]
|
71571
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71572
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71573
|
+
---------------------------------------------------------------
|
71574
|
+
PbtTest: test_0001_AttrSanitizer removes conflicting attributes
|
71575
|
+
---------------------------------------------------------------
|
71576
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71577
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71578
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71579
|
+
-------------------------------------------------
|
71580
|
+
PbtTest: test_0002_BuildCmd returns build command
|
71581
|
+
-------------------------------------------------
|
71582
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71583
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71585
|
+
----------------------------------------------------------------------
|
71586
|
+
PbtTest: test_0003_Reflects retruns has_one and has_many relationships
|
71587
|
+
----------------------------------------------------------------------
|
71588
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71589
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71590
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71591
|
+
----------------------------------------------------------------------
|
71592
|
+
PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
|
71593
|
+
----------------------------------------------------------------------
|
71594
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71595
|
+
[1m[35mPhoto Load (0.1ms)[0m SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
|
71596
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71597
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71598
|
+
-----------------------------------------------------
|
71599
|
+
PbtTest: test_0005_IsReflected gives boolean of child
|
71600
|
+
-----------------------------------------------------
|
71601
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 261299535]]
|
71602
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71603
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71604
|
+
----------------------------------------------------------------
|
71605
|
+
PbtTest: test_0006_SingularOrPlural responds for child relations
|
71606
|
+
----------------------------------------------------------------
|
71607
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
|
71608
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71609
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71610
|
+
----------------------------------------------------
|
71611
|
+
PbtTest: test_0007_IsSingular tells child singleness
|
71612
|
+
----------------------------------------------------
|
71613
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71614
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71615
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71616
|
+
--------------------------------------------------
|
71617
|
+
PbtTest: test_0008_IsPlural tells child pluralness
|
71618
|
+
--------------------------------------------------
|
71619
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
|
71620
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71621
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71622
|
+
-----------------------------------------------------------------
|
71623
|
+
PbtTest: test_0009_CollectionProxy: singular or plural proxy name
|
71624
|
+
-----------------------------------------------------------------
|
71625
|
+
[1m[36mProfile Load (0.1ms)[0m [1mSELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1[0m [["id", 478996145]]
|
71626
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71627
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71628
|
+
----------------------------------------
|
71629
|
+
PolyBelongsToTest: test_0001_is a module
|
71630
|
+
----------------------------------------
|
71631
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71632
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71633
|
+
----------------------------------------------------
|
71634
|
+
PolyBelongsToTest: test_0002_User as not polymorphic
|
71635
|
+
----------------------------------------------------
|
71636
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71637
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71638
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71639
|
+
---------------------------------------------------
|
71640
|
+
PolyBelongsToTest: test_0003_Tag as not polymorphic
|
71641
|
+
---------------------------------------------------
|
71642
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71643
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71644
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71645
|
+
-------------------------------------------------
|
71646
|
+
PolyBelongsToTest: test_0004_Phone as polymorphic
|
71647
|
+
-------------------------------------------------
|
71648
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71649
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71650
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71651
|
+
---------------------------------------------------------
|
71652
|
+
PolyBelongsToTest: test_0005_User belongs to table as nil
|
71653
|
+
---------------------------------------------------------
|
71654
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71656
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71657
|
+
----------------------------------------------------------
|
71658
|
+
PolyBelongsToTest: test_0006_Tag belongs to table as :user
|
71659
|
+
----------------------------------------------------------
|
71660
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71661
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71662
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71663
|
+
-----------------------------------------------------------------
|
71664
|
+
PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
|
71665
|
+
-----------------------------------------------------------------
|
71666
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71667
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71668
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71669
|
+
------------------------------------------------------
|
71670
|
+
PolyBelongsToTest: test_0008_User params name as :user
|
71671
|
+
------------------------------------------------------
|
71672
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71673
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71674
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71675
|
+
----------------------------------------------------
|
71676
|
+
PolyBelongsToTest: test_0009_Tag params name as :tag
|
71677
|
+
----------------------------------------------------
|
71678
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71681
|
+
--------------------------------------------------------------------
|
71682
|
+
PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
|
71683
|
+
--------------------------------------------------------------------
|
71684
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71685
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71686
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71687
|
+
-------------------------------------------------------------------
|
71688
|
+
PolyBelongsToTest: test_0011_Phone params name with false as :phone
|
71689
|
+
-------------------------------------------------------------------
|
71690
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71691
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71692
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71693
|
+
-------------------------------------------------------------------
|
71694
|
+
PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
|
71695
|
+
-------------------------------------------------------------------
|
71696
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71697
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71698
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71699
|
+
----------------------------------------------------------------------
|
71700
|
+
PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
|
71701
|
+
----------------------------------------------------------------------
|
71702
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71703
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71704
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71705
|
+
------------------------------------------------------------------------------
|
71706
|
+
PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
|
71707
|
+
------------------------------------------------------------------------------
|
71708
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71709
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71710
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71711
|
+
---------------------------------------------------------------------
|
71712
|
+
PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
|
71713
|
+
---------------------------------------------------------------------
|
71714
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71715
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71716
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71717
|
+
--------------------------------------------------------------------
|
71718
|
+
PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
|
71719
|
+
--------------------------------------------------------------------
|
71720
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71721
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71722
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71723
|
+
----------------------------------------------------------------------------------
|
71724
|
+
PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
|
71725
|
+
----------------------------------------------------------------------------------
|
71726
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71727
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
71728
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71729
|
+
------------------------------------------------------
|
71730
|
+
PolyBelongsToTest: test_0018_User belongs to id as nil
|
71731
|
+
------------------------------------------------------
|
71732
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71733
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71734
|
+
[1m[35m (0.1ms)[0m begin transaction
|
71735
|
+
-----------------------------------------------------------
|
71736
|
+
PolyBelongsToTest: test_0019_Tag belongs to id as user's id
|
71737
|
+
-----------------------------------------------------------
|
71738
|
+
[1m[36mTag Load (0.1ms)[0m [1mSELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1[0m [["id", 884173432]]
|
71739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71741
|
+
---------------------------------------------------------------------
|
71742
|
+
PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
|
71743
|
+
---------------------------------------------------------------------
|
71744
|
+
[1m[35mPhone Load (0.1ms)[0m SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
|
71745
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71746
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71747
|
+
--------------------------------------------------------
|
71748
|
+
PolyBelongsToTest: test_0021_User belongs to type as nil
|
71749
|
+
--------------------------------------------------------
|
71750
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71751
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71752
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
71753
|
+
-------------------------------------------------------
|
71754
|
+
PolyBelongsToTest: test_0022_Tag belongs to type as nil
|
71755
|
+
-------------------------------------------------------
|
71756
|
+
[1m[35mTag Load (0.1ms)[0m SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
|
71757
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71758
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71759
|
+
---------------------------------------------------------------
|
71760
|
+
PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
|
71761
|
+
---------------------------------------------------------------
|
71762
|
+
[1m[36mPhone Load (0.1ms)[0m [1mSELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1[0m [["id", 1053526200]]
|
71763
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
71764
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
71765
|
+
----------------------------------------------------
|
71766
|
+
PolyBelongsToTest: test_0024_User parent returns nil
|
71767
|
+
----------------------------------------------------
|
71768
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71769
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
71770
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71771
|
+
-------------------------------------------------------------
|
71772
|
+
PolyBelongsToTest: test_0025_Tag parent returns user instance
|
71773
|
+
-------------------------------------------------------------
|
71774
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71775
|
+
[1m[35mUser Load (0.1ms)[0m SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
|
71776
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
71777
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71778
|
+
---------------------------------------------------------
|
71779
|
+
PolyBelongsToTest: test_0026_Phone parent returns profile
|
71780
|
+
---------------------------------------------------------
|
71781
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71782
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
71783
|
+
[1m[36mSQL (0.8ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00]]
|
71784
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "phones" ("created_at", "phoneable_id", "phoneable_type", "updated_at") VALUES (?, ?, ?, ?) [["created_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00], ["phoneable_id", 966629573], ["phoneable_type", "Profile"], ["updated_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00]]
|
71785
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
71786
|
+
[1m[35mProfile Load (0.1ms)[0m SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
|
71787
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
71788
|
+
[1m[35m (0.0ms)[0m begin transaction
|
71789
|
+
--------------------------------------------------------
|
71790
|
+
PolyBelongsToTest: test_0027_Profile parent returns user
|
71791
|
+
--------------------------------------------------------
|
71792
|
+
[1m[36mUser Load (0.1ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71793
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
71794
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00], ["profileable_id", 902541635], ["profileable_type", "User"], ["updated_at", Sat, 21 Feb 2015 01:19:43 UTC +00:00]]
|
71795
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
71796
|
+
[1m[36mUser Load (0.0ms)[0m [1mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1[0m [["id", 902541635]]
|
71797
|
+
[1m[35m (0.1ms)[0m rollback transaction
|