poly_belongs_to 0.1.5 → 0.1.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 070f2956135ec77c1f784a3291f8aa3d0af97a4e
4
- data.tar.gz: 6e8a8b16efb10063d55460b609d1239bc7f956cb
3
+ metadata.gz: 83e5505c4c5c26183c2dfa5f8d85fdae05961441
4
+ data.tar.gz: e5e52a5f7f72f4c6b44ec06d499fd108e676faf3
5
5
  SHA512:
6
- metadata.gz: c74a9a9dd7082aa50375bb07fc488ecf5b7c02513f5a29c7aec2d3690aaa3d19551b85bf60b1b0a4d3b9fe16fa05d610584d5470e7c5456c4314b281c57e6bd0
7
- data.tar.gz: a86708d178b640ab44c96514c192b4f335d0ad1c755c9d601105cff1de6ea1c101a04ff038ad59b438e27a3ee7d40db580c88b08102e1778c36f152ab356e4b6
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
@@ -1,3 +1,3 @@
1
1
  module PolyBelongsTo
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
3
3
  end
@@ -1,3 +1,4 @@
1
1
  class Phone < ActiveRecord::Base
2
2
  belongs_to :phoneable, polymorphic: true
3
+ has_one :squishy, as: :squishable, dependent: :destroy
3
4
  end
Binary file
@@ -67667,3 +67667,4131 @@ PolyBelongsToTest: test_0027_Profile parent returns user
67667
67667
   (0.0ms) RELEASE SAVEPOINT active_record_1
67668
67668
  User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67669
67669
   (0.1ms) rollback transaction
67670
+  (0.6ms) begin transaction
67671
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
67672
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
67673
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
67675
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
67677
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
67679
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67681
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
67683
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67685
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
67687
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67689
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
67691
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67693
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
67695
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67697
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
67699
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 902541635)
67700
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 380377255)
67701
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 00:54:47', '2015-02-21 00:54:47', 619379998)
67702
+ Fixture Delete (0.1ms) DELETE FROM "tags"
67703
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67705
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
67707
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67709
+ Fixture Insert (0.1ms) 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
+  (26.8ms) commit transaction
67711
+  (0.2ms) begin transaction
67712
+ -------------------------------------------
67713
+ DupTest: test_0001_has method pbt_dup_build
67714
+ -------------------------------------------
67715
+  (0.2ms) rollback transaction
67716
+  (0.1ms) begin transaction
67717
+ ------------------------------------------------
67718
+ DupTest: test_0002_has method pbt_deep_dup_build
67719
+ ------------------------------------------------
67720
+  (0.1ms) rollback transaction
67721
+  (0.1ms) begin transaction
67722
+ ----------------------------------------------------
67723
+ DupTest: test_0003_builds copy from dup'd attributes
67724
+ ----------------------------------------------------
67725
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67726
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
67727
+  (0.1ms) rollback transaction
67728
+  (0.0ms) begin transaction
67729
+ -------------------------------------------------------
67730
+ DupTest: test_0004_builds deep copy of dup'd attributes
67731
+ -------------------------------------------------------
67732
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
67733
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67734
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
67735
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
67736
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
67737
+  (0.1ms) rollback transaction
67738
+  (0.1ms) begin transaction
67739
+ ---------------------------------------------------------------
67740
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
67741
+ ---------------------------------------------------------------
67742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67743
+  (0.0ms) rollback transaction
67744
+  (0.0ms) begin transaction
67745
+ -------------------------------------------------
67746
+ PbtTest: test_0002_BuildCmd returns build command
67747
+ -------------------------------------------------
67748
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67749
+  (0.0ms) rollback transaction
67750
+  (0.0ms) begin transaction
67751
+ ----------------------------------------------------------------------
67752
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
67753
+ ----------------------------------------------------------------------
67754
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67755
+  (0.0ms) rollback transaction
67756
+  (0.0ms) begin transaction
67757
+ ----------------------------------------------------------------------
67758
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
67759
+ ----------------------------------------------------------------------
67760
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67761
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
67762
+  (0.1ms) rollback transaction
67763
+  (0.0ms) begin transaction
67764
+ -----------------------------------------------------
67765
+ PbtTest: test_0005_IsReflected gives boolean of child
67766
+ -----------------------------------------------------
67767
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67768
+  (0.0ms) rollback transaction
67769
+  (0.0ms) begin transaction
67770
+ ----------------------------------------------------------------
67771
+ PbtTest: test_0006_SingularOrPlural respongs for child relations
67772
+ ----------------------------------------------------------------
67773
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
67774
+  (0.0ms) rollback transaction
67775
+  (0.0ms) begin transaction
67776
+ ----------------------------------------------------
67777
+ PbtTest: test_0007_IsSingular tells child singleness
67778
+ ----------------------------------------------------
67779
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
67780
+  (0.1ms) rollback transaction
67781
+  (0.1ms) begin transaction
67782
+ --------------------------------------------------
67783
+ PbtTest: test_0008_IsPlural tells child pluralness
67784
+ --------------------------------------------------
67785
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
67786
+  (0.0ms) rollback transaction
67787
+  (0.0ms) begin transaction
67788
+ -----------------------------------------------------------------
67789
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
67790
+ -----------------------------------------------------------------
67791
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
67792
+  (0.0ms) rollback transaction
67793
+  (0.0ms) begin transaction
67794
+ ----------------------------------------
67795
+ PolyBelongsToTest: test_0001_is a module
67796
+ ----------------------------------------
67797
+  (0.0ms) rollback transaction
67798
+  (0.1ms) begin transaction
67799
+ ----------------------------------------------------
67800
+ PolyBelongsToTest: test_0002_User as not polymorphic
67801
+ ----------------------------------------------------
67802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67803
+  (0.0ms) rollback transaction
67804
+  (0.0ms) begin transaction
67805
+ ---------------------------------------------------
67806
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
67807
+ ---------------------------------------------------
67808
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67809
+  (0.1ms) rollback transaction
67810
+  (0.0ms) begin transaction
67811
+ -------------------------------------------------
67812
+ PolyBelongsToTest: test_0004_Phone as polymorphic
67813
+ -------------------------------------------------
67814
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67815
+  (0.0ms) rollback transaction
67816
+  (0.1ms) begin transaction
67817
+ ---------------------------------------------------------
67818
+ PolyBelongsToTest: test_0005_User belongs to table as nil
67819
+ ---------------------------------------------------------
67820
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67821
+  (0.0ms) rollback transaction
67822
+  (0.0ms) begin transaction
67823
+ ----------------------------------------------------------
67824
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
67825
+ ----------------------------------------------------------
67826
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67827
+  (0.1ms) rollback transaction
67828
+  (0.0ms) begin transaction
67829
+ -----------------------------------------------------------------
67830
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
67831
+ -----------------------------------------------------------------
67832
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67833
+  (0.1ms) rollback transaction
67834
+  (0.0ms) begin transaction
67835
+ ------------------------------------------------------
67836
+ PolyBelongsToTest: test_0008_User params name as :user
67837
+ ------------------------------------------------------
67838
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67839
+  (0.0ms) rollback transaction
67840
+  (0.0ms) begin transaction
67841
+ ----------------------------------------------------
67842
+ PolyBelongsToTest: test_0009_Tag params name as :tag
67843
+ ----------------------------------------------------
67844
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67845
+  (0.0ms) rollback transaction
67846
+  (0.0ms) begin transaction
67847
+ --------------------------------------------------------------------
67848
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
67849
+ --------------------------------------------------------------------
67850
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67851
+  (0.0ms) rollback transaction
67852
+  (0.1ms) begin transaction
67853
+ -------------------------------------------------------------------
67854
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
67855
+ -------------------------------------------------------------------
67856
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67857
+  (0.0ms) rollback transaction
67858
+  (0.0ms) begin transaction
67859
+ -------------------------------------------------------------------
67860
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
67861
+ -------------------------------------------------------------------
67862
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67863
+  (0.0ms) rollback transaction
67864
+  (0.0ms) begin transaction
67865
+ ----------------------------------------------------------------------
67866
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
67867
+ ----------------------------------------------------------------------
67868
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67869
+  (0.0ms) rollback transaction
67870
+  (0.0ms) begin transaction
67871
+ ------------------------------------------------------------------------------
67872
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
67873
+ ------------------------------------------------------------------------------
67874
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67875
+  (0.0ms) rollback transaction
67876
+  (0.0ms) begin transaction
67877
+ ---------------------------------------------------------------------
67878
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
67879
+ ---------------------------------------------------------------------
67880
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67881
+  (0.0ms) rollback transaction
67882
+  (0.0ms) begin transaction
67883
+ --------------------------------------------------------------------
67884
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
67885
+ --------------------------------------------------------------------
67886
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67887
+  (0.0ms) rollback transaction
67888
+  (0.0ms) begin transaction
67889
+ ----------------------------------------------------------------------------------
67890
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
67891
+ ----------------------------------------------------------------------------------
67892
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67893
+  (0.0ms) rollback transaction
67894
+  (0.0ms) begin transaction
67895
+ ------------------------------------------------------
67896
+ PolyBelongsToTest: test_0018_User belongs to id as nil
67897
+ ------------------------------------------------------
67898
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67899
+  (0.0ms) rollback transaction
67900
+  (0.0ms) begin transaction
67901
+ -----------------------------------------------------------
67902
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
67903
+ -----------------------------------------------------------
67904
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67905
+  (0.1ms) rollback transaction
67906
+  (0.0ms) begin transaction
67907
+ ---------------------------------------------------------------------
67908
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
67909
+ ---------------------------------------------------------------------
67910
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67911
+  (0.1ms) rollback transaction
67912
+  (0.0ms) begin transaction
67913
+ --------------------------------------------------------
67914
+ PolyBelongsToTest: test_0021_User belongs to type as nil
67915
+ --------------------------------------------------------
67916
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67917
+  (0.0ms) rollback transaction
67918
+  (0.0ms) begin transaction
67919
+ -------------------------------------------------------
67920
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
67921
+ -------------------------------------------------------
67922
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
67923
+  (0.0ms) rollback transaction
67924
+  (0.0ms) begin transaction
67925
+ ---------------------------------------------------------------
67926
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
67927
+ ---------------------------------------------------------------
67928
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
67929
+  (0.0ms) rollback transaction
67930
+  (0.0ms) begin transaction
67931
+ ----------------------------------------------------
67932
+ PolyBelongsToTest: test_0024_User parent returns nil
67933
+ ----------------------------------------------------
67934
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67935
+  (0.0ms) rollback transaction
67936
+  (0.0ms) begin transaction
67937
+ -------------------------------------------------------------
67938
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
67939
+ -------------------------------------------------------------
67940
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67941
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67942
+  (0.1ms) rollback transaction
67943
+  (0.0ms) begin transaction
67944
+ ---------------------------------------------------------
67945
+ PolyBelongsToTest: test_0026_Phone parent returns profile
67946
+ ---------------------------------------------------------
67947
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67948
+  (0.1ms) SAVEPOINT active_record_1
67949
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
67952
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
67953
+  (0.1ms) rollback transaction
67954
+  (0.1ms) begin transaction
67955
+ --------------------------------------------------------
67956
+ PolyBelongsToTest: test_0027_Profile parent returns user
67957
+ --------------------------------------------------------
67958
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67959
+  (0.0ms) SAVEPOINT active_record_1
67960
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
67962
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
67963
+  (0.1ms) rollback transaction
67964
+  (0.7ms) begin transaction
67965
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
67966
+ Fixture Insert (0.2ms) 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', 576421514, 'Address', 761411935)
67967
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
67969
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
67971
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
67973
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67975
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
67977
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67979
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.2ms) DELETE FROM "profiles"
67981
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67983
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
67985
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67987
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
67989
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67991
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
67993
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 902541635)
67994
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 380377255)
67995
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:07:13', '2015-02-21 01:07:13', 619379998)
67996
+ Fixture Delete (0.1ms) DELETE FROM "tags"
67997
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
67999
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
68001
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68003
+ Fixture Insert (0.1ms) 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
+  (15.2ms) commit transaction
68005
+  (0.1ms) begin transaction
68006
+ -------------------------------------------
68007
+ DupTest: test_0001_has method pbt_dup_build
68008
+ -------------------------------------------
68009
+  (0.1ms) rollback transaction
68010
+  (0.1ms) begin transaction
68011
+ ------------------------------------------------
68012
+ DupTest: test_0002_has method pbt_deep_dup_build
68013
+ ------------------------------------------------
68014
+  (0.1ms) rollback transaction
68015
+  (0.1ms) begin transaction
68016
+ ----------------------------------------------------
68017
+ DupTest: test_0003_builds copy from dup'd attributes
68018
+ ----------------------------------------------------
68019
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68020
+ Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68021
+  (0.1ms) rollback transaction
68022
+  (0.0ms) begin transaction
68023
+ -------------------------------------------------------
68024
+ DupTest: test_0004_builds deep copy of dup'd attributes
68025
+ -------------------------------------------------------
68026
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
68027
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68028
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68029
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
68030
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
68031
+  (0.0ms) rollback transaction
68032
+  (0.1ms) begin transaction
68033
+ ---------------------------------------------------------------
68034
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
68035
+ ---------------------------------------------------------------
68036
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68037
+  (0.0ms) rollback transaction
68038
+  (0.0ms) begin transaction
68039
+ -------------------------------------------------
68040
+ PbtTest: test_0002_BuildCmd returns build command
68041
+ -------------------------------------------------
68042
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68043
+  (0.0ms) rollback transaction
68044
+  (0.0ms) begin transaction
68045
+ ----------------------------------------------------------------------
68046
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
68047
+ ----------------------------------------------------------------------
68048
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68049
+  (0.0ms) rollback transaction
68050
+  (0.0ms) begin transaction
68051
+ ----------------------------------------------------------------------
68052
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
68053
+ ----------------------------------------------------------------------
68054
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68055
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68056
+  (0.1ms) rollback transaction
68057
+  (0.0ms) begin transaction
68058
+ -----------------------------------------------------
68059
+ PbtTest: test_0005_IsReflected gives boolean of child
68060
+ -----------------------------------------------------
68061
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68062
+  (0.0ms) rollback transaction
68063
+  (0.0ms) begin transaction
68064
+ ----------------------------------------------------------------
68065
+ PbtTest: test_0006_SingularOrPlural respongs for child relations
68066
+ ----------------------------------------------------------------
68067
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68068
+  (0.0ms) rollback transaction
68069
+  (0.0ms) begin transaction
68070
+ ----------------------------------------------------
68071
+ PbtTest: test_0007_IsSingular tells child singleness
68072
+ ----------------------------------------------------
68073
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68074
+  (0.0ms) rollback transaction
68075
+  (0.0ms) begin transaction
68076
+ --------------------------------------------------
68077
+ PbtTest: test_0008_IsPlural tells child pluralness
68078
+ --------------------------------------------------
68079
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68080
+  (0.0ms) rollback transaction
68081
+  (0.1ms) begin transaction
68082
+ -----------------------------------------------------------------
68083
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
68084
+ -----------------------------------------------------------------
68085
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68086
+  (0.0ms) rollback transaction
68087
+  (0.0ms) begin transaction
68088
+ ----------------------------------------
68089
+ PolyBelongsToTest: test_0001_is a module
68090
+ ----------------------------------------
68091
+  (0.0ms) rollback transaction
68092
+  (0.0ms) begin transaction
68093
+ ----------------------------------------------------
68094
+ PolyBelongsToTest: test_0002_User as not polymorphic
68095
+ ----------------------------------------------------
68096
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68097
+  (0.1ms) rollback transaction
68098
+  (0.0ms) begin transaction
68099
+ ---------------------------------------------------
68100
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
68101
+ ---------------------------------------------------
68102
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68103
+  (0.1ms) rollback transaction
68104
+  (0.0ms) begin transaction
68105
+ -------------------------------------------------
68106
+ PolyBelongsToTest: test_0004_Phone as polymorphic
68107
+ -------------------------------------------------
68108
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68109
+  (0.0ms) rollback transaction
68110
+  (0.0ms) begin transaction
68111
+ ---------------------------------------------------------
68112
+ PolyBelongsToTest: test_0005_User belongs to table as nil
68113
+ ---------------------------------------------------------
68114
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68115
+  (0.1ms) rollback transaction
68116
+  (0.0ms) begin transaction
68117
+ ----------------------------------------------------------
68118
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
68119
+ ----------------------------------------------------------
68120
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68121
+  (0.1ms) rollback transaction
68122
+  (0.0ms) begin transaction
68123
+ -----------------------------------------------------------------
68124
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
68125
+ -----------------------------------------------------------------
68126
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68127
+  (0.0ms) rollback transaction
68128
+  (0.0ms) begin transaction
68129
+ ------------------------------------------------------
68130
+ PolyBelongsToTest: test_0008_User params name as :user
68131
+ ------------------------------------------------------
68132
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68133
+  (0.1ms) rollback transaction
68134
+  (0.0ms) begin transaction
68135
+ ----------------------------------------------------
68136
+ PolyBelongsToTest: test_0009_Tag params name as :tag
68137
+ ----------------------------------------------------
68138
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68139
+  (0.0ms) rollback transaction
68140
+  (0.0ms) begin transaction
68141
+ --------------------------------------------------------------------
68142
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
68143
+ --------------------------------------------------------------------
68144
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68145
+  (0.0ms) rollback transaction
68146
+  (0.0ms) begin transaction
68147
+ -------------------------------------------------------------------
68148
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
68149
+ -------------------------------------------------------------------
68150
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68151
+  (0.1ms) rollback transaction
68152
+  (0.0ms) begin transaction
68153
+ -------------------------------------------------------------------
68154
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
68155
+ -------------------------------------------------------------------
68156
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68157
+  (0.0ms) rollback transaction
68158
+  (0.0ms) begin transaction
68159
+ ----------------------------------------------------------------------
68160
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
68161
+ ----------------------------------------------------------------------
68162
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68163
+  (0.0ms) rollback transaction
68164
+  (0.0ms) begin transaction
68165
+ ------------------------------------------------------------------------------
68166
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
68167
+ ------------------------------------------------------------------------------
68168
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68169
+  (0.0ms) rollback transaction
68170
+  (0.0ms) begin transaction
68171
+ ---------------------------------------------------------------------
68172
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
68173
+ ---------------------------------------------------------------------
68174
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68175
+  (0.0ms) rollback transaction
68176
+  (0.0ms) begin transaction
68177
+ --------------------------------------------------------------------
68178
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
68179
+ --------------------------------------------------------------------
68180
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68181
+  (0.0ms) rollback transaction
68182
+  (0.0ms) begin transaction
68183
+ ----------------------------------------------------------------------------------
68184
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
68185
+ ----------------------------------------------------------------------------------
68186
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68187
+  (0.0ms) rollback transaction
68188
+  (0.0ms) begin transaction
68189
+ ------------------------------------------------------
68190
+ PolyBelongsToTest: test_0018_User belongs to id as nil
68191
+ ------------------------------------------------------
68192
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68193
+  (0.0ms) rollback transaction
68194
+  (0.0ms) begin transaction
68195
+ -----------------------------------------------------------
68196
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
68197
+ -----------------------------------------------------------
68198
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68199
+  (0.0ms) rollback transaction
68200
+  (0.0ms) begin transaction
68201
+ ---------------------------------------------------------------------
68202
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
68203
+ ---------------------------------------------------------------------
68204
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68205
+  (0.1ms) rollback transaction
68206
+  (0.0ms) begin transaction
68207
+ --------------------------------------------------------
68208
+ PolyBelongsToTest: test_0021_User belongs to type as nil
68209
+ --------------------------------------------------------
68210
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68211
+  (0.0ms) rollback transaction
68212
+  (0.0ms) begin transaction
68213
+ -------------------------------------------------------
68214
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
68215
+ -------------------------------------------------------
68216
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68217
+  (0.0ms) rollback transaction
68218
+  (0.0ms) begin transaction
68219
+ ---------------------------------------------------------------
68220
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
68221
+ ---------------------------------------------------------------
68222
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68223
+  (0.0ms) rollback transaction
68224
+  (0.0ms) begin transaction
68225
+ ----------------------------------------------------
68226
+ PolyBelongsToTest: test_0024_User parent returns nil
68227
+ ----------------------------------------------------
68228
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68229
+  (0.0ms) rollback transaction
68230
+  (0.0ms) begin transaction
68231
+ -------------------------------------------------------------
68232
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
68233
+ -------------------------------------------------------------
68234
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68235
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68236
+  (0.1ms) rollback transaction
68237
+  (0.0ms) begin transaction
68238
+ ---------------------------------------------------------
68239
+ PolyBelongsToTest: test_0026_Phone parent returns profile
68240
+ ---------------------------------------------------------
68241
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68242
+  (0.1ms) SAVEPOINT active_record_1
68243
+ SQL (0.9ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68246
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
68247
+  (0.1ms) rollback transaction
68248
+  (0.1ms) begin transaction
68249
+ --------------------------------------------------------
68250
+ PolyBelongsToTest: test_0027_Profile parent returns user
68251
+ --------------------------------------------------------
68252
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68253
+  (0.0ms) SAVEPOINT active_record_1
68254
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68256
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68257
+  (0.1ms) rollback transaction
68258
+  (0.6ms) begin transaction
68259
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
68260
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
68261
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
68263
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
68265
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
68267
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68269
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
68271
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68273
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
68275
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68277
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
68279
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68281
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
68283
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68285
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
68287
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 902541635)
68288
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 380377255)
68289
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:00', '2015-02-21 01:09:00', 619379998)
68290
+ Fixture Delete (0.1ms) DELETE FROM "tags"
68291
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68293
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
68295
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68297
+ Fixture Insert (0.1ms) 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
+  (13.5ms) commit transaction
68299
+  (0.1ms) begin transaction
68300
+ -------------------------------------------
68301
+ DupTest: test_0001_has method pbt_dup_build
68302
+ -------------------------------------------
68303
+  (0.1ms) rollback transaction
68304
+  (0.1ms) begin transaction
68305
+ ------------------------------------------------
68306
+ DupTest: test_0002_has method pbt_deep_dup_build
68307
+ ------------------------------------------------
68308
+  (0.1ms) rollback transaction
68309
+  (0.1ms) begin transaction
68310
+ ----------------------------------------------------
68311
+ DupTest: test_0003_builds copy from dup'd attributes
68312
+ ----------------------------------------------------
68313
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68314
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68315
+  (0.1ms) rollback transaction
68316
+  (0.0ms) begin transaction
68317
+ -------------------------------------------------------
68318
+ DupTest: test_0004_builds deep copy of dup'd attributes
68319
+ -------------------------------------------------------
68320
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
68321
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68322
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68323
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
68324
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
68325
+  (0.1ms) rollback transaction
68326
+  (0.0ms) begin transaction
68327
+ ---------------------------------------------------------------
68328
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
68329
+ ---------------------------------------------------------------
68330
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68331
+  (0.0ms) rollback transaction
68332
+  (0.0ms) begin transaction
68333
+ -------------------------------------------------
68334
+ PbtTest: test_0002_BuildCmd returns build command
68335
+ -------------------------------------------------
68336
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68337
+  (0.1ms) rollback transaction
68338
+  (0.0ms) begin transaction
68339
+ ----------------------------------------------------------------------
68340
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
68341
+ ----------------------------------------------------------------------
68342
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68343
+  (0.0ms) rollback transaction
68344
+  (0.0ms) begin transaction
68345
+ ----------------------------------------------------------------------
68346
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
68347
+ ----------------------------------------------------------------------
68348
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68349
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68350
+  (0.1ms) rollback transaction
68351
+  (0.0ms) begin transaction
68352
+ -----------------------------------------------------
68353
+ PbtTest: test_0005_IsReflected gives boolean of child
68354
+ -----------------------------------------------------
68355
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68356
+  (0.1ms) rollback transaction
68357
+  (0.1ms) begin transaction
68358
+ ----------------------------------------------------------------
68359
+ PbtTest: test_0006_SingularOrPlural responds for child relations
68360
+ ----------------------------------------------------------------
68361
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68362
+  (0.0ms) rollback transaction
68363
+  (0.0ms) begin transaction
68364
+ ----------------------------------------------------
68365
+ PbtTest: test_0007_IsSingular tells child singleness
68366
+ ----------------------------------------------------
68367
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68368
+  (0.0ms) rollback transaction
68369
+  (0.0ms) begin transaction
68370
+ --------------------------------------------------
68371
+ PbtTest: test_0008_IsPlural tells child pluralness
68372
+ --------------------------------------------------
68373
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68374
+  (0.1ms) rollback transaction
68375
+  (0.0ms) begin transaction
68376
+ -----------------------------------------------------------------
68377
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
68378
+ -----------------------------------------------------------------
68379
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68380
+  (0.1ms) rollback transaction
68381
+  (0.0ms) begin transaction
68382
+ ----------------------------------------
68383
+ PolyBelongsToTest: test_0001_is a module
68384
+ ----------------------------------------
68385
+  (0.0ms) rollback transaction
68386
+  (0.0ms) begin transaction
68387
+ ----------------------------------------------------
68388
+ PolyBelongsToTest: test_0002_User as not polymorphic
68389
+ ----------------------------------------------------
68390
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68391
+  (0.0ms) rollback transaction
68392
+  (0.0ms) begin transaction
68393
+ ---------------------------------------------------
68394
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
68395
+ ---------------------------------------------------
68396
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68397
+  (0.1ms) rollback transaction
68398
+  (0.0ms) begin transaction
68399
+ -------------------------------------------------
68400
+ PolyBelongsToTest: test_0004_Phone as polymorphic
68401
+ -------------------------------------------------
68402
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68403
+  (0.0ms) rollback transaction
68404
+  (0.0ms) begin transaction
68405
+ ---------------------------------------------------------
68406
+ PolyBelongsToTest: test_0005_User belongs to table as nil
68407
+ ---------------------------------------------------------
68408
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68409
+  (0.1ms) rollback transaction
68410
+  (0.1ms) begin transaction
68411
+ ----------------------------------------------------------
68412
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
68413
+ ----------------------------------------------------------
68414
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68415
+  (0.0ms) rollback transaction
68416
+  (0.1ms) begin transaction
68417
+ -----------------------------------------------------------------
68418
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
68419
+ -----------------------------------------------------------------
68420
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68421
+  (0.0ms) rollback transaction
68422
+  (0.0ms) begin transaction
68423
+ ------------------------------------------------------
68424
+ PolyBelongsToTest: test_0008_User params name as :user
68425
+ ------------------------------------------------------
68426
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68427
+  (0.1ms) rollback transaction
68428
+  (0.0ms) begin transaction
68429
+ ----------------------------------------------------
68430
+ PolyBelongsToTest: test_0009_Tag params name as :tag
68431
+ ----------------------------------------------------
68432
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68433
+  (0.0ms) rollback transaction
68434
+  (0.0ms) begin transaction
68435
+ --------------------------------------------------------------------
68436
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
68437
+ --------------------------------------------------------------------
68438
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68439
+  (0.1ms) rollback transaction
68440
+  (0.0ms) begin transaction
68441
+ -------------------------------------------------------------------
68442
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
68443
+ -------------------------------------------------------------------
68444
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68445
+  (0.0ms) rollback transaction
68446
+  (0.0ms) begin transaction
68447
+ -------------------------------------------------------------------
68448
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
68449
+ -------------------------------------------------------------------
68450
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68451
+  (0.0ms) rollback transaction
68452
+  (0.0ms) begin transaction
68453
+ ----------------------------------------------------------------------
68454
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
68455
+ ----------------------------------------------------------------------
68456
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68457
+  (0.0ms) rollback transaction
68458
+  (0.0ms) begin transaction
68459
+ ------------------------------------------------------------------------------
68460
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
68461
+ ------------------------------------------------------------------------------
68462
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68463
+  (0.0ms) rollback transaction
68464
+  (0.1ms) begin transaction
68465
+ ---------------------------------------------------------------------
68466
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
68467
+ ---------------------------------------------------------------------
68468
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68469
+  (0.0ms) rollback transaction
68470
+  (0.0ms) begin transaction
68471
+ --------------------------------------------------------------------
68472
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
68473
+ --------------------------------------------------------------------
68474
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68475
+  (0.1ms) rollback transaction
68476
+  (0.0ms) begin transaction
68477
+ ----------------------------------------------------------------------------------
68478
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
68479
+ ----------------------------------------------------------------------------------
68480
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68481
+  (0.1ms) rollback transaction
68482
+  (0.0ms) begin transaction
68483
+ ------------------------------------------------------
68484
+ PolyBelongsToTest: test_0018_User belongs to id as nil
68485
+ ------------------------------------------------------
68486
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68487
+  (0.0ms) rollback transaction
68488
+  (0.0ms) begin transaction
68489
+ -----------------------------------------------------------
68490
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
68491
+ -----------------------------------------------------------
68492
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68493
+  (0.0ms) rollback transaction
68494
+  (0.0ms) begin transaction
68495
+ ---------------------------------------------------------------------
68496
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
68497
+ ---------------------------------------------------------------------
68498
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68499
+  (0.0ms) rollback transaction
68500
+  (0.0ms) begin transaction
68501
+ --------------------------------------------------------
68502
+ PolyBelongsToTest: test_0021_User belongs to type as nil
68503
+ --------------------------------------------------------
68504
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68505
+  (0.0ms) rollback transaction
68506
+  (0.0ms) begin transaction
68507
+ -------------------------------------------------------
68508
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
68509
+ -------------------------------------------------------
68510
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68511
+  (0.0ms) rollback transaction
68512
+  (0.0ms) begin transaction
68513
+ ---------------------------------------------------------------
68514
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
68515
+ ---------------------------------------------------------------
68516
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68517
+  (0.1ms) rollback transaction
68518
+  (0.0ms) begin transaction
68519
+ ----------------------------------------------------
68520
+ PolyBelongsToTest: test_0024_User parent returns nil
68521
+ ----------------------------------------------------
68522
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68523
+  (0.1ms) rollback transaction
68524
+  (0.0ms) begin transaction
68525
+ -------------------------------------------------------------
68526
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
68527
+ -------------------------------------------------------------
68528
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68529
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68530
+  (0.1ms) rollback transaction
68531
+  (0.0ms) begin transaction
68532
+ ---------------------------------------------------------
68533
+ PolyBelongsToTest: test_0026_Phone parent returns profile
68534
+ ---------------------------------------------------------
68535
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68536
+  (0.1ms) SAVEPOINT active_record_1
68537
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68540
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
68541
+  (0.1ms) rollback transaction
68542
+  (0.0ms) begin transaction
68543
+ --------------------------------------------------------
68544
+ PolyBelongsToTest: test_0027_Profile parent returns user
68545
+ --------------------------------------------------------
68546
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68547
+  (0.1ms) SAVEPOINT active_record_1
68548
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68550
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68551
+  (0.1ms) rollback transaction
68552
+  (0.6ms) begin transaction
68553
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
68554
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
68555
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
68557
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
68559
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
68561
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68563
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
68565
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68567
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
68569
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68571
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
68573
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68575
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
68577
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68579
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
68581
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 902541635)
68582
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 380377255)
68583
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:21', '2015-02-21 01:09:21', 619379998)
68584
+ Fixture Delete (0.1ms) DELETE FROM "tags"
68585
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68587
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
68589
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68591
+ Fixture Insert (0.1ms) 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
+  (14.0ms) commit transaction
68593
+  (0.1ms) begin transaction
68594
+ -------------------------------------------
68595
+ DupTest: test_0001_has method pbt_dup_build
68596
+ -------------------------------------------
68597
+  (0.1ms) rollback transaction
68598
+  (0.1ms) begin transaction
68599
+ ------------------------------------------------
68600
+ DupTest: test_0002_has method pbt_deep_dup_build
68601
+ ------------------------------------------------
68602
+  (0.1ms) rollback transaction
68603
+  (0.1ms) begin transaction
68604
+ ----------------------------------------------------
68605
+ DupTest: test_0003_builds copy from dup'd attributes
68606
+ ----------------------------------------------------
68607
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68608
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68609
+  (0.1ms) rollback transaction
68610
+  (0.1ms) begin transaction
68611
+ -------------------------------------------------------
68612
+ DupTest: test_0004_builds deep copy of dup'd attributes
68613
+ -------------------------------------------------------
68614
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
68615
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68616
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68617
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
68618
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
68619
+  (0.1ms) rollback transaction
68620
+  (0.1ms) begin transaction
68621
+ ---------------------------------------------------------------
68622
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
68623
+ ---------------------------------------------------------------
68624
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68625
+  (0.0ms) rollback transaction
68626
+  (0.0ms) begin transaction
68627
+ -------------------------------------------------
68628
+ PbtTest: test_0002_BuildCmd returns build command
68629
+ -------------------------------------------------
68630
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68631
+  (0.0ms) rollback transaction
68632
+  (0.0ms) begin transaction
68633
+ ----------------------------------------------------------------------
68634
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
68635
+ ----------------------------------------------------------------------
68636
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68637
+  (0.1ms) rollback transaction
68638
+  (0.0ms) begin transaction
68639
+ ----------------------------------------------------------------------
68640
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
68641
+ ----------------------------------------------------------------------
68642
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68643
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68644
+  (0.1ms) rollback transaction
68645
+  (0.0ms) begin transaction
68646
+ -----------------------------------------------------
68647
+ PbtTest: test_0005_IsReflected gives boolean of child
68648
+ -----------------------------------------------------
68649
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68650
+  (0.1ms) rollback transaction
68651
+  (0.1ms) begin transaction
68652
+ ----------------------------------------------------------------
68653
+ PbtTest: test_0006_SingularOrPlural responds for child relations
68654
+ ----------------------------------------------------------------
68655
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68656
+  (0.0ms) rollback transaction
68657
+  (0.1ms) begin transaction
68658
+ ----------------------------------------------------
68659
+ PbtTest: test_0007_IsSingular tells child singleness
68660
+ ----------------------------------------------------
68661
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68662
+  (0.0ms) rollback transaction
68663
+  (0.0ms) begin transaction
68664
+ --------------------------------------------------
68665
+ PbtTest: test_0008_IsPlural tells child pluralness
68666
+ --------------------------------------------------
68667
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68668
+  (0.0ms) rollback transaction
68669
+  (0.1ms) begin transaction
68670
+ -----------------------------------------------------------------
68671
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
68672
+ -----------------------------------------------------------------
68673
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68674
+  (0.0ms) rollback transaction
68675
+  (0.0ms) begin transaction
68676
+ ----------------------------------------
68677
+ PolyBelongsToTest: test_0001_is a module
68678
+ ----------------------------------------
68679
+  (0.0ms) rollback transaction
68680
+  (0.0ms) begin transaction
68681
+ ----------------------------------------------------
68682
+ PolyBelongsToTest: test_0002_User as not polymorphic
68683
+ ----------------------------------------------------
68684
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68685
+  (0.0ms) rollback transaction
68686
+  (0.1ms) begin transaction
68687
+ ---------------------------------------------------
68688
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
68689
+ ---------------------------------------------------
68690
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68691
+  (0.1ms) rollback transaction
68692
+  (0.0ms) begin transaction
68693
+ -------------------------------------------------
68694
+ PolyBelongsToTest: test_0004_Phone as polymorphic
68695
+ -------------------------------------------------
68696
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68697
+  (0.0ms) rollback transaction
68698
+  (0.0ms) begin transaction
68699
+ ---------------------------------------------------------
68700
+ PolyBelongsToTest: test_0005_User belongs to table as nil
68701
+ ---------------------------------------------------------
68702
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68703
+  (0.0ms) rollback transaction
68704
+  (0.0ms) begin transaction
68705
+ ----------------------------------------------------------
68706
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
68707
+ ----------------------------------------------------------
68708
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68709
+  (0.0ms) rollback transaction
68710
+  (0.0ms) begin transaction
68711
+ -----------------------------------------------------------------
68712
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
68713
+ -----------------------------------------------------------------
68714
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68715
+  (0.0ms) rollback transaction
68716
+  (0.0ms) begin transaction
68717
+ ------------------------------------------------------
68718
+ PolyBelongsToTest: test_0008_User params name as :user
68719
+ ------------------------------------------------------
68720
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68721
+  (0.0ms) rollback transaction
68722
+  (0.1ms) begin transaction
68723
+ ----------------------------------------------------
68724
+ PolyBelongsToTest: test_0009_Tag params name as :tag
68725
+ ----------------------------------------------------
68726
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68727
+  (0.0ms) rollback transaction
68728
+  (0.0ms) begin transaction
68729
+ --------------------------------------------------------------------
68730
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
68731
+ --------------------------------------------------------------------
68732
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68733
+  (0.1ms) rollback transaction
68734
+  (0.0ms) begin transaction
68735
+ -------------------------------------------------------------------
68736
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
68737
+ -------------------------------------------------------------------
68738
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68739
+  (0.1ms) rollback transaction
68740
+  (0.0ms) begin transaction
68741
+ -------------------------------------------------------------------
68742
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
68743
+ -------------------------------------------------------------------
68744
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68745
+  (0.1ms) rollback transaction
68746
+  (0.1ms) begin transaction
68747
+ ----------------------------------------------------------------------
68748
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
68749
+ ----------------------------------------------------------------------
68750
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68751
+  (0.1ms) rollback transaction
68752
+  (0.1ms) begin transaction
68753
+ ------------------------------------------------------------------------------
68754
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
68755
+ ------------------------------------------------------------------------------
68756
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68757
+  (0.1ms) rollback transaction
68758
+  (0.0ms) begin transaction
68759
+ ---------------------------------------------------------------------
68760
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
68761
+ ---------------------------------------------------------------------
68762
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68763
+  (0.1ms) rollback transaction
68764
+  (0.0ms) begin transaction
68765
+ --------------------------------------------------------------------
68766
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
68767
+ --------------------------------------------------------------------
68768
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68769
+  (0.1ms) rollback transaction
68770
+  (0.1ms) begin transaction
68771
+ ----------------------------------------------------------------------------------
68772
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
68773
+ ----------------------------------------------------------------------------------
68774
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68775
+  (0.0ms) rollback transaction
68776
+  (0.0ms) begin transaction
68777
+ ------------------------------------------------------
68778
+ PolyBelongsToTest: test_0018_User belongs to id as nil
68779
+ ------------------------------------------------------
68780
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68781
+  (0.1ms) rollback transaction
68782
+  (0.0ms) begin transaction
68783
+ -----------------------------------------------------------
68784
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
68785
+ -----------------------------------------------------------
68786
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68787
+  (0.0ms) rollback transaction
68788
+  (0.0ms) begin transaction
68789
+ ---------------------------------------------------------------------
68790
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
68791
+ ---------------------------------------------------------------------
68792
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68793
+  (0.1ms) rollback transaction
68794
+  (0.0ms) begin transaction
68795
+ --------------------------------------------------------
68796
+ PolyBelongsToTest: test_0021_User belongs to type as nil
68797
+ --------------------------------------------------------
68798
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68799
+  (0.0ms) rollback transaction
68800
+  (0.0ms) begin transaction
68801
+ -------------------------------------------------------
68802
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
68803
+ -------------------------------------------------------
68804
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68805
+  (0.0ms) rollback transaction
68806
+  (0.0ms) begin transaction
68807
+ ---------------------------------------------------------------
68808
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
68809
+ ---------------------------------------------------------------
68810
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68811
+  (0.0ms) rollback transaction
68812
+  (0.0ms) begin transaction
68813
+ ----------------------------------------------------
68814
+ PolyBelongsToTest: test_0024_User parent returns nil
68815
+ ----------------------------------------------------
68816
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68817
+  (0.0ms) rollback transaction
68818
+  (0.0ms) begin transaction
68819
+ -------------------------------------------------------------
68820
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
68821
+ -------------------------------------------------------------
68822
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68823
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68824
+  (0.1ms) rollback transaction
68825
+  (0.0ms) begin transaction
68826
+ ---------------------------------------------------------
68827
+ PolyBelongsToTest: test_0026_Phone parent returns profile
68828
+ ---------------------------------------------------------
68829
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68830
+  (0.1ms) SAVEPOINT active_record_1
68831
+ SQL (0.9ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68834
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
68835
+  (0.1ms) rollback transaction
68836
+  (0.0ms) begin transaction
68837
+ --------------------------------------------------------
68838
+ PolyBelongsToTest: test_0027_Profile parent returns user
68839
+ --------------------------------------------------------
68840
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68841
+  (0.0ms) SAVEPOINT active_record_1
68842
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
68844
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68845
+  (0.1ms) rollback transaction
68846
+  (0.7ms) begin transaction
68847
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
68848
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
68849
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
68851
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
68853
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
68855
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68857
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
68859
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68861
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
68863
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68865
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
68867
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68869
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
68871
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68873
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
68875
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 902541635)
68876
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 380377255)
68877
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:09:28', '2015-02-21 01:09:28', 619379998)
68878
+ Fixture Delete (0.1ms) DELETE FROM "tags"
68879
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68881
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
68883
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
68885
+ Fixture Insert (0.1ms) 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
+  (25.2ms) commit transaction
68887
+  (0.1ms) begin transaction
68888
+ -------------------------------------------
68889
+ DupTest: test_0001_has method pbt_dup_build
68890
+ -------------------------------------------
68891
+  (0.1ms) rollback transaction
68892
+  (0.1ms) begin transaction
68893
+ ------------------------------------------------
68894
+ DupTest: test_0002_has method pbt_deep_dup_build
68895
+ ------------------------------------------------
68896
+  (0.1ms) rollback transaction
68897
+  (0.1ms) begin transaction
68898
+ ----------------------------------------------------
68899
+ DupTest: test_0003_builds copy from dup'd attributes
68900
+ ----------------------------------------------------
68901
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68902
+ Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68903
+  (0.1ms) rollback transaction
68904
+  (0.1ms) begin transaction
68905
+ -------------------------------------------------------
68906
+ DupTest: test_0004_builds deep copy of dup'd attributes
68907
+ -------------------------------------------------------
68908
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
68909
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68910
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68911
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
68912
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
68913
+  (0.1ms) rollback transaction
68914
+  (0.1ms) begin transaction
68915
+ ---------------------------------------------------------------
68916
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
68917
+ ---------------------------------------------------------------
68918
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68919
+  (0.1ms) rollback transaction
68920
+  (0.0ms) begin transaction
68921
+ -------------------------------------------------
68922
+ PbtTest: test_0002_BuildCmd returns build command
68923
+ -------------------------------------------------
68924
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68925
+  (0.0ms) rollback transaction
68926
+  (0.0ms) begin transaction
68927
+ ----------------------------------------------------------------------
68928
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
68929
+ ----------------------------------------------------------------------
68930
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68931
+  (0.1ms) rollback transaction
68932
+  (0.0ms) begin transaction
68933
+ ----------------------------------------------------------------------
68934
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
68935
+ ----------------------------------------------------------------------
68936
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68937
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
68938
+  (0.1ms) rollback transaction
68939
+  (0.1ms) begin transaction
68940
+ -----------------------------------------------------
68941
+ PbtTest: test_0005_IsReflected gives boolean of child
68942
+ -----------------------------------------------------
68943
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68944
+  (0.1ms) rollback transaction
68945
+  (0.1ms) begin transaction
68946
+ ----------------------------------------------------------------
68947
+ PbtTest: test_0006_SingularOrPlural responds for child relations
68948
+ ----------------------------------------------------------------
68949
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
68950
+  (0.0ms) rollback transaction
68951
+  (0.0ms) begin transaction
68952
+ ----------------------------------------------------
68953
+ PbtTest: test_0007_IsSingular tells child singleness
68954
+ ----------------------------------------------------
68955
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68956
+  (0.0ms) rollback transaction
68957
+  (0.0ms) begin transaction
68958
+ --------------------------------------------------
68959
+ PbtTest: test_0008_IsPlural tells child pluralness
68960
+ --------------------------------------------------
68961
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
68962
+  (0.0ms) rollback transaction
68963
+  (0.0ms) begin transaction
68964
+ -----------------------------------------------------------------
68965
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
68966
+ -----------------------------------------------------------------
68967
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
68968
+  (0.0ms) rollback transaction
68969
+  (0.0ms) begin transaction
68970
+ ----------------------------------------
68971
+ PolyBelongsToTest: test_0001_is a module
68972
+ ----------------------------------------
68973
+  (0.0ms) rollback transaction
68974
+  (0.0ms) begin transaction
68975
+ ----------------------------------------------------
68976
+ PolyBelongsToTest: test_0002_User as not polymorphic
68977
+ ----------------------------------------------------
68978
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68979
+  (0.0ms) rollback transaction
68980
+  (0.0ms) begin transaction
68981
+ ---------------------------------------------------
68982
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
68983
+ ---------------------------------------------------
68984
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
68985
+  (0.1ms) rollback transaction
68986
+  (0.0ms) begin transaction
68987
+ -------------------------------------------------
68988
+ PolyBelongsToTest: test_0004_Phone as polymorphic
68989
+ -------------------------------------------------
68990
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
68991
+  (0.0ms) rollback transaction
68992
+  (0.0ms) begin transaction
68993
+ ---------------------------------------------------------
68994
+ PolyBelongsToTest: test_0005_User belongs to table as nil
68995
+ ---------------------------------------------------------
68996
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
68997
+  (0.1ms) rollback transaction
68998
+  (0.0ms) begin transaction
68999
+ ----------------------------------------------------------
69000
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
69001
+ ----------------------------------------------------------
69002
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69003
+  (0.0ms) rollback transaction
69004
+  (0.0ms) begin transaction
69005
+ -----------------------------------------------------------------
69006
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
69007
+ -----------------------------------------------------------------
69008
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69009
+  (0.0ms) rollback transaction
69010
+  (0.0ms) begin transaction
69011
+ ------------------------------------------------------
69012
+ PolyBelongsToTest: test_0008_User params name as :user
69013
+ ------------------------------------------------------
69014
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69015
+  (0.0ms) rollback transaction
69016
+  (0.0ms) begin transaction
69017
+ ----------------------------------------------------
69018
+ PolyBelongsToTest: test_0009_Tag params name as :tag
69019
+ ----------------------------------------------------
69020
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69021
+  (0.0ms) rollback transaction
69022
+  (0.0ms) begin transaction
69023
+ --------------------------------------------------------------------
69024
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
69025
+ --------------------------------------------------------------------
69026
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69027
+  (0.1ms) rollback transaction
69028
+  (0.0ms) begin transaction
69029
+ -------------------------------------------------------------------
69030
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
69031
+ -------------------------------------------------------------------
69032
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69033
+  (0.0ms) rollback transaction
69034
+  (0.0ms) begin transaction
69035
+ -------------------------------------------------------------------
69036
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
69037
+ -------------------------------------------------------------------
69038
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69039
+  (0.0ms) rollback transaction
69040
+  (0.0ms) begin transaction
69041
+ ----------------------------------------------------------------------
69042
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
69043
+ ----------------------------------------------------------------------
69044
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69045
+  (0.0ms) rollback transaction
69046
+  (0.0ms) begin transaction
69047
+ ------------------------------------------------------------------------------
69048
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
69049
+ ------------------------------------------------------------------------------
69050
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69051
+  (0.1ms) rollback transaction
69052
+  (0.0ms) begin transaction
69053
+ ---------------------------------------------------------------------
69054
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
69055
+ ---------------------------------------------------------------------
69056
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69057
+  (0.0ms) rollback transaction
69058
+  (0.0ms) begin transaction
69059
+ --------------------------------------------------------------------
69060
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
69061
+ --------------------------------------------------------------------
69062
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69063
+  (0.0ms) rollback transaction
69064
+  (0.1ms) begin transaction
69065
+ ----------------------------------------------------------------------------------
69066
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
69067
+ ----------------------------------------------------------------------------------
69068
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69069
+  (0.0ms) rollback transaction
69070
+  (0.0ms) begin transaction
69071
+ ------------------------------------------------------
69072
+ PolyBelongsToTest: test_0018_User belongs to id as nil
69073
+ ------------------------------------------------------
69074
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69075
+  (0.1ms) rollback transaction
69076
+  (0.0ms) begin transaction
69077
+ -----------------------------------------------------------
69078
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
69079
+ -----------------------------------------------------------
69080
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69081
+  (0.0ms) rollback transaction
69082
+  (0.0ms) begin transaction
69083
+ ---------------------------------------------------------------------
69084
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
69085
+ ---------------------------------------------------------------------
69086
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69087
+  (0.0ms) rollback transaction
69088
+  (0.0ms) begin transaction
69089
+ --------------------------------------------------------
69090
+ PolyBelongsToTest: test_0021_User belongs to type as nil
69091
+ --------------------------------------------------------
69092
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69093
+  (0.0ms) rollback transaction
69094
+  (0.0ms) begin transaction
69095
+ -------------------------------------------------------
69096
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
69097
+ -------------------------------------------------------
69098
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69099
+  (0.0ms) rollback transaction
69100
+  (0.0ms) begin transaction
69101
+ ---------------------------------------------------------------
69102
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
69103
+ ---------------------------------------------------------------
69104
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69105
+  (0.0ms) rollback transaction
69106
+  (0.0ms) begin transaction
69107
+ ----------------------------------------------------
69108
+ PolyBelongsToTest: test_0024_User parent returns nil
69109
+ ----------------------------------------------------
69110
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69111
+  (0.0ms) rollback transaction
69112
+  (0.0ms) begin transaction
69113
+ -------------------------------------------------------------
69114
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
69115
+ -------------------------------------------------------------
69116
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69117
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69118
+  (0.1ms) rollback transaction
69119
+  (0.1ms) begin transaction
69120
+ ---------------------------------------------------------
69121
+ PolyBelongsToTest: test_0026_Phone parent returns profile
69122
+ ---------------------------------------------------------
69123
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69124
+  (0.1ms) SAVEPOINT active_record_1
69125
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69128
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
69129
+  (0.1ms) rollback transaction
69130
+  (0.1ms) begin transaction
69131
+ --------------------------------------------------------
69132
+ PolyBelongsToTest: test_0027_Profile parent returns user
69133
+ --------------------------------------------------------
69134
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69135
+  (0.1ms) SAVEPOINT active_record_1
69136
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69138
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69139
+  (0.1ms) rollback transaction
69140
+  (0.6ms) begin transaction
69141
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
69142
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
69143
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
69145
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
69147
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
69149
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69151
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
69153
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69155
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
69157
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69159
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
69161
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69163
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
69165
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69167
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
69169
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 902541635)
69170
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 380377255)
69171
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:18', '2015-02-21 01:10:18', 619379998)
69172
+ Fixture Delete (0.1ms) DELETE FROM "tags"
69173
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69175
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
69177
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69179
+ Fixture Insert (0.1ms) 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
+  (13.6ms) commit transaction
69181
+  (0.1ms) begin transaction
69182
+ -------------------------------------------
69183
+ DupTest: test_0001_has method pbt_dup_build
69184
+ -------------------------------------------
69185
+  (0.1ms) rollback transaction
69186
+  (0.1ms) begin transaction
69187
+ ------------------------------------------------
69188
+ DupTest: test_0002_has method pbt_deep_dup_build
69189
+ ------------------------------------------------
69190
+  (0.1ms) rollback transaction
69191
+  (0.1ms) begin transaction
69192
+ ----------------------------------------------------
69193
+ DupTest: test_0003_builds copy from dup'd attributes
69194
+ ----------------------------------------------------
69195
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69196
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69197
+  (0.1ms) rollback transaction
69198
+  (0.0ms) begin transaction
69199
+ -------------------------------------------------------
69200
+ DupTest: test_0004_builds deep copy of dup'd attributes
69201
+ -------------------------------------------------------
69202
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
69203
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69204
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69205
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
69206
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
69207
+  (0.1ms) rollback transaction
69208
+  (0.0ms) begin transaction
69209
+ ---------------------------------------------------------------
69210
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
69211
+ ---------------------------------------------------------------
69212
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69213
+  (0.1ms) rollback transaction
69214
+  (0.0ms) begin transaction
69215
+ -------------------------------------------------
69216
+ PbtTest: test_0002_BuildCmd returns build command
69217
+ -------------------------------------------------
69218
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69219
+  (0.0ms) rollback transaction
69220
+  (0.0ms) begin transaction
69221
+ ----------------------------------------------------------------------
69222
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
69223
+ ----------------------------------------------------------------------
69224
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69225
+  (0.0ms) rollback transaction
69226
+  (0.0ms) begin transaction
69227
+ ----------------------------------------------------------------------
69228
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
69229
+ ----------------------------------------------------------------------
69230
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69231
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69232
+  (0.1ms) rollback transaction
69233
+  (0.0ms) begin transaction
69234
+ -----------------------------------------------------
69235
+ PbtTest: test_0005_IsReflected gives boolean of child
69236
+ -----------------------------------------------------
69237
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69238
+  (0.1ms) rollback transaction
69239
+  (0.0ms) begin transaction
69240
+ ----------------------------------------------------------------
69241
+ PbtTest: test_0006_SingularOrPlural responds for child relations
69242
+ ----------------------------------------------------------------
69243
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69244
+  (0.0ms) rollback transaction
69245
+  (0.0ms) begin transaction
69246
+ ----------------------------------------------------
69247
+ PbtTest: test_0007_IsSingular tells child singleness
69248
+ ----------------------------------------------------
69249
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69250
+  (0.0ms) rollback transaction
69251
+  (0.0ms) begin transaction
69252
+ --------------------------------------------------
69253
+ PbtTest: test_0008_IsPlural tells child pluralness
69254
+ --------------------------------------------------
69255
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69256
+  (0.0ms) rollback transaction
69257
+  (0.0ms) begin transaction
69258
+ -----------------------------------------------------------------
69259
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
69260
+ -----------------------------------------------------------------
69261
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69262
+  (0.0ms) rollback transaction
69263
+  (0.0ms) begin transaction
69264
+ ----------------------------------------
69265
+ PolyBelongsToTest: test_0001_is a module
69266
+ ----------------------------------------
69267
+  (0.0ms) rollback transaction
69268
+  (0.0ms) begin transaction
69269
+ ----------------------------------------------------
69270
+ PolyBelongsToTest: test_0002_User as not polymorphic
69271
+ ----------------------------------------------------
69272
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69273
+  (0.0ms) rollback transaction
69274
+  (0.0ms) begin transaction
69275
+ ---------------------------------------------------
69276
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
69277
+ ---------------------------------------------------
69278
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69279
+  (0.1ms) rollback transaction
69280
+  (0.1ms) begin transaction
69281
+ -------------------------------------------------
69282
+ PolyBelongsToTest: test_0004_Phone as polymorphic
69283
+ -------------------------------------------------
69284
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69285
+  (0.0ms) rollback transaction
69286
+  (0.0ms) begin transaction
69287
+ ---------------------------------------------------------
69288
+ PolyBelongsToTest: test_0005_User belongs to table as nil
69289
+ ---------------------------------------------------------
69290
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69291
+  (0.0ms) rollback transaction
69292
+  (0.0ms) begin transaction
69293
+ ----------------------------------------------------------
69294
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
69295
+ ----------------------------------------------------------
69296
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69297
+  (0.0ms) rollback transaction
69298
+  (0.0ms) begin transaction
69299
+ -----------------------------------------------------------------
69300
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
69301
+ -----------------------------------------------------------------
69302
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69303
+  (0.1ms) rollback transaction
69304
+  (0.0ms) begin transaction
69305
+ ------------------------------------------------------
69306
+ PolyBelongsToTest: test_0008_User params name as :user
69307
+ ------------------------------------------------------
69308
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69309
+  (0.0ms) rollback transaction
69310
+  (0.0ms) begin transaction
69311
+ ----------------------------------------------------
69312
+ PolyBelongsToTest: test_0009_Tag params name as :tag
69313
+ ----------------------------------------------------
69314
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69315
+  (0.0ms) rollback transaction
69316
+  (0.0ms) begin transaction
69317
+ --------------------------------------------------------------------
69318
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
69319
+ --------------------------------------------------------------------
69320
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69321
+  (0.0ms) rollback transaction
69322
+  (0.0ms) begin transaction
69323
+ -------------------------------------------------------------------
69324
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
69325
+ -------------------------------------------------------------------
69326
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69327
+  (0.0ms) rollback transaction
69328
+  (0.0ms) begin transaction
69329
+ -------------------------------------------------------------------
69330
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
69331
+ -------------------------------------------------------------------
69332
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69333
+  (0.0ms) rollback transaction
69334
+  (0.0ms) begin transaction
69335
+ ----------------------------------------------------------------------
69336
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
69337
+ ----------------------------------------------------------------------
69338
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69339
+  (0.0ms) rollback transaction
69340
+  (0.0ms) begin transaction
69341
+ ------------------------------------------------------------------------------
69342
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
69343
+ ------------------------------------------------------------------------------
69344
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69345
+  (0.0ms) rollback transaction
69346
+  (0.0ms) begin transaction
69347
+ ---------------------------------------------------------------------
69348
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
69349
+ ---------------------------------------------------------------------
69350
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69351
+  (0.1ms) rollback transaction
69352
+  (0.1ms) begin transaction
69353
+ --------------------------------------------------------------------
69354
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
69355
+ --------------------------------------------------------------------
69356
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69357
+  (0.0ms) rollback transaction
69358
+  (0.0ms) begin transaction
69359
+ ----------------------------------------------------------------------------------
69360
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
69361
+ ----------------------------------------------------------------------------------
69362
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69363
+  (0.0ms) rollback transaction
69364
+  (0.0ms) begin transaction
69365
+ ------------------------------------------------------
69366
+ PolyBelongsToTest: test_0018_User belongs to id as nil
69367
+ ------------------------------------------------------
69368
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69369
+  (0.0ms) rollback transaction
69370
+  (0.0ms) begin transaction
69371
+ -----------------------------------------------------------
69372
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
69373
+ -----------------------------------------------------------
69374
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69375
+  (0.1ms) rollback transaction
69376
+  (0.0ms) begin transaction
69377
+ ---------------------------------------------------------------------
69378
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
69379
+ ---------------------------------------------------------------------
69380
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69381
+  (0.0ms) rollback transaction
69382
+  (0.0ms) begin transaction
69383
+ --------------------------------------------------------
69384
+ PolyBelongsToTest: test_0021_User belongs to type as nil
69385
+ --------------------------------------------------------
69386
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69387
+  (0.1ms) rollback transaction
69388
+  (0.0ms) begin transaction
69389
+ -------------------------------------------------------
69390
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
69391
+ -------------------------------------------------------
69392
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69393
+  (0.0ms) rollback transaction
69394
+  (0.0ms) begin transaction
69395
+ ---------------------------------------------------------------
69396
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
69397
+ ---------------------------------------------------------------
69398
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69399
+  (0.0ms) rollback transaction
69400
+  (0.0ms) begin transaction
69401
+ ----------------------------------------------------
69402
+ PolyBelongsToTest: test_0024_User parent returns nil
69403
+ ----------------------------------------------------
69404
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69405
+  (0.0ms) rollback transaction
69406
+  (0.1ms) begin transaction
69407
+ -------------------------------------------------------------
69408
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
69409
+ -------------------------------------------------------------
69410
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69411
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69412
+  (0.1ms) rollback transaction
69413
+  (0.0ms) begin transaction
69414
+ ---------------------------------------------------------
69415
+ PolyBelongsToTest: test_0026_Phone parent returns profile
69416
+ ---------------------------------------------------------
69417
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69418
+  (0.1ms) SAVEPOINT active_record_1
69419
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69422
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
69423
+  (0.1ms) rollback transaction
69424
+  (0.0ms) begin transaction
69425
+ --------------------------------------------------------
69426
+ PolyBelongsToTest: test_0027_Profile parent returns user
69427
+ --------------------------------------------------------
69428
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69429
+  (0.0ms) SAVEPOINT active_record_1
69430
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69432
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69433
+  (0.1ms) rollback transaction
69434
+  (0.6ms) begin transaction
69435
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
69436
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
69437
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
69439
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
69441
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
69443
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69445
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
69447
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69449
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
69451
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69453
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
69455
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69457
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
69459
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69461
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
69463
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 902541635)
69464
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 380377255)
69465
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:10:53', '2015-02-21 01:10:53', 619379998)
69466
+ Fixture Delete (0.1ms) DELETE FROM "tags"
69467
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69469
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
69471
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69473
+ Fixture Insert (0.1ms) 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
+  (19.4ms) commit transaction
69475
+  (0.1ms) begin transaction
69476
+ -------------------------------------------
69477
+ DupTest: test_0001_has method pbt_dup_build
69478
+ -------------------------------------------
69479
+  (0.1ms) rollback transaction
69480
+  (0.1ms) begin transaction
69481
+ ------------------------------------------------
69482
+ DupTest: test_0002_has method pbt_deep_dup_build
69483
+ ------------------------------------------------
69484
+  (0.1ms) rollback transaction
69485
+  (0.1ms) begin transaction
69486
+ ----------------------------------------------------
69487
+ DupTest: test_0003_builds copy from dup'd attributes
69488
+ ----------------------------------------------------
69489
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69490
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69491
+  (0.1ms) rollback transaction
69492
+  (0.0ms) begin transaction
69493
+ -------------------------------------------------------
69494
+ DupTest: test_0004_builds deep copy of dup'd attributes
69495
+ -------------------------------------------------------
69496
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
69497
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69498
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69499
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
69500
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
69501
+  (0.1ms) rollback transaction
69502
+  (0.1ms) begin transaction
69503
+ ---------------------------------------------------------------
69504
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
69505
+ ---------------------------------------------------------------
69506
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69507
+  (0.1ms) rollback transaction
69508
+  (0.0ms) begin transaction
69509
+ -------------------------------------------------
69510
+ PbtTest: test_0002_BuildCmd returns build command
69511
+ -------------------------------------------------
69512
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69513
+  (0.0ms) rollback transaction
69514
+  (0.0ms) begin transaction
69515
+ ----------------------------------------------------------------------
69516
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
69517
+ ----------------------------------------------------------------------
69518
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69519
+  (0.0ms) rollback transaction
69520
+  (0.0ms) begin transaction
69521
+ ----------------------------------------------------------------------
69522
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
69523
+ ----------------------------------------------------------------------
69524
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69525
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69526
+  (0.1ms) rollback transaction
69527
+  (0.0ms) begin transaction
69528
+ -----------------------------------------------------
69529
+ PbtTest: test_0005_IsReflected gives boolean of child
69530
+ -----------------------------------------------------
69531
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69532
+  (0.0ms) rollback transaction
69533
+  (0.0ms) begin transaction
69534
+ ----------------------------------------------------------------
69535
+ PbtTest: test_0006_SingularOrPlural responds for child relations
69536
+ ----------------------------------------------------------------
69537
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69538
+  (0.0ms) rollback transaction
69539
+  (0.1ms) begin transaction
69540
+ ----------------------------------------------------
69541
+ PbtTest: test_0007_IsSingular tells child singleness
69542
+ ----------------------------------------------------
69543
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69544
+  (0.1ms) rollback transaction
69545
+  (0.0ms) begin transaction
69546
+ --------------------------------------------------
69547
+ PbtTest: test_0008_IsPlural tells child pluralness
69548
+ --------------------------------------------------
69549
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69550
+  (0.0ms) rollback transaction
69551
+  (0.0ms) begin transaction
69552
+ -----------------------------------------------------------------
69553
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
69554
+ -----------------------------------------------------------------
69555
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69556
+  (0.1ms) rollback transaction
69557
+  (0.0ms) begin transaction
69558
+ ----------------------------------------
69559
+ PolyBelongsToTest: test_0001_is a module
69560
+ ----------------------------------------
69561
+  (0.0ms) rollback transaction
69562
+  (0.0ms) begin transaction
69563
+ ----------------------------------------------------
69564
+ PolyBelongsToTest: test_0002_User as not polymorphic
69565
+ ----------------------------------------------------
69566
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69567
+  (0.0ms) rollback transaction
69568
+  (0.1ms) begin transaction
69569
+ ---------------------------------------------------
69570
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
69571
+ ---------------------------------------------------
69572
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69573
+  (0.1ms) rollback transaction
69574
+  (0.0ms) begin transaction
69575
+ -------------------------------------------------
69576
+ PolyBelongsToTest: test_0004_Phone as polymorphic
69577
+ -------------------------------------------------
69578
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69579
+  (0.0ms) rollback transaction
69580
+  (0.0ms) begin transaction
69581
+ ---------------------------------------------------------
69582
+ PolyBelongsToTest: test_0005_User belongs to table as nil
69583
+ ---------------------------------------------------------
69584
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69585
+  (0.1ms) rollback transaction
69586
+  (0.1ms) begin transaction
69587
+ ----------------------------------------------------------
69588
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
69589
+ ----------------------------------------------------------
69590
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69591
+  (0.1ms) rollback transaction
69592
+  (0.1ms) begin transaction
69593
+ -----------------------------------------------------------------
69594
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
69595
+ -----------------------------------------------------------------
69596
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69597
+  (0.1ms) rollback transaction
69598
+  (0.0ms) begin transaction
69599
+ ------------------------------------------------------
69600
+ PolyBelongsToTest: test_0008_User params name as :user
69601
+ ------------------------------------------------------
69602
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69603
+  (0.1ms) rollback transaction
69604
+  (0.1ms) begin transaction
69605
+ ----------------------------------------------------
69606
+ PolyBelongsToTest: test_0009_Tag params name as :tag
69607
+ ----------------------------------------------------
69608
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69609
+  (0.0ms) rollback transaction
69610
+  (0.0ms) begin transaction
69611
+ --------------------------------------------------------------------
69612
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
69613
+ --------------------------------------------------------------------
69614
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69615
+  (0.0ms) rollback transaction
69616
+  (0.0ms) begin transaction
69617
+ -------------------------------------------------------------------
69618
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
69619
+ -------------------------------------------------------------------
69620
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69621
+  (0.0ms) rollback transaction
69622
+  (0.0ms) begin transaction
69623
+ -------------------------------------------------------------------
69624
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
69625
+ -------------------------------------------------------------------
69626
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69627
+  (0.0ms) rollback transaction
69628
+  (0.0ms) begin transaction
69629
+ ----------------------------------------------------------------------
69630
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
69631
+ ----------------------------------------------------------------------
69632
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69633
+  (0.1ms) rollback transaction
69634
+  (0.0ms) begin transaction
69635
+ ------------------------------------------------------------------------------
69636
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
69637
+ ------------------------------------------------------------------------------
69638
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69639
+  (0.1ms) rollback transaction
69640
+  (0.0ms) begin transaction
69641
+ ---------------------------------------------------------------------
69642
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
69643
+ ---------------------------------------------------------------------
69644
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69645
+  (0.1ms) rollback transaction
69646
+  (0.0ms) begin transaction
69647
+ --------------------------------------------------------------------
69648
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
69649
+ --------------------------------------------------------------------
69650
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69651
+  (0.0ms) rollback transaction
69652
+  (0.0ms) begin transaction
69653
+ ----------------------------------------------------------------------------------
69654
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
69655
+ ----------------------------------------------------------------------------------
69656
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69657
+  (0.0ms) rollback transaction
69658
+  (0.0ms) begin transaction
69659
+ ------------------------------------------------------
69660
+ PolyBelongsToTest: test_0018_User belongs to id as nil
69661
+ ------------------------------------------------------
69662
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69663
+  (0.0ms) rollback transaction
69664
+  (0.0ms) begin transaction
69665
+ -----------------------------------------------------------
69666
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
69667
+ -----------------------------------------------------------
69668
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69669
+  (0.0ms) rollback transaction
69670
+  (0.0ms) begin transaction
69671
+ ---------------------------------------------------------------------
69672
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
69673
+ ---------------------------------------------------------------------
69674
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69675
+  (0.1ms) rollback transaction
69676
+  (0.0ms) begin transaction
69677
+ --------------------------------------------------------
69678
+ PolyBelongsToTest: test_0021_User belongs to type as nil
69679
+ --------------------------------------------------------
69680
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69681
+  (0.0ms) rollback transaction
69682
+  (0.0ms) begin transaction
69683
+ -------------------------------------------------------
69684
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
69685
+ -------------------------------------------------------
69686
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69687
+  (0.1ms) rollback transaction
69688
+  (0.0ms) begin transaction
69689
+ ---------------------------------------------------------------
69690
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
69691
+ ---------------------------------------------------------------
69692
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69693
+  (0.0ms) rollback transaction
69694
+  (0.0ms) begin transaction
69695
+ ----------------------------------------------------
69696
+ PolyBelongsToTest: test_0024_User parent returns nil
69697
+ ----------------------------------------------------
69698
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69699
+  (0.1ms) rollback transaction
69700
+  (0.0ms) begin transaction
69701
+ -------------------------------------------------------------
69702
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
69703
+ -------------------------------------------------------------
69704
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69705
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69706
+  (0.1ms) rollback transaction
69707
+  (0.0ms) begin transaction
69708
+ ---------------------------------------------------------
69709
+ PolyBelongsToTest: test_0026_Phone parent returns profile
69710
+ ---------------------------------------------------------
69711
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69712
+  (0.1ms) SAVEPOINT active_record_1
69713
+ SQL (1.3ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
69716
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
69717
+  (0.1ms) rollback transaction
69718
+  (0.1ms) begin transaction
69719
+ --------------------------------------------------------
69720
+ PolyBelongsToTest: test_0027_Profile parent returns user
69721
+ --------------------------------------------------------
69722
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69723
+  (0.0ms) SAVEPOINT active_record_1
69724
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
69726
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69727
+  (0.1ms) rollback transaction
69728
+  (0.6ms) begin transaction
69729
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
69730
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
69731
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
69733
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
69735
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
69737
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69739
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
69741
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69743
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
69745
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69747
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
69749
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69751
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
69753
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69755
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
69757
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 902541635)
69758
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 380377255)
69759
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:11:18', '2015-02-21 01:11:18', 619379998)
69760
+ Fixture Delete (0.1ms) DELETE FROM "tags"
69761
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69763
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
69765
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
69767
+ Fixture Insert (0.1ms) 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
+  (21.0ms) commit transaction
69769
+  (0.1ms) begin transaction
69770
+ -------------------------------------------
69771
+ DupTest: test_0001_has method pbt_dup_build
69772
+ -------------------------------------------
69773
+  (0.1ms) rollback transaction
69774
+  (0.1ms) begin transaction
69775
+ ------------------------------------------------
69776
+ DupTest: test_0002_has method pbt_deep_dup_build
69777
+ ------------------------------------------------
69778
+  (0.1ms) rollback transaction
69779
+  (0.1ms) begin transaction
69780
+ ----------------------------------------------------
69781
+ DupTest: test_0003_builds copy from dup'd attributes
69782
+ ----------------------------------------------------
69783
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69784
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69785
+  (0.1ms) rollback transaction
69786
+  (0.0ms) begin transaction
69787
+ -------------------------------------------------------
69788
+ DupTest: test_0004_builds deep copy of dup'd attributes
69789
+ -------------------------------------------------------
69790
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
69791
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69792
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69793
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
69794
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
69795
+  (0.1ms) rollback transaction
69796
+  (0.1ms) begin transaction
69797
+ ---------------------------------------------------------------
69798
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
69799
+ ---------------------------------------------------------------
69800
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69801
+  (0.1ms) rollback transaction
69802
+  (0.0ms) begin transaction
69803
+ -------------------------------------------------
69804
+ PbtTest: test_0002_BuildCmd returns build command
69805
+ -------------------------------------------------
69806
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69807
+  (0.0ms) rollback transaction
69808
+  (0.0ms) begin transaction
69809
+ ----------------------------------------------------------------------
69810
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
69811
+ ----------------------------------------------------------------------
69812
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69813
+  (0.0ms) rollback transaction
69814
+  (0.0ms) begin transaction
69815
+ ----------------------------------------------------------------------
69816
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
69817
+ ----------------------------------------------------------------------
69818
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69819
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
69820
+  (0.1ms) rollback transaction
69821
+  (0.0ms) begin transaction
69822
+ -----------------------------------------------------
69823
+ PbtTest: test_0005_IsReflected gives boolean of child
69824
+ -----------------------------------------------------
69825
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69826
+  (0.0ms) rollback transaction
69827
+  (0.0ms) begin transaction
69828
+ ----------------------------------------------------------------
69829
+ PbtTest: test_0006_SingularOrPlural responds for child relations
69830
+ ----------------------------------------------------------------
69831
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
69832
+  (0.0ms) rollback transaction
69833
+  (0.0ms) begin transaction
69834
+ ----------------------------------------------------
69835
+ PbtTest: test_0007_IsSingular tells child singleness
69836
+ ----------------------------------------------------
69837
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69838
+  (0.1ms) rollback transaction
69839
+  (0.0ms) begin transaction
69840
+ --------------------------------------------------
69841
+ PbtTest: test_0008_IsPlural tells child pluralness
69842
+ --------------------------------------------------
69843
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
69844
+  (0.0ms) rollback transaction
69845
+  (0.0ms) begin transaction
69846
+ -----------------------------------------------------------------
69847
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
69848
+ -----------------------------------------------------------------
69849
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
69850
+  (0.0ms) rollback transaction
69851
+  (0.0ms) begin transaction
69852
+ ----------------------------------------
69853
+ PolyBelongsToTest: test_0001_is a module
69854
+ ----------------------------------------
69855
+  (0.0ms) rollback transaction
69856
+  (0.0ms) begin transaction
69857
+ ----------------------------------------------------
69858
+ PolyBelongsToTest: test_0002_User as not polymorphic
69859
+ ----------------------------------------------------
69860
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69861
+  (0.0ms) rollback transaction
69862
+  (0.0ms) begin transaction
69863
+ ---------------------------------------------------
69864
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
69865
+ ---------------------------------------------------
69866
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69867
+  (0.1ms) rollback transaction
69868
+  (0.0ms) begin transaction
69869
+ -------------------------------------------------
69870
+ PolyBelongsToTest: test_0004_Phone as polymorphic
69871
+ -------------------------------------------------
69872
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69873
+  (0.0ms) rollback transaction
69874
+  (0.0ms) begin transaction
69875
+ ---------------------------------------------------------
69876
+ PolyBelongsToTest: test_0005_User belongs to table as nil
69877
+ ---------------------------------------------------------
69878
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69879
+  (0.0ms) rollback transaction
69880
+  (0.1ms) begin transaction
69881
+ ----------------------------------------------------------
69882
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
69883
+ ----------------------------------------------------------
69884
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69885
+  (0.1ms) rollback transaction
69886
+  (0.1ms) begin transaction
69887
+ -----------------------------------------------------------------
69888
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
69889
+ -----------------------------------------------------------------
69890
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69891
+  (0.0ms) rollback transaction
69892
+  (0.0ms) begin transaction
69893
+ ------------------------------------------------------
69894
+ PolyBelongsToTest: test_0008_User params name as :user
69895
+ ------------------------------------------------------
69896
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69897
+  (0.0ms) rollback transaction
69898
+  (0.0ms) begin transaction
69899
+ ----------------------------------------------------
69900
+ PolyBelongsToTest: test_0009_Tag params name as :tag
69901
+ ----------------------------------------------------
69902
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69903
+  (0.0ms) rollback transaction
69904
+  (0.0ms) begin transaction
69905
+ --------------------------------------------------------------------
69906
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
69907
+ --------------------------------------------------------------------
69908
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69909
+  (0.0ms) rollback transaction
69910
+  (0.0ms) begin transaction
69911
+ -------------------------------------------------------------------
69912
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
69913
+ -------------------------------------------------------------------
69914
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69915
+  (0.1ms) rollback transaction
69916
+  (0.0ms) begin transaction
69917
+ -------------------------------------------------------------------
69918
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
69919
+ -------------------------------------------------------------------
69920
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69921
+  (0.0ms) rollback transaction
69922
+  (0.0ms) begin transaction
69923
+ ----------------------------------------------------------------------
69924
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
69925
+ ----------------------------------------------------------------------
69926
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69927
+  (0.0ms) rollback transaction
69928
+  (0.0ms) begin transaction
69929
+ ------------------------------------------------------------------------------
69930
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
69931
+ ------------------------------------------------------------------------------
69932
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69933
+  (0.0ms) rollback transaction
69934
+  (0.0ms) begin transaction
69935
+ ---------------------------------------------------------------------
69936
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
69937
+ ---------------------------------------------------------------------
69938
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69939
+  (0.0ms) rollback transaction
69940
+  (0.0ms) begin transaction
69941
+ --------------------------------------------------------------------
69942
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
69943
+ --------------------------------------------------------------------
69944
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69945
+  (0.0ms) rollback transaction
69946
+  (0.0ms) begin transaction
69947
+ ----------------------------------------------------------------------------------
69948
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
69949
+ ----------------------------------------------------------------------------------
69950
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69951
+  (0.0ms) rollback transaction
69952
+  (0.0ms) begin transaction
69953
+ ------------------------------------------------------
69954
+ PolyBelongsToTest: test_0018_User belongs to id as nil
69955
+ ------------------------------------------------------
69956
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69957
+  (0.0ms) rollback transaction
69958
+  (0.0ms) begin transaction
69959
+ -----------------------------------------------------------
69960
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
69961
+ -----------------------------------------------------------
69962
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69963
+  (0.0ms) rollback transaction
69964
+  (0.0ms) begin transaction
69965
+ ---------------------------------------------------------------------
69966
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
69967
+ ---------------------------------------------------------------------
69968
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69969
+  (0.0ms) rollback transaction
69970
+  (0.1ms) begin transaction
69971
+ --------------------------------------------------------
69972
+ PolyBelongsToTest: test_0021_User belongs to type as nil
69973
+ --------------------------------------------------------
69974
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69975
+  (0.0ms) rollback transaction
69976
+  (0.0ms) begin transaction
69977
+ -------------------------------------------------------
69978
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
69979
+ -------------------------------------------------------
69980
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
69981
+  (0.1ms) rollback transaction
69982
+  (0.1ms) begin transaction
69983
+ ---------------------------------------------------------------
69984
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
69985
+ ---------------------------------------------------------------
69986
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
69987
+  (0.0ms) rollback transaction
69988
+  (0.0ms) begin transaction
69989
+ ----------------------------------------------------
69990
+ PolyBelongsToTest: test_0024_User parent returns nil
69991
+ ----------------------------------------------------
69992
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69993
+  (0.0ms) rollback transaction
69994
+  (0.0ms) begin transaction
69995
+ -------------------------------------------------------------
69996
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
69997
+ -------------------------------------------------------------
69998
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
69999
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70000
+  (0.1ms) rollback transaction
70001
+  (0.0ms) begin transaction
70002
+ ---------------------------------------------------------
70003
+ PolyBelongsToTest: test_0026_Phone parent returns profile
70004
+ ---------------------------------------------------------
70005
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70006
+  (0.1ms) SAVEPOINT active_record_1
70007
+ SQL (3.9ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70010
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
70011
+  (0.1ms) rollback transaction
70012
+  (0.0ms) begin transaction
70013
+ --------------------------------------------------------
70014
+ PolyBelongsToTest: test_0027_Profile parent returns user
70015
+ --------------------------------------------------------
70016
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70017
+  (0.1ms) SAVEPOINT active_record_1
70018
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70020
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70021
+  (0.1ms) rollback transaction
70022
+  (0.5ms) begin transaction
70023
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
70024
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
70025
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
70027
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
70029
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
70031
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70033
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
70035
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70037
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
70039
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70041
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
70043
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70045
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
70047
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70049
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
70051
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 902541635)
70052
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 380377255)
70053
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:12:54', '2015-02-21 01:12:54', 619379998)
70054
+ Fixture Delete (0.1ms) DELETE FROM "tags"
70055
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70057
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
70059
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70061
+ Fixture Insert (0.1ms) 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
+  (19.8ms) commit transaction
70063
+  (0.1ms) begin transaction
70064
+ -------------------------------------------
70065
+ DupTest: test_0001_has method pbt_dup_build
70066
+ -------------------------------------------
70067
+  (0.1ms) rollback transaction
70068
+  (0.1ms) begin transaction
70069
+ ------------------------------------------------
70070
+ DupTest: test_0002_has method pbt_deep_dup_build
70071
+ ------------------------------------------------
70072
+  (0.1ms) rollback transaction
70073
+  (0.1ms) begin transaction
70074
+ ----------------------------------------------------
70075
+ DupTest: test_0003_builds copy from dup'd attributes
70076
+ ----------------------------------------------------
70077
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70078
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70079
+  (0.1ms) rollback transaction
70080
+  (0.0ms) begin transaction
70081
+ -------------------------------------------------------
70082
+ DupTest: test_0004_builds deep copy of dup'd attributes
70083
+ -------------------------------------------------------
70084
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
70085
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70086
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70087
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
70088
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
70089
+  (0.1ms) rollback transaction
70090
+  (0.1ms) begin transaction
70091
+ ---------------------------------------------------------------
70092
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
70093
+ ---------------------------------------------------------------
70094
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70095
+  (0.0ms) rollback transaction
70096
+  (0.0ms) begin transaction
70097
+ -------------------------------------------------
70098
+ PbtTest: test_0002_BuildCmd returns build command
70099
+ -------------------------------------------------
70100
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70101
+  (0.0ms) rollback transaction
70102
+  (0.1ms) begin transaction
70103
+ ----------------------------------------------------------------------
70104
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
70105
+ ----------------------------------------------------------------------
70106
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70107
+  (0.0ms) rollback transaction
70108
+  (0.1ms) begin transaction
70109
+ ----------------------------------------------------------------------
70110
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
70111
+ ----------------------------------------------------------------------
70112
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70113
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70114
+  (0.1ms) rollback transaction
70115
+  (0.0ms) begin transaction
70116
+ -----------------------------------------------------
70117
+ PbtTest: test_0005_IsReflected gives boolean of child
70118
+ -----------------------------------------------------
70119
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70120
+  (0.1ms) rollback transaction
70121
+  (0.0ms) begin transaction
70122
+ ----------------------------------------------------------------
70123
+ PbtTest: test_0006_SingularOrPlural responds for child relations
70124
+ ----------------------------------------------------------------
70125
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70126
+  (0.0ms) rollback transaction
70127
+  (0.0ms) begin transaction
70128
+ ----------------------------------------------------
70129
+ PbtTest: test_0007_IsSingular tells child singleness
70130
+ ----------------------------------------------------
70131
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70132
+  (0.0ms) rollback transaction
70133
+  (0.0ms) begin transaction
70134
+ --------------------------------------------------
70135
+ PbtTest: test_0008_IsPlural tells child pluralness
70136
+ --------------------------------------------------
70137
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70138
+  (0.0ms) rollback transaction
70139
+  (0.0ms) begin transaction
70140
+ -----------------------------------------------------------------
70141
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
70142
+ -----------------------------------------------------------------
70143
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70144
+  (0.0ms) rollback transaction
70145
+  (0.1ms) begin transaction
70146
+ ----------------------------------------
70147
+ PolyBelongsToTest: test_0001_is a module
70148
+ ----------------------------------------
70149
+  (0.1ms) rollback transaction
70150
+  (0.0ms) begin transaction
70151
+ ----------------------------------------------------
70152
+ PolyBelongsToTest: test_0002_User as not polymorphic
70153
+ ----------------------------------------------------
70154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70155
+  (0.0ms) rollback transaction
70156
+  (0.0ms) begin transaction
70157
+ ---------------------------------------------------
70158
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
70159
+ ---------------------------------------------------
70160
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70161
+  (0.1ms) rollback transaction
70162
+  (0.0ms) begin transaction
70163
+ -------------------------------------------------
70164
+ PolyBelongsToTest: test_0004_Phone as polymorphic
70165
+ -------------------------------------------------
70166
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70167
+  (0.1ms) rollback transaction
70168
+  (0.0ms) begin transaction
70169
+ ---------------------------------------------------------
70170
+ PolyBelongsToTest: test_0005_User belongs to table as nil
70171
+ ---------------------------------------------------------
70172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70173
+  (0.0ms) rollback transaction
70174
+  (0.0ms) begin transaction
70175
+ ----------------------------------------------------------
70176
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
70177
+ ----------------------------------------------------------
70178
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70179
+  (0.0ms) rollback transaction
70180
+  (0.0ms) begin transaction
70181
+ -----------------------------------------------------------------
70182
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
70183
+ -----------------------------------------------------------------
70184
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70185
+  (0.0ms) rollback transaction
70186
+  (0.0ms) begin transaction
70187
+ ------------------------------------------------------
70188
+ PolyBelongsToTest: test_0008_User params name as :user
70189
+ ------------------------------------------------------
70190
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70191
+  (0.0ms) rollback transaction
70192
+  (0.0ms) begin transaction
70193
+ ----------------------------------------------------
70194
+ PolyBelongsToTest: test_0009_Tag params name as :tag
70195
+ ----------------------------------------------------
70196
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70197
+  (0.0ms) rollback transaction
70198
+  (0.0ms) begin transaction
70199
+ --------------------------------------------------------------------
70200
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
70201
+ --------------------------------------------------------------------
70202
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70203
+  (0.0ms) rollback transaction
70204
+  (0.1ms) begin transaction
70205
+ -------------------------------------------------------------------
70206
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
70207
+ -------------------------------------------------------------------
70208
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70209
+  (0.0ms) rollback transaction
70210
+  (0.0ms) begin transaction
70211
+ -------------------------------------------------------------------
70212
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
70213
+ -------------------------------------------------------------------
70214
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70215
+  (0.1ms) rollback transaction
70216
+  (0.0ms) begin transaction
70217
+ ----------------------------------------------------------------------
70218
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
70219
+ ----------------------------------------------------------------------
70220
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70221
+  (0.0ms) rollback transaction
70222
+  (0.1ms) begin transaction
70223
+ ------------------------------------------------------------------------------
70224
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
70225
+ ------------------------------------------------------------------------------
70226
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70227
+  (0.0ms) rollback transaction
70228
+  (0.0ms) begin transaction
70229
+ ---------------------------------------------------------------------
70230
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
70231
+ ---------------------------------------------------------------------
70232
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70233
+  (0.0ms) rollback transaction
70234
+  (0.0ms) begin transaction
70235
+ --------------------------------------------------------------------
70236
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
70237
+ --------------------------------------------------------------------
70238
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70239
+  (0.1ms) rollback transaction
70240
+  (0.0ms) begin transaction
70241
+ ----------------------------------------------------------------------------------
70242
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
70243
+ ----------------------------------------------------------------------------------
70244
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70245
+  (0.1ms) rollback transaction
70246
+  (0.0ms) begin transaction
70247
+ ------------------------------------------------------
70248
+ PolyBelongsToTest: test_0018_User belongs to id as nil
70249
+ ------------------------------------------------------
70250
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70251
+  (0.0ms) rollback transaction
70252
+  (0.0ms) begin transaction
70253
+ -----------------------------------------------------------
70254
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
70255
+ -----------------------------------------------------------
70256
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70257
+  (0.0ms) rollback transaction
70258
+  (0.0ms) begin transaction
70259
+ ---------------------------------------------------------------------
70260
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
70261
+ ---------------------------------------------------------------------
70262
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70263
+  (0.0ms) rollback transaction
70264
+  (0.0ms) begin transaction
70265
+ --------------------------------------------------------
70266
+ PolyBelongsToTest: test_0021_User belongs to type as nil
70267
+ --------------------------------------------------------
70268
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70269
+  (0.0ms) rollback transaction
70270
+  (0.0ms) begin transaction
70271
+ -------------------------------------------------------
70272
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
70273
+ -------------------------------------------------------
70274
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70275
+  (0.0ms) rollback transaction
70276
+  (0.0ms) begin transaction
70277
+ ---------------------------------------------------------------
70278
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
70279
+ ---------------------------------------------------------------
70280
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70281
+  (0.0ms) rollback transaction
70282
+  (0.0ms) begin transaction
70283
+ ----------------------------------------------------
70284
+ PolyBelongsToTest: test_0024_User parent returns nil
70285
+ ----------------------------------------------------
70286
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70287
+  (0.0ms) rollback transaction
70288
+  (0.0ms) begin transaction
70289
+ -------------------------------------------------------------
70290
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
70291
+ -------------------------------------------------------------
70292
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70293
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70294
+  (0.1ms) rollback transaction
70295
+  (0.0ms) begin transaction
70296
+ ---------------------------------------------------------
70297
+ PolyBelongsToTest: test_0026_Phone parent returns profile
70298
+ ---------------------------------------------------------
70299
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70300
+  (0.1ms) SAVEPOINT active_record_1
70301
+ SQL (0.9ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70304
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
70305
+  (0.1ms) rollback transaction
70306
+  (0.1ms) begin transaction
70307
+ --------------------------------------------------------
70308
+ PolyBelongsToTest: test_0027_Profile parent returns user
70309
+ --------------------------------------------------------
70310
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70311
+  (0.0ms) SAVEPOINT active_record_1
70312
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70314
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70315
+  (0.1ms) rollback transaction
70316
+  (0.6ms) begin transaction
70317
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
70318
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
70319
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
70321
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
70323
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
70325
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70327
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
70329
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70331
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
70333
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70335
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.2ms) DELETE FROM "geo_locations"
70337
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70339
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
70341
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70343
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
70345
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 902541635)
70346
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 380377255)
70347
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:14:30', '2015-02-21 01:14:30', 619379998)
70348
+ Fixture Delete (0.1ms) DELETE FROM "tags"
70349
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70351
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
70353
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70355
+ Fixture Insert (0.1ms) 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
+  (15.8ms) commit transaction
70357
+  (0.1ms) begin transaction
70358
+ -------------------------------------------
70359
+ DupTest: test_0001_has method pbt_dup_build
70360
+ -------------------------------------------
70361
+  (0.1ms) rollback transaction
70362
+  (0.1ms) begin transaction
70363
+ ------------------------------------------------
70364
+ DupTest: test_0002_has method pbt_deep_dup_build
70365
+ ------------------------------------------------
70366
+  (0.1ms) rollback transaction
70367
+  (0.1ms) begin transaction
70368
+ ----------------------------------------------------
70369
+ DupTest: test_0003_builds copy from dup'd attributes
70370
+ ----------------------------------------------------
70371
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70372
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70373
+  (0.1ms) rollback transaction
70374
+  (0.0ms) begin transaction
70375
+ -------------------------------------------------------
70376
+ DupTest: test_0004_builds deep copy of dup'd attributes
70377
+ -------------------------------------------------------
70378
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
70379
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70380
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70381
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
70382
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
70383
+  (0.1ms) rollback transaction
70384
+  (0.1ms) begin transaction
70385
+ ---------------------------------------------------------------
70386
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
70387
+ ---------------------------------------------------------------
70388
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70389
+  (0.0ms) rollback transaction
70390
+  (0.0ms) begin transaction
70391
+ -------------------------------------------------
70392
+ PbtTest: test_0002_BuildCmd returns build command
70393
+ -------------------------------------------------
70394
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70395
+  (0.0ms) rollback transaction
70396
+  (0.1ms) begin transaction
70397
+ ----------------------------------------------------------------------
70398
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
70399
+ ----------------------------------------------------------------------
70400
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70401
+  (0.0ms) rollback transaction
70402
+  (0.0ms) begin transaction
70403
+ ----------------------------------------------------------------------
70404
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
70405
+ ----------------------------------------------------------------------
70406
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70407
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70408
+  (0.1ms) rollback transaction
70409
+  (0.0ms) begin transaction
70410
+ -----------------------------------------------------
70411
+ PbtTest: test_0005_IsReflected gives boolean of child
70412
+ -----------------------------------------------------
70413
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70414
+  (0.1ms) rollback transaction
70415
+  (0.1ms) begin transaction
70416
+ ----------------------------------------------------------------
70417
+ PbtTest: test_0006_SingularOrPlural responds for child relations
70418
+ ----------------------------------------------------------------
70419
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70420
+  (0.0ms) rollback transaction
70421
+  (0.0ms) begin transaction
70422
+ ----------------------------------------------------
70423
+ PbtTest: test_0007_IsSingular tells child singleness
70424
+ ----------------------------------------------------
70425
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70426
+  (0.0ms) rollback transaction
70427
+  (0.1ms) begin transaction
70428
+ --------------------------------------------------
70429
+ PbtTest: test_0008_IsPlural tells child pluralness
70430
+ --------------------------------------------------
70431
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70432
+  (0.0ms) rollback transaction
70433
+  (0.0ms) begin transaction
70434
+ -----------------------------------------------------------------
70435
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
70436
+ -----------------------------------------------------------------
70437
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70438
+  (0.0ms) rollback transaction
70439
+  (0.0ms) begin transaction
70440
+ ----------------------------------------
70441
+ PolyBelongsToTest: test_0001_is a module
70442
+ ----------------------------------------
70443
+  (0.0ms) rollback transaction
70444
+  (0.0ms) begin transaction
70445
+ ----------------------------------------------------
70446
+ PolyBelongsToTest: test_0002_User as not polymorphic
70447
+ ----------------------------------------------------
70448
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70449
+  (0.0ms) rollback transaction
70450
+  (0.0ms) begin transaction
70451
+ ---------------------------------------------------
70452
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
70453
+ ---------------------------------------------------
70454
+ Tag Load (0.2ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70455
+  (0.1ms) rollback transaction
70456
+  (0.0ms) begin transaction
70457
+ -------------------------------------------------
70458
+ PolyBelongsToTest: test_0004_Phone as polymorphic
70459
+ -------------------------------------------------
70460
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70461
+  (0.0ms) rollback transaction
70462
+  (0.0ms) begin transaction
70463
+ ---------------------------------------------------------
70464
+ PolyBelongsToTest: test_0005_User belongs to table as nil
70465
+ ---------------------------------------------------------
70466
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70467
+  (0.0ms) rollback transaction
70468
+  (0.0ms) begin transaction
70469
+ ----------------------------------------------------------
70470
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
70471
+ ----------------------------------------------------------
70472
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70473
+  (0.1ms) rollback transaction
70474
+  (0.0ms) begin transaction
70475
+ -----------------------------------------------------------------
70476
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
70477
+ -----------------------------------------------------------------
70478
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70479
+  (0.0ms) rollback transaction
70480
+  (0.0ms) begin transaction
70481
+ ------------------------------------------------------
70482
+ PolyBelongsToTest: test_0008_User params name as :user
70483
+ ------------------------------------------------------
70484
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70485
+  (0.0ms) rollback transaction
70486
+  (0.0ms) begin transaction
70487
+ ----------------------------------------------------
70488
+ PolyBelongsToTest: test_0009_Tag params name as :tag
70489
+ ----------------------------------------------------
70490
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70491
+  (0.0ms) rollback transaction
70492
+  (0.0ms) begin transaction
70493
+ --------------------------------------------------------------------
70494
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
70495
+ --------------------------------------------------------------------
70496
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70497
+  (0.0ms) rollback transaction
70498
+  (0.0ms) begin transaction
70499
+ -------------------------------------------------------------------
70500
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
70501
+ -------------------------------------------------------------------
70502
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70503
+  (0.0ms) rollback transaction
70504
+  (0.0ms) begin transaction
70505
+ -------------------------------------------------------------------
70506
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
70507
+ -------------------------------------------------------------------
70508
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70509
+  (0.0ms) rollback transaction
70510
+  (0.0ms) begin transaction
70511
+ ----------------------------------------------------------------------
70512
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
70513
+ ----------------------------------------------------------------------
70514
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70515
+  (0.0ms) rollback transaction
70516
+  (0.0ms) begin transaction
70517
+ ------------------------------------------------------------------------------
70518
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
70519
+ ------------------------------------------------------------------------------
70520
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70521
+  (0.0ms) rollback transaction
70522
+  (0.0ms) begin transaction
70523
+ ---------------------------------------------------------------------
70524
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
70525
+ ---------------------------------------------------------------------
70526
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70527
+  (0.0ms) rollback transaction
70528
+  (0.0ms) begin transaction
70529
+ --------------------------------------------------------------------
70530
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
70531
+ --------------------------------------------------------------------
70532
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70533
+  (0.0ms) rollback transaction
70534
+  (0.1ms) begin transaction
70535
+ ----------------------------------------------------------------------------------
70536
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
70537
+ ----------------------------------------------------------------------------------
70538
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70539
+  (0.0ms) rollback transaction
70540
+  (0.0ms) begin transaction
70541
+ ------------------------------------------------------
70542
+ PolyBelongsToTest: test_0018_User belongs to id as nil
70543
+ ------------------------------------------------------
70544
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70545
+  (0.0ms) rollback transaction
70546
+  (0.1ms) begin transaction
70547
+ -----------------------------------------------------------
70548
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
70549
+ -----------------------------------------------------------
70550
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70551
+  (0.0ms) rollback transaction
70552
+  (0.0ms) begin transaction
70553
+ ---------------------------------------------------------------------
70554
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
70555
+ ---------------------------------------------------------------------
70556
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70557
+  (0.0ms) rollback transaction
70558
+  (0.0ms) begin transaction
70559
+ --------------------------------------------------------
70560
+ PolyBelongsToTest: test_0021_User belongs to type as nil
70561
+ --------------------------------------------------------
70562
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70563
+  (0.0ms) rollback transaction
70564
+  (0.0ms) begin transaction
70565
+ -------------------------------------------------------
70566
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
70567
+ -------------------------------------------------------
70568
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70569
+  (0.0ms) rollback transaction
70570
+  (0.0ms) begin transaction
70571
+ ---------------------------------------------------------------
70572
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
70573
+ ---------------------------------------------------------------
70574
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70575
+  (0.0ms) rollback transaction
70576
+  (0.0ms) begin transaction
70577
+ ----------------------------------------------------
70578
+ PolyBelongsToTest: test_0024_User parent returns nil
70579
+ ----------------------------------------------------
70580
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70581
+  (0.0ms) rollback transaction
70582
+  (0.0ms) begin transaction
70583
+ -------------------------------------------------------------
70584
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
70585
+ -------------------------------------------------------------
70586
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70587
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70588
+  (0.1ms) rollback transaction
70589
+  (0.0ms) begin transaction
70590
+ ---------------------------------------------------------
70591
+ PolyBelongsToTest: test_0026_Phone parent returns profile
70592
+ ---------------------------------------------------------
70593
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70594
+  (0.1ms) SAVEPOINT active_record_1
70595
+ SQL (1.0ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.3ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
70598
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
70599
+  (0.2ms) rollback transaction
70600
+  (0.1ms) begin transaction
70601
+ --------------------------------------------------------
70602
+ PolyBelongsToTest: test_0027_Profile parent returns user
70603
+ --------------------------------------------------------
70604
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70605
+  (0.0ms) SAVEPOINT active_record_1
70606
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70608
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70609
+  (0.1ms) rollback transaction
70610
+  (0.6ms) begin transaction
70611
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
70612
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
70613
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
70615
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
70617
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
70619
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70621
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
70623
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70625
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
70627
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70629
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
70631
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70633
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
70635
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70637
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
70639
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 902541635)
70640
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 380377255)
70641
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:15:38', '2015-02-21 01:15:38', 619379998)
70642
+ Fixture Delete (0.1ms) DELETE FROM "tags"
70643
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70645
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
70647
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70649
+ Fixture Insert (0.1ms) 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
+  (14.4ms) commit transaction
70651
+  (0.1ms) begin transaction
70652
+ -------------------------------------------
70653
+ DupTest: test_0001_has method pbt_dup_build
70654
+ -------------------------------------------
70655
+  (0.1ms) rollback transaction
70656
+  (0.1ms) begin transaction
70657
+ ------------------------------------------------
70658
+ DupTest: test_0002_has method pbt_deep_dup_build
70659
+ ------------------------------------------------
70660
+  (0.1ms) rollback transaction
70661
+  (0.1ms) begin transaction
70662
+ ----------------------------------------------------
70663
+ DupTest: test_0003_builds copy from dup'd attributes
70664
+ ----------------------------------------------------
70665
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70666
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70667
+  (0.1ms) rollback transaction
70668
+  (0.0ms) begin transaction
70669
+ -------------------------------------------------------
70670
+ DupTest: test_0004_builds deep copy of dup'd attributes
70671
+ -------------------------------------------------------
70672
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
70673
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70674
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70675
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
70676
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
70677
+  (0.1ms) rollback transaction
70678
+  (0.0ms) begin transaction
70679
+ ---------------------------------------------------------------
70680
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
70681
+ ---------------------------------------------------------------
70682
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70683
+  (0.1ms) rollback transaction
70684
+  (0.0ms) begin transaction
70685
+ -------------------------------------------------
70686
+ PbtTest: test_0002_BuildCmd returns build command
70687
+ -------------------------------------------------
70688
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70689
+  (0.0ms) rollback transaction
70690
+  (0.0ms) begin transaction
70691
+ ----------------------------------------------------------------------
70692
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
70693
+ ----------------------------------------------------------------------
70694
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70695
+  (0.0ms) rollback transaction
70696
+  (0.0ms) begin transaction
70697
+ ----------------------------------------------------------------------
70698
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
70699
+ ----------------------------------------------------------------------
70700
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70701
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70702
+  (0.1ms) rollback transaction
70703
+  (0.0ms) begin transaction
70704
+ -----------------------------------------------------
70705
+ PbtTest: test_0005_IsReflected gives boolean of child
70706
+ -----------------------------------------------------
70707
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70708
+  (0.1ms) rollback transaction
70709
+  (0.0ms) begin transaction
70710
+ ----------------------------------------------------------------
70711
+ PbtTest: test_0006_SingularOrPlural responds for child relations
70712
+ ----------------------------------------------------------------
70713
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70714
+  (0.1ms) rollback transaction
70715
+  (0.0ms) begin transaction
70716
+ ----------------------------------------------------
70717
+ PbtTest: test_0007_IsSingular tells child singleness
70718
+ ----------------------------------------------------
70719
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70720
+  (0.0ms) rollback transaction
70721
+  (0.0ms) begin transaction
70722
+ --------------------------------------------------
70723
+ PbtTest: test_0008_IsPlural tells child pluralness
70724
+ --------------------------------------------------
70725
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70726
+  (0.0ms) rollback transaction
70727
+  (0.1ms) begin transaction
70728
+ -----------------------------------------------------------------
70729
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
70730
+ -----------------------------------------------------------------
70731
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
70732
+  (0.0ms) rollback transaction
70733
+  (0.0ms) begin transaction
70734
+ ----------------------------------------
70735
+ PolyBelongsToTest: test_0001_is a module
70736
+ ----------------------------------------
70737
+  (0.0ms) rollback transaction
70738
+  (0.0ms) begin transaction
70739
+ ----------------------------------------------------
70740
+ PolyBelongsToTest: test_0002_User as not polymorphic
70741
+ ----------------------------------------------------
70742
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70743
+  (0.0ms) rollback transaction
70744
+  (0.0ms) begin transaction
70745
+ ---------------------------------------------------
70746
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
70747
+ ---------------------------------------------------
70748
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70749
+  (0.1ms) rollback transaction
70750
+  (0.0ms) begin transaction
70751
+ -------------------------------------------------
70752
+ PolyBelongsToTest: test_0004_Phone as polymorphic
70753
+ -------------------------------------------------
70754
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70755
+  (0.0ms) rollback transaction
70756
+  (0.0ms) begin transaction
70757
+ ---------------------------------------------------------
70758
+ PolyBelongsToTest: test_0005_User belongs to table as nil
70759
+ ---------------------------------------------------------
70760
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70761
+  (0.0ms) rollback transaction
70762
+  (0.1ms) begin transaction
70763
+ ----------------------------------------------------------
70764
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
70765
+ ----------------------------------------------------------
70766
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70767
+  (0.0ms) rollback transaction
70768
+  (0.0ms) begin transaction
70769
+ -----------------------------------------------------------------
70770
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
70771
+ -----------------------------------------------------------------
70772
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70773
+  (0.0ms) rollback transaction
70774
+  (0.0ms) begin transaction
70775
+ ------------------------------------------------------
70776
+ PolyBelongsToTest: test_0008_User params name as :user
70777
+ ------------------------------------------------------
70778
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70779
+  (0.0ms) rollback transaction
70780
+  (0.0ms) begin transaction
70781
+ ----------------------------------------------------
70782
+ PolyBelongsToTest: test_0009_Tag params name as :tag
70783
+ ----------------------------------------------------
70784
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70785
+  (0.1ms) rollback transaction
70786
+  (0.0ms) begin transaction
70787
+ --------------------------------------------------------------------
70788
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
70789
+ --------------------------------------------------------------------
70790
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70791
+  (0.0ms) rollback transaction
70792
+  (0.0ms) begin transaction
70793
+ -------------------------------------------------------------------
70794
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
70795
+ -------------------------------------------------------------------
70796
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70797
+  (0.0ms) rollback transaction
70798
+  (0.0ms) begin transaction
70799
+ -------------------------------------------------------------------
70800
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
70801
+ -------------------------------------------------------------------
70802
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70803
+  (0.0ms) rollback transaction
70804
+  (0.1ms) begin transaction
70805
+ ----------------------------------------------------------------------
70806
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
70807
+ ----------------------------------------------------------------------
70808
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70809
+  (0.0ms) rollback transaction
70810
+  (0.0ms) begin transaction
70811
+ ------------------------------------------------------------------------------
70812
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
70813
+ ------------------------------------------------------------------------------
70814
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70815
+  (0.0ms) rollback transaction
70816
+  (0.1ms) begin transaction
70817
+ ---------------------------------------------------------------------
70818
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
70819
+ ---------------------------------------------------------------------
70820
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70821
+  (0.0ms) rollback transaction
70822
+  (0.0ms) begin transaction
70823
+ --------------------------------------------------------------------
70824
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
70825
+ --------------------------------------------------------------------
70826
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70827
+  (0.0ms) rollback transaction
70828
+  (0.0ms) begin transaction
70829
+ ----------------------------------------------------------------------------------
70830
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
70831
+ ----------------------------------------------------------------------------------
70832
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70833
+  (0.0ms) rollback transaction
70834
+  (0.0ms) begin transaction
70835
+ ------------------------------------------------------
70836
+ PolyBelongsToTest: test_0018_User belongs to id as nil
70837
+ ------------------------------------------------------
70838
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70839
+  (0.1ms) rollback transaction
70840
+  (0.0ms) begin transaction
70841
+ -----------------------------------------------------------
70842
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
70843
+ -----------------------------------------------------------
70844
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70845
+  (0.0ms) rollback transaction
70846
+  (0.0ms) begin transaction
70847
+ ---------------------------------------------------------------------
70848
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
70849
+ ---------------------------------------------------------------------
70850
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70851
+  (0.0ms) rollback transaction
70852
+  (0.0ms) begin transaction
70853
+ --------------------------------------------------------
70854
+ PolyBelongsToTest: test_0021_User belongs to type as nil
70855
+ --------------------------------------------------------
70856
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70857
+  (0.0ms) rollback transaction
70858
+  (0.0ms) begin transaction
70859
+ -------------------------------------------------------
70860
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
70861
+ -------------------------------------------------------
70862
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
70863
+  (0.0ms) rollback transaction
70864
+  (0.0ms) begin transaction
70865
+ ---------------------------------------------------------------
70866
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
70867
+ ---------------------------------------------------------------
70868
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
70869
+  (0.0ms) rollback transaction
70870
+  (0.0ms) begin transaction
70871
+ ----------------------------------------------------
70872
+ PolyBelongsToTest: test_0024_User parent returns nil
70873
+ ----------------------------------------------------
70874
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70875
+  (0.0ms) rollback transaction
70876
+  (0.1ms) begin transaction
70877
+ -------------------------------------------------------------
70878
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
70879
+ -------------------------------------------------------------
70880
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70881
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70882
+  (0.1ms) rollback transaction
70883
+  (0.0ms) begin transaction
70884
+ ---------------------------------------------------------
70885
+ PolyBelongsToTest: test_0026_Phone parent returns profile
70886
+ ---------------------------------------------------------
70887
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70888
+  (0.1ms) SAVEPOINT active_record_1
70889
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70892
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
70893
+  (0.1ms) rollback transaction
70894
+  (0.0ms) begin transaction
70895
+ --------------------------------------------------------
70896
+ PolyBelongsToTest: test_0027_Profile parent returns user
70897
+ --------------------------------------------------------
70898
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70899
+  (0.0ms) SAVEPOINT active_record_1
70900
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
70902
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70903
+  (0.1ms) rollback transaction
70904
+  (0.6ms) begin transaction
70905
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
70906
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
70907
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
70909
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
70911
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
70913
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70915
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
70917
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70919
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
70921
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70923
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
70925
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70927
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
70929
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70931
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
70933
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 902541635)
70934
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 380377255)
70935
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:16:54', '2015-02-21 01:16:54', 619379998)
70936
+ Fixture Delete (0.1ms) DELETE FROM "tags"
70937
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70939
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
70941
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
70943
+ Fixture Insert (0.1ms) 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
+  (23.7ms) commit transaction
70945
+  (0.1ms) begin transaction
70946
+ -------------------------------------------
70947
+ DupTest: test_0001_has method pbt_dup_build
70948
+ -------------------------------------------
70949
+  (0.1ms) rollback transaction
70950
+  (0.1ms) begin transaction
70951
+ ------------------------------------------------
70952
+ DupTest: test_0002_has method pbt_deep_dup_build
70953
+ ------------------------------------------------
70954
+  (0.1ms) rollback transaction
70955
+  (0.1ms) begin transaction
70956
+ ----------------------------------------------------
70957
+ DupTest: test_0003_builds copy from dup'd attributes
70958
+ ----------------------------------------------------
70959
+ User Load (0.2ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70960
+ Profile Load (0.2ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
70961
+  (0.1ms) rollback transaction
70962
+  (0.0ms) begin transaction
70963
+ -------------------------------------------------------
70964
+ DupTest: test_0004_builds deep copy of dup'd attributes
70965
+ -------------------------------------------------------
70966
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
70967
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70968
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
70969
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
70970
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
70971
+ Address Load (0.2ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
70972
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
70973
+ Squishy Load (0.2ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
70974
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
70975
+  (0.1ms) rollback transaction
70976
+  (0.1ms) begin transaction
70977
+ ---------------------------------------------------------------
70978
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
70979
+ ---------------------------------------------------------------
70980
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
70981
+  (0.0ms) rollback transaction
70982
+  (0.0ms) begin transaction
70983
+ -------------------------------------------------
70984
+ PbtTest: test_0002_BuildCmd returns build command
70985
+ -------------------------------------------------
70986
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70987
+  (0.0ms) rollback transaction
70988
+  (0.0ms) begin transaction
70989
+ ----------------------------------------------------------------------
70990
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
70991
+ ----------------------------------------------------------------------
70992
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70993
+  (0.1ms) rollback transaction
70994
+  (0.0ms) begin transaction
70995
+ ----------------------------------------------------------------------
70996
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
70997
+ ----------------------------------------------------------------------
70998
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
70999
+ Photo Load (0.0ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
71000
+  (0.1ms) rollback transaction
71001
+  (0.0ms) begin transaction
71002
+ -----------------------------------------------------
71003
+ PbtTest: test_0005_IsReflected gives boolean of child
71004
+ -----------------------------------------------------
71005
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71006
+  (0.0ms) rollback transaction
71007
+  (0.0ms) begin transaction
71008
+ ----------------------------------------------------------------
71009
+ PbtTest: test_0006_SingularOrPlural responds for child relations
71010
+ ----------------------------------------------------------------
71011
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
71012
+  (0.0ms) rollback transaction
71013
+  (0.0ms) begin transaction
71014
+ ----------------------------------------------------
71015
+ PbtTest: test_0007_IsSingular tells child singleness
71016
+ ----------------------------------------------------
71017
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71018
+  (0.0ms) rollback transaction
71019
+  (0.0ms) begin transaction
71020
+ --------------------------------------------------
71021
+ PbtTest: test_0008_IsPlural tells child pluralness
71022
+ --------------------------------------------------
71023
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71024
+  (0.1ms) rollback transaction
71025
+  (0.0ms) begin transaction
71026
+ -----------------------------------------------------------------
71027
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
71028
+ -----------------------------------------------------------------
71029
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71030
+  (0.0ms) rollback transaction
71031
+  (0.0ms) begin transaction
71032
+ ----------------------------------------
71033
+ PolyBelongsToTest: test_0001_is a module
71034
+ ----------------------------------------
71035
+  (0.0ms) rollback transaction
71036
+  (0.0ms) begin transaction
71037
+ ----------------------------------------------------
71038
+ PolyBelongsToTest: test_0002_User as not polymorphic
71039
+ ----------------------------------------------------
71040
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71041
+  (0.0ms) rollback transaction
71042
+  (0.0ms) begin transaction
71043
+ ---------------------------------------------------
71044
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
71045
+ ---------------------------------------------------
71046
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71047
+  (0.1ms) rollback transaction
71048
+  (0.0ms) begin transaction
71049
+ -------------------------------------------------
71050
+ PolyBelongsToTest: test_0004_Phone as polymorphic
71051
+ -------------------------------------------------
71052
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71053
+  (0.1ms) rollback transaction
71054
+  (0.0ms) begin transaction
71055
+ ---------------------------------------------------------
71056
+ PolyBelongsToTest: test_0005_User belongs to table as nil
71057
+ ---------------------------------------------------------
71058
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71059
+  (0.0ms) rollback transaction
71060
+  (0.0ms) begin transaction
71061
+ ----------------------------------------------------------
71062
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
71063
+ ----------------------------------------------------------
71064
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71065
+  (0.1ms) rollback transaction
71066
+  (0.0ms) begin transaction
71067
+ -----------------------------------------------------------------
71068
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
71069
+ -----------------------------------------------------------------
71070
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71071
+  (0.0ms) rollback transaction
71072
+  (0.0ms) begin transaction
71073
+ ------------------------------------------------------
71074
+ PolyBelongsToTest: test_0008_User params name as :user
71075
+ ------------------------------------------------------
71076
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71077
+  (0.0ms) rollback transaction
71078
+  (0.0ms) begin transaction
71079
+ ----------------------------------------------------
71080
+ PolyBelongsToTest: test_0009_Tag params name as :tag
71081
+ ----------------------------------------------------
71082
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71083
+  (0.0ms) rollback transaction
71084
+  (0.0ms) begin transaction
71085
+ --------------------------------------------------------------------
71086
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
71087
+ --------------------------------------------------------------------
71088
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71089
+  (0.0ms) rollback transaction
71090
+  (0.0ms) begin transaction
71091
+ -------------------------------------------------------------------
71092
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
71093
+ -------------------------------------------------------------------
71094
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71095
+  (0.0ms) rollback transaction
71096
+  (0.0ms) begin transaction
71097
+ -------------------------------------------------------------------
71098
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
71099
+ -------------------------------------------------------------------
71100
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71101
+  (0.1ms) rollback transaction
71102
+  (0.1ms) begin transaction
71103
+ ----------------------------------------------------------------------
71104
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
71105
+ ----------------------------------------------------------------------
71106
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71107
+  (0.0ms) rollback transaction
71108
+  (0.0ms) begin transaction
71109
+ ------------------------------------------------------------------------------
71110
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
71111
+ ------------------------------------------------------------------------------
71112
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71113
+  (0.1ms) rollback transaction
71114
+  (0.0ms) begin transaction
71115
+ ---------------------------------------------------------------------
71116
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
71117
+ ---------------------------------------------------------------------
71118
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71119
+  (0.0ms) rollback transaction
71120
+  (0.1ms) begin transaction
71121
+ --------------------------------------------------------------------
71122
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
71123
+ --------------------------------------------------------------------
71124
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71125
+  (0.0ms) rollback transaction
71126
+  (0.0ms) begin transaction
71127
+ ----------------------------------------------------------------------------------
71128
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
71129
+ ----------------------------------------------------------------------------------
71130
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71131
+  (0.1ms) rollback transaction
71132
+  (0.0ms) begin transaction
71133
+ ------------------------------------------------------
71134
+ PolyBelongsToTest: test_0018_User belongs to id as nil
71135
+ ------------------------------------------------------
71136
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71137
+  (0.0ms) rollback transaction
71138
+  (0.0ms) begin transaction
71139
+ -----------------------------------------------------------
71140
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
71141
+ -----------------------------------------------------------
71142
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71143
+  (0.0ms) rollback transaction
71144
+  (0.0ms) begin transaction
71145
+ ---------------------------------------------------------------------
71146
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
71147
+ ---------------------------------------------------------------------
71148
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71149
+  (0.0ms) rollback transaction
71150
+  (0.1ms) begin transaction
71151
+ --------------------------------------------------------
71152
+ PolyBelongsToTest: test_0021_User belongs to type as nil
71153
+ --------------------------------------------------------
71154
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71155
+  (0.0ms) rollback transaction
71156
+  (0.0ms) begin transaction
71157
+ -------------------------------------------------------
71158
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
71159
+ -------------------------------------------------------
71160
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71161
+  (0.0ms) rollback transaction
71162
+  (0.0ms) begin transaction
71163
+ ---------------------------------------------------------------
71164
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
71165
+ ---------------------------------------------------------------
71166
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71167
+  (0.1ms) rollback transaction
71168
+  (0.0ms) begin transaction
71169
+ ----------------------------------------------------
71170
+ PolyBelongsToTest: test_0024_User parent returns nil
71171
+ ----------------------------------------------------
71172
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71173
+  (0.0ms) rollback transaction
71174
+  (0.0ms) begin transaction
71175
+ -------------------------------------------------------------
71176
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
71177
+ -------------------------------------------------------------
71178
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71179
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71180
+  (0.1ms) rollback transaction
71181
+  (0.0ms) begin transaction
71182
+ ---------------------------------------------------------
71183
+ PolyBelongsToTest: test_0026_Phone parent returns profile
71184
+ ---------------------------------------------------------
71185
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71186
+  (0.1ms) SAVEPOINT active_record_1
71187
+ SQL (0.9ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71190
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
71191
+  (0.1ms) rollback transaction
71192
+  (0.0ms) begin transaction
71193
+ --------------------------------------------------------
71194
+ PolyBelongsToTest: test_0027_Profile parent returns user
71195
+ --------------------------------------------------------
71196
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71197
+  (0.1ms) SAVEPOINT active_record_1
71198
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71200
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71201
+  (0.1ms) rollback transaction
71202
+  (0.5ms) begin transaction
71203
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
71204
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
71205
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
71207
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
71209
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
71211
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.3ms) INSERT 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)
71213
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
71215
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71217
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
71219
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (7.3ms) INSERT 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)
71221
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
71223
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71225
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
71227
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71229
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
71231
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 902541635)
71232
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 380377255)
71233
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:18:03', '2015-02-21 01:18:03', 619379998)
71234
+ Fixture Delete (0.1ms) DELETE FROM "tags"
71235
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71237
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
71239
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71241
+ Fixture Insert (0.1ms) 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
+  (14.8ms) commit transaction
71243
+  (0.2ms) begin transaction
71244
+ -------------------------------------------
71245
+ DupTest: test_0001_has method pbt_dup_build
71246
+ -------------------------------------------
71247
+  (0.1ms) rollback transaction
71248
+  (0.1ms) begin transaction
71249
+ ------------------------------------------------
71250
+ DupTest: test_0002_has method pbt_deep_dup_build
71251
+ ------------------------------------------------
71252
+  (0.1ms) rollback transaction
71253
+  (0.1ms) begin transaction
71254
+ ----------------------------------------------------
71255
+ DupTest: test_0003_builds copy from dup'd attributes
71256
+ ----------------------------------------------------
71257
+ User Load (0.5ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71258
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
71259
+  (0.1ms) rollback transaction
71260
+  (0.1ms) begin transaction
71261
+ -------------------------------------------------------
71262
+ DupTest: test_0004_builds deep copy of dup'd attributes
71263
+ -------------------------------------------------------
71264
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
71265
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71266
+ Photo Load (0.3ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
71267
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
71268
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
71269
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
71270
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
71271
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
71272
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
71273
+  (0.1ms) rollback transaction
71274
+  (0.1ms) begin transaction
71275
+ ---------------------------------------------------------------
71276
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
71277
+ ---------------------------------------------------------------
71278
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71279
+  (0.1ms) rollback transaction
71280
+  (0.0ms) begin transaction
71281
+ -------------------------------------------------
71282
+ PbtTest: test_0002_BuildCmd returns build command
71283
+ -------------------------------------------------
71284
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71285
+  (0.1ms) rollback transaction
71286
+  (0.0ms) begin transaction
71287
+ ----------------------------------------------------------------------
71288
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
71289
+ ----------------------------------------------------------------------
71290
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71291
+  (0.0ms) rollback transaction
71292
+  (0.0ms) begin transaction
71293
+ ----------------------------------------------------------------------
71294
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
71295
+ ----------------------------------------------------------------------
71296
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71297
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
71298
+  (0.1ms) rollback transaction
71299
+  (0.0ms) begin transaction
71300
+ -----------------------------------------------------
71301
+ PbtTest: test_0005_IsReflected gives boolean of child
71302
+ -----------------------------------------------------
71303
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71304
+  (0.0ms) rollback transaction
71305
+  (0.0ms) begin transaction
71306
+ ----------------------------------------------------------------
71307
+ PbtTest: test_0006_SingularOrPlural responds for child relations
71308
+ ----------------------------------------------------------------
71309
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
71310
+  (0.1ms) rollback transaction
71311
+  (0.1ms) begin transaction
71312
+ ----------------------------------------------------
71313
+ PbtTest: test_0007_IsSingular tells child singleness
71314
+ ----------------------------------------------------
71315
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71316
+  (0.0ms) rollback transaction
71317
+  (0.0ms) begin transaction
71318
+ --------------------------------------------------
71319
+ PbtTest: test_0008_IsPlural tells child pluralness
71320
+ --------------------------------------------------
71321
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71322
+  (0.0ms) rollback transaction
71323
+  (0.0ms) begin transaction
71324
+ -----------------------------------------------------------------
71325
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
71326
+ -----------------------------------------------------------------
71327
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71328
+  (0.0ms) rollback transaction
71329
+  (0.1ms) begin transaction
71330
+ ----------------------------------------
71331
+ PolyBelongsToTest: test_0001_is a module
71332
+ ----------------------------------------
71333
+  (0.0ms) rollback transaction
71334
+  (0.0ms) begin transaction
71335
+ ----------------------------------------------------
71336
+ PolyBelongsToTest: test_0002_User as not polymorphic
71337
+ ----------------------------------------------------
71338
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71339
+  (0.0ms) rollback transaction
71340
+  (0.0ms) begin transaction
71341
+ ---------------------------------------------------
71342
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
71343
+ ---------------------------------------------------
71344
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71345
+  (0.1ms) rollback transaction
71346
+  (0.0ms) begin transaction
71347
+ -------------------------------------------------
71348
+ PolyBelongsToTest: test_0004_Phone as polymorphic
71349
+ -------------------------------------------------
71350
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71351
+  (0.0ms) rollback transaction
71352
+  (0.0ms) begin transaction
71353
+ ---------------------------------------------------------
71354
+ PolyBelongsToTest: test_0005_User belongs to table as nil
71355
+ ---------------------------------------------------------
71356
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71357
+  (0.1ms) rollback transaction
71358
+  (0.1ms) begin transaction
71359
+ ----------------------------------------------------------
71360
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
71361
+ ----------------------------------------------------------
71362
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71363
+  (0.1ms) rollback transaction
71364
+  (0.0ms) begin transaction
71365
+ -----------------------------------------------------------------
71366
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
71367
+ -----------------------------------------------------------------
71368
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71369
+  (0.1ms) rollback transaction
71370
+  (0.0ms) begin transaction
71371
+ ------------------------------------------------------
71372
+ PolyBelongsToTest: test_0008_User params name as :user
71373
+ ------------------------------------------------------
71374
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71375
+  (0.0ms) rollback transaction
71376
+  (0.0ms) begin transaction
71377
+ ----------------------------------------------------
71378
+ PolyBelongsToTest: test_0009_Tag params name as :tag
71379
+ ----------------------------------------------------
71380
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71381
+  (0.0ms) rollback transaction
71382
+  (0.0ms) begin transaction
71383
+ --------------------------------------------------------------------
71384
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
71385
+ --------------------------------------------------------------------
71386
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71387
+  (0.0ms) rollback transaction
71388
+  (0.0ms) begin transaction
71389
+ -------------------------------------------------------------------
71390
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
71391
+ -------------------------------------------------------------------
71392
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71393
+  (0.0ms) rollback transaction
71394
+  (0.0ms) begin transaction
71395
+ -------------------------------------------------------------------
71396
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
71397
+ -------------------------------------------------------------------
71398
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71399
+  (0.0ms) rollback transaction
71400
+  (0.0ms) begin transaction
71401
+ ----------------------------------------------------------------------
71402
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
71403
+ ----------------------------------------------------------------------
71404
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71405
+  (0.0ms) rollback transaction
71406
+  (0.0ms) begin transaction
71407
+ ------------------------------------------------------------------------------
71408
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
71409
+ ------------------------------------------------------------------------------
71410
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71411
+  (0.0ms) rollback transaction
71412
+  (0.0ms) begin transaction
71413
+ ---------------------------------------------------------------------
71414
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
71415
+ ---------------------------------------------------------------------
71416
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71417
+  (0.0ms) rollback transaction
71418
+  (0.0ms) begin transaction
71419
+ --------------------------------------------------------------------
71420
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
71421
+ --------------------------------------------------------------------
71422
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71423
+  (0.0ms) rollback transaction
71424
+  (0.1ms) begin transaction
71425
+ ----------------------------------------------------------------------------------
71426
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
71427
+ ----------------------------------------------------------------------------------
71428
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71429
+  (0.1ms) rollback transaction
71430
+  (0.0ms) begin transaction
71431
+ ------------------------------------------------------
71432
+ PolyBelongsToTest: test_0018_User belongs to id as nil
71433
+ ------------------------------------------------------
71434
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71435
+  (0.0ms) rollback transaction
71436
+  (0.0ms) begin transaction
71437
+ -----------------------------------------------------------
71438
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
71439
+ -----------------------------------------------------------
71440
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71441
+  (0.0ms) rollback transaction
71442
+  (0.0ms) begin transaction
71443
+ ---------------------------------------------------------------------
71444
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
71445
+ ---------------------------------------------------------------------
71446
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71447
+  (0.0ms) rollback transaction
71448
+  (0.0ms) begin transaction
71449
+ --------------------------------------------------------
71450
+ PolyBelongsToTest: test_0021_User belongs to type as nil
71451
+ --------------------------------------------------------
71452
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71453
+  (0.0ms) rollback transaction
71454
+  (0.0ms) begin transaction
71455
+ -------------------------------------------------------
71456
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
71457
+ -------------------------------------------------------
71458
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71459
+  (0.1ms) rollback transaction
71460
+  (0.0ms) begin transaction
71461
+ ---------------------------------------------------------------
71462
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
71463
+ ---------------------------------------------------------------
71464
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71465
+  (0.0ms) rollback transaction
71466
+  (0.0ms) begin transaction
71467
+ ----------------------------------------------------
71468
+ PolyBelongsToTest: test_0024_User parent returns nil
71469
+ ----------------------------------------------------
71470
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71471
+  (0.0ms) rollback transaction
71472
+  (0.0ms) begin transaction
71473
+ -------------------------------------------------------------
71474
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
71475
+ -------------------------------------------------------------
71476
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71477
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71478
+  (0.1ms) rollback transaction
71479
+  (0.0ms) begin transaction
71480
+ ---------------------------------------------------------
71481
+ PolyBelongsToTest: test_0026_Phone parent returns profile
71482
+ ---------------------------------------------------------
71483
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71484
+  (0.1ms) SAVEPOINT active_record_1
71485
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71488
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
71489
+  (0.2ms) rollback transaction
71490
+  (0.1ms) begin transaction
71491
+ --------------------------------------------------------
71492
+ PolyBelongsToTest: test_0027_Profile parent returns user
71493
+ --------------------------------------------------------
71494
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71495
+  (0.1ms) SAVEPOINT active_record_1
71496
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71498
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71499
+  (0.1ms) rollback transaction
71500
+  (0.5ms) begin transaction
71501
+ Fixture Delete (0.2ms) DELETE FROM "squishies"
71502
+ Fixture Insert (0.1ms) 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', 576421514, 'Address', 761411935)
71503
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 396855775, 'Address', 1057142427)
71505
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) 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', 106545386, 'Address', 633598004)
71507
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "addresses"
71509
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71511
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "photos"
71513
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71515
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "profiles"
71517
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71519
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "geo_locations"
71521
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71523
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "phones"
71525
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71527
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "users"
71529
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 902541635)
71530
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 380377255)
71531
+ Fixture Insert (0.1ms) INSERT INTO "users" ("created_at", "updated_at", "id") VALUES ('2015-02-21 01:19:43', '2015-02-21 01:19:43', 619379998)
71532
+ Fixture Delete (0.1ms) DELETE FROM "tags"
71533
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71535
+ Fixture Insert (0.1ms) 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
+ Fixture Delete (0.1ms) DELETE FROM "ssns"
71537
+ Fixture Insert (0.1ms) 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
+ Fixture Insert (0.1ms) INSERT 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)
71539
+ Fixture Insert (0.1ms) 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
+  (13.3ms) commit transaction
71541
+  (0.1ms) begin transaction
71542
+ -------------------------------------------
71543
+ DupTest: test_0001_has method pbt_dup_build
71544
+ -------------------------------------------
71545
+  (0.1ms) rollback transaction
71546
+  (0.1ms) begin transaction
71547
+ ------------------------------------------------
71548
+ DupTest: test_0002_has method pbt_deep_dup_build
71549
+ ------------------------------------------------
71550
+  (0.1ms) rollback transaction
71551
+  (0.1ms) begin transaction
71552
+ ----------------------------------------------------
71553
+ DupTest: test_0003_builds copy from dup'd attributes
71554
+ ----------------------------------------------------
71555
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71556
+ Profile Load (0.3ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
71557
+  (0.1ms) rollback transaction
71558
+  (0.0ms) begin transaction
71559
+ -------------------------------------------------------
71560
+ DupTest: test_0004_builds deep copy of dup'd attributes
71561
+ -------------------------------------------------------
71562
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 380377255]]
71563
+ Profile Load (0.0ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71564
+ Photo Load (0.2ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
71565
+ Phone Load (0.2ms) SELECT "phones".* FROM "phones" WHERE "phones"."phoneable_id" = ? AND "phones"."phoneable_type" = ? [["phoneable_id", 261299535], ["phoneable_type", "Profile"]]
71566
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? LIMIT 1 [["squishable_id", 1053526200], ["squishable_type", "Phone"]]
71567
+ Address Load (0.1ms) SELECT "addresses".* FROM "addresses" WHERE "addresses"."addressable_id" = ? AND "addresses"."addressable_type" = ? [["addressable_id", 261299535], ["addressable_type", "Profile"]]
71568
+ GeoLocation Load (0.1ms) SELECT "geo_locations".* FROM "geo_locations" WHERE "geo_locations"."address_id" = ? LIMIT 1 [["address_id", 761411935]]
71569
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 343404421], ["squishable_type", "GeoLocation"]]
71570
+ Squishy Load (0.1ms) SELECT "squishies".* FROM "squishies" WHERE "squishies"."squishable_id" = ? AND "squishies"."squishable_type" = ? [["squishable_id", 761411935], ["squishable_type", "Address"]]
71571
+  (0.1ms) rollback transaction
71572
+  (0.1ms) begin transaction
71573
+ ---------------------------------------------------------------
71574
+ PbtTest: test_0001_AttrSanitizer removes conflicting attributes
71575
+ ---------------------------------------------------------------
71576
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71577
+  (0.1ms) rollback transaction
71578
+  (0.0ms) begin transaction
71579
+ -------------------------------------------------
71580
+ PbtTest: test_0002_BuildCmd returns build command
71581
+ -------------------------------------------------
71582
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71583
+  (0.0ms) rollback transaction
71584
+  (0.0ms) begin transaction
71585
+ ----------------------------------------------------------------------
71586
+ PbtTest: test_0003_Reflects retruns has_one and has_many relationships
71587
+ ----------------------------------------------------------------------
71588
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71589
+  (0.1ms) rollback transaction
71590
+  (0.0ms) begin transaction
71591
+ ----------------------------------------------------------------------
71592
+ PbtTest: test_0004_ReflectsAsClasses one and many relations as classes
71593
+ ----------------------------------------------------------------------
71594
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71595
+ Photo Load (0.1ms) SELECT "photos".* FROM "photos" WHERE "photos"."photoable_id" = ? AND "photos"."photoable_type" = ? LIMIT 1 [["photoable_id", 261299535], ["photoable_type", "Profile"]]
71596
+  (0.1ms) rollback transaction
71597
+  (0.0ms) begin transaction
71598
+ -----------------------------------------------------
71599
+ PbtTest: test_0005_IsReflected gives boolean of child
71600
+ -----------------------------------------------------
71601
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71602
+  (0.0ms) rollback transaction
71603
+  (0.0ms) begin transaction
71604
+ ----------------------------------------------------------------
71605
+ PbtTest: test_0006_SingularOrPlural responds for child relations
71606
+ ----------------------------------------------------------------
71607
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629572]]
71608
+  (0.0ms) rollback transaction
71609
+  (0.0ms) begin transaction
71610
+ ----------------------------------------------------
71611
+ PbtTest: test_0007_IsSingular tells child singleness
71612
+ ----------------------------------------------------
71613
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71614
+  (0.0ms) rollback transaction
71615
+  (0.0ms) begin transaction
71616
+ --------------------------------------------------
71617
+ PbtTest: test_0008_IsPlural tells child pluralness
71618
+ --------------------------------------------------
71619
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 261299535]]
71620
+  (0.0ms) rollback transaction
71621
+  (0.0ms) begin transaction
71622
+ -----------------------------------------------------------------
71623
+ PbtTest: test_0009_CollectionProxy: singular or plural proxy name
71624
+ -----------------------------------------------------------------
71625
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 478996145]]
71626
+  (0.0ms) rollback transaction
71627
+  (0.1ms) begin transaction
71628
+ ----------------------------------------
71629
+ PolyBelongsToTest: test_0001_is a module
71630
+ ----------------------------------------
71631
+  (0.0ms) rollback transaction
71632
+  (0.0ms) begin transaction
71633
+ ----------------------------------------------------
71634
+ PolyBelongsToTest: test_0002_User as not polymorphic
71635
+ ----------------------------------------------------
71636
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71637
+  (0.0ms) rollback transaction
71638
+  (0.0ms) begin transaction
71639
+ ---------------------------------------------------
71640
+ PolyBelongsToTest: test_0003_Tag as not polymorphic
71641
+ ---------------------------------------------------
71642
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71643
+  (0.1ms) rollback transaction
71644
+  (0.0ms) begin transaction
71645
+ -------------------------------------------------
71646
+ PolyBelongsToTest: test_0004_Phone as polymorphic
71647
+ -------------------------------------------------
71648
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71649
+  (0.0ms) rollback transaction
71650
+  (0.0ms) begin transaction
71651
+ ---------------------------------------------------------
71652
+ PolyBelongsToTest: test_0005_User belongs to table as nil
71653
+ ---------------------------------------------------------
71654
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71655
+  (0.1ms) rollback transaction
71656
+  (0.0ms) begin transaction
71657
+ ----------------------------------------------------------
71658
+ PolyBelongsToTest: test_0006_Tag belongs to table as :user
71659
+ ----------------------------------------------------------
71660
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71661
+  (0.1ms) rollback transaction
71662
+  (0.0ms) begin transaction
71663
+ -----------------------------------------------------------------
71664
+ PolyBelongsToTest: test_0007_Phone belongs to table as :phoneable
71665
+ -----------------------------------------------------------------
71666
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71667
+  (0.1ms) rollback transaction
71668
+  (0.0ms) begin transaction
71669
+ ------------------------------------------------------
71670
+ PolyBelongsToTest: test_0008_User params name as :user
71671
+ ------------------------------------------------------
71672
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71673
+  (0.0ms) rollback transaction
71674
+  (0.0ms) begin transaction
71675
+ ----------------------------------------------------
71676
+ PolyBelongsToTest: test_0009_Tag params name as :tag
71677
+ ----------------------------------------------------
71678
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71679
+  (0.1ms) rollback transaction
71680
+  (0.0ms) begin transaction
71681
+ --------------------------------------------------------------------
71682
+ PolyBelongsToTest: test_0010_Phone params name as :phones_attributes
71683
+ --------------------------------------------------------------------
71684
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71685
+  (0.0ms) rollback transaction
71686
+  (0.0ms) begin transaction
71687
+ -------------------------------------------------------------------
71688
+ PolyBelongsToTest: test_0011_Phone params name with false as :phone
71689
+ -------------------------------------------------------------------
71690
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71691
+  (0.0ms) rollback transaction
71692
+  (0.0ms) begin transaction
71693
+ -------------------------------------------------------------------
71694
+ PolyBelongsToTest: test_0012_User belongs to field id symbol as nil
71695
+ -------------------------------------------------------------------
71696
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71697
+  (0.0ms) rollback transaction
71698
+  (0.0ms) begin transaction
71699
+ ----------------------------------------------------------------------
71700
+ PolyBelongsToTest: test_0013_Tag belongs to field id symbol as :tag_id
71701
+ ----------------------------------------------------------------------
71702
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71703
+  (0.0ms) rollback transaction
71704
+  (0.0ms) begin transaction
71705
+ ------------------------------------------------------------------------------
71706
+ PolyBelongsToTest: test_0014_Phone belongs to field id symbol as :phoneable_id
71707
+ ------------------------------------------------------------------------------
71708
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71709
+  (0.1ms) rollback transaction
71710
+  (0.0ms) begin transaction
71711
+ ---------------------------------------------------------------------
71712
+ PolyBelongsToTest: test_0015_User belongs to field type symbol as nil
71713
+ ---------------------------------------------------------------------
71714
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71715
+  (0.0ms) rollback transaction
71716
+  (0.0ms) begin transaction
71717
+ --------------------------------------------------------------------
71718
+ PolyBelongsToTest: test_0016_Tag belongs to field type symbol as nil
71719
+ --------------------------------------------------------------------
71720
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71721
+  (0.0ms) rollback transaction
71722
+  (0.0ms) begin transaction
71723
+ ----------------------------------------------------------------------------------
71724
+ PolyBelongsToTest: test_0017_Phone belongs to field type symbol as :phoneable_type
71725
+ ----------------------------------------------------------------------------------
71726
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71727
+  (0.0ms) rollback transaction
71728
+  (0.0ms) begin transaction
71729
+ ------------------------------------------------------
71730
+ PolyBelongsToTest: test_0018_User belongs to id as nil
71731
+ ------------------------------------------------------
71732
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71733
+  (0.0ms) rollback transaction
71734
+  (0.1ms) begin transaction
71735
+ -----------------------------------------------------------
71736
+ PolyBelongsToTest: test_0019_Tag belongs to id as user's id
71737
+ -----------------------------------------------------------
71738
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71739
+  (0.1ms) rollback transaction
71740
+  (0.0ms) begin transaction
71741
+ ---------------------------------------------------------------------
71742
+ PolyBelongsToTest: test_0020_Phone belongs to id as user's profile id
71743
+ ---------------------------------------------------------------------
71744
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71745
+  (0.0ms) rollback transaction
71746
+  (0.0ms) begin transaction
71747
+ --------------------------------------------------------
71748
+ PolyBelongsToTest: test_0021_User belongs to type as nil
71749
+ --------------------------------------------------------
71750
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71751
+  (0.1ms) rollback transaction
71752
+  (0.1ms) begin transaction
71753
+ -------------------------------------------------------
71754
+ PolyBelongsToTest: test_0022_Tag belongs to type as nil
71755
+ -------------------------------------------------------
71756
+ Tag Load (0.1ms) SELECT "tags".* FROM "tags" WHERE "tags"."id" = ? LIMIT 1 [["id", 884173432]]
71757
+  (0.0ms) rollback transaction
71758
+  (0.0ms) begin transaction
71759
+ ---------------------------------------------------------------
71760
+ PolyBelongsToTest: test_0023_Phone belongs to type as 'Profile'
71761
+ ---------------------------------------------------------------
71762
+ Phone Load (0.1ms) SELECT "phones".* FROM "phones" WHERE "phones"."id" = ? LIMIT 1 [["id", 1053526200]]
71763
+  (0.1ms) rollback transaction
71764
+  (0.0ms) begin transaction
71765
+ ----------------------------------------------------
71766
+ PolyBelongsToTest: test_0024_User parent returns nil
71767
+ ----------------------------------------------------
71768
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71769
+  (0.0ms) rollback transaction
71770
+  (0.0ms) begin transaction
71771
+ -------------------------------------------------------------
71772
+ PolyBelongsToTest: test_0025_Tag parent returns user instance
71773
+ -------------------------------------------------------------
71774
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71775
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71776
+  (0.1ms) rollback transaction
71777
+  (0.0ms) begin transaction
71778
+ ---------------------------------------------------------
71779
+ PolyBelongsToTest: test_0026_Phone parent returns profile
71780
+ ---------------------------------------------------------
71781
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71782
+  (0.1ms) SAVEPOINT active_record_1
71783
+ SQL (0.8ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+ SQL (0.2ms) 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
+  (0.1ms) RELEASE SAVEPOINT active_record_1
71786
+ Profile Load (0.1ms) SELECT "profiles".* FROM "profiles" WHERE "profiles"."id" = ? LIMIT 1 [["id", 966629573]]
71787
+  (0.2ms) rollback transaction
71788
+  (0.0ms) begin transaction
71789
+ --------------------------------------------------------
71790
+ PolyBelongsToTest: test_0027_Profile parent returns user
71791
+ --------------------------------------------------------
71792
+ User Load (0.1ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71793
+  (0.0ms) SAVEPOINT active_record_1
71794
+ SQL (0.2ms) INSERT INTO "profiles" ("created_at", "profileable_id", "profileable_type", "updated_at") VALUES (?, ?, ?, ?) [["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
+  (0.0ms) RELEASE SAVEPOINT active_record_1
71796
+ User Load (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT 1 [["id", 902541635]]
71797
+  (0.1ms) rollback transaction