uuids 1.1 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +2 -1
- data/lib/uuids/base.rb +8 -1
- data/lib/uuids/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +762 -0
- data/spec/lib/uuids/base_spec.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c89b99f654c1dfea64b0eb20b53e29c43a23e5b6
|
4
|
+
data.tar.gz: 8248163a5e3b377d0b2d28953d95a12f035e0747
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c138b109db21234ff97829e1116a542257100dfeec619009edca64e9d33c88b215dd87139aab5a1a852d8b3b2514e5c82ec2db6db26d632d96e379696e3d15e
|
7
|
+
data.tar.gz: ec574018240a64d28ccb52018f1d91a16a62c71767eb4cbb8318b149337a698059c0bd2fdc45962db94b6fcbd5997d835b775cefe3147f5cc51cca2e869647ed
|
data/README.rdoc
CHANGED
@@ -98,7 +98,8 @@ This will add methods:
|
|
98
98
|
|
99
99
|
+#uuids+:: List of <tt>Uuids::Uuid</tt> objects referred to the record.
|
100
100
|
+#uuid+:: main UUID for the record - a value of the first +uuids+ (ordered by value).
|
101
|
-
|
101
|
+
+#uuid=(value):: assigns the UUID (an alias for <tt>#uuids.new value: value</tt>).
|
102
|
+
<tt>.by_uuid</tt>:: A scope for unique records by UUID: <tt>City.by_uuid</tt>.
|
102
103
|
|
103
104
|
The first uuid is added by default. It can also be set manually:
|
104
105
|
|
data/lib/uuids/base.rb
CHANGED
@@ -64,7 +64,14 @@ module Uuids
|
|
64
64
|
def define_scope
|
65
65
|
scope(
|
66
66
|
:by_uuid,
|
67
|
-
->(
|
67
|
+
->(*list) {
|
68
|
+
if list.first.is_a? Array
|
69
|
+
warn "[DEPRECATION] use a list of values, not an array" \
|
70
|
+
" in .by_uuid(*values) method."
|
71
|
+
list = list.first
|
72
|
+
end
|
73
|
+
joins(:uuids).where(uuids_uuids: { value: list }).uniq
|
74
|
+
}
|
68
75
|
)
|
69
76
|
end
|
70
77
|
end
|
data/lib/uuids/version.rb
CHANGED
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -635,3 +635,765 @@ Migrating to CreateCities (20141017081115)
|
|
635
635
|
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "cfaf5c4e-398b-423c-923a-fe9ac8cbb83e"]]
|
636
636
|
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
637
637
|
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
638
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
639
|
+
[1m[35m (5.2ms)[0m DELETE FROM "uuids_uuids";
|
640
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
641
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
642
|
+
[1m[36m (2.8ms)[0m [1mDELETE FROM "records";[0m
|
643
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
644
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
645
|
+
[1m[35m (2.5ms)[0m DELETE FROM "cities";
|
646
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
647
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
648
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
649
|
+
[1m[35m (0.0ms)[0m commit transaction
|
650
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
651
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
652
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
653
|
+
[1m[35m (0.0ms)[0m commit transaction
|
654
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
655
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
656
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
657
|
+
[1m[35m (0.0ms)[0m commit transaction
|
658
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
659
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
660
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
661
|
+
[1m[35m (0.0ms)[0m commit transaction
|
662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
663
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
664
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.887989"], ["updated_at", "2014-10-25 21:41:13.887989"]]
|
665
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
666
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "0d0718df-ca14-4b1c-bf3b-2e04bcae1da9"]]
|
667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
668
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
669
|
+
[1m[35m (0.0ms)[0m begin transaction
|
670
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
671
|
+
[1m[35m (0.0ms)[0m begin transaction
|
672
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
673
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.901039"], ["updated_at", "2014-10-25 21:41:13.901039"]]
|
674
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
675
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7d16786f-7b85-415e-92e1-4f9d25845aa3"]]
|
676
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
677
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1c1d7859-bbc4-4db9-bd1f-babfb8582a78"]]
|
678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
679
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
680
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
681
|
+
[1m[35m (0.0ms)[0m commit transaction
|
682
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
683
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
684
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.906783"], ["updated_at", "2014-10-25 21:41:13.906783"]]
|
685
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
686
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "93da6d26-970b-4bd9-b569-b5bdd1e973c3"]]
|
687
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
688
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
689
|
+
[1m[35m (0.1ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
690
|
+
[1m[36mSQL (0.2ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
691
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
693
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
694
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
695
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
696
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
697
|
+
[1m[35m (0.8ms)[0m begin transaction
|
698
|
+
[1m[36m (0.5ms)[0m [1mcommit transaction[0m
|
699
|
+
[1m[35m (0.1ms)[0m begin transaction
|
700
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
701
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.944524"], ["updated_at", "2014-10-25 21:41:13.944524"]]
|
702
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
703
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "791b0e1e-9ee6-4698-8c4e-62e1094d6b87"]]
|
704
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
705
|
+
[1m[35mCity Load (0.2ms)[0m SELECT DISTINCT "cities".* FROM "cities" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "cities"."id" AND "uuids_uuids"."record_type" = 'City' WHERE "uuids_uuids"."value" = '791b0e1e-9ee6-4698-8c4e-62e1094d6b87' ORDER BY "cities"."id" ASC LIMIT 1
|
706
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
707
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
708
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "8c9d27fb-877f-4671-a27d-9676688d8308"]]
|
709
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
710
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
711
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
712
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
713
|
+
[1m[35m (0.0ms)[0m begin transaction
|
714
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
715
|
+
[1m[35m (0.0ms)[0m begin transaction
|
716
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
717
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.959530"], ["updated_at", "2014-10-25 21:41:13.959530"]]
|
718
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
719
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "34c6bfd2-9495-4eb2-960c-5b382a47b594"]]
|
720
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
721
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
722
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
723
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
724
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
725
|
+
[1m[35m (0.0ms)[0m begin transaction
|
726
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
727
|
+
[1m[35m (0.0ms)[0m begin transaction
|
728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
729
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.964880"], ["updated_at", "2014-10-25 21:41:13.964880"]]
|
730
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
731
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "ef7b2c1b-9fe7-4d6b-ac45-35490fdc1aef"]]
|
732
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
733
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
|
734
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
735
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
736
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
737
|
+
[1m[35m (0.0ms)[0m begin transaction
|
738
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
739
|
+
[1m[35m (0.0ms)[0m begin transaction
|
740
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
741
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.975596"], ["updated_at", "2014-10-25 21:41:13.975596"]]
|
742
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
743
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
744
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
745
|
+
[1m[35m (0.0ms)[0m commit transaction
|
746
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
747
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
748
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.980223"], ["updated_at", "2014-10-25 21:41:13.980223"]]
|
749
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
750
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
751
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "6fd6d560-42c6-4355-b62d-614d10d41c72"]]
|
752
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
753
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
754
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
755
|
+
[1m[35m (0.0ms)[0m begin transaction
|
756
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
757
|
+
[1m[35m (0.0ms)[0m begin transaction
|
758
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
759
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:13.984165"], ["updated_at", "2014-10-25 21:41:13.984165"]]
|
760
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
761
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
762
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "6577d3b1-b5d0-485e-a59d-aa09ab495f56"]]
|
763
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
764
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
765
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
766
|
+
[1m[36mRecord Load (0.1ms)[0m [1mSELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1[0m [["id", 1]]
|
767
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
768
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
769
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
770
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
771
|
+
[1m[35m (0.0ms)[0m commit transaction
|
772
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
773
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
774
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.989277"], ["updated_at", "2014-10-25 21:41:13.989277"]]
|
775
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
776
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
777
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "3a4c23de-7f16-45c1-9ace-d375c5c1ceb2"]]
|
778
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
779
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
780
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
781
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
782
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
783
|
+
[1m[35m (0.0ms)[0m commit transaction
|
784
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
785
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
786
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.993529"], ["updated_at", "2014-10-25 21:41:13.993529"]]
|
787
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
788
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
789
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "bcbc9b62-f928-44b7-961a-1e602549e54c"]]
|
790
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
791
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
792
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
793
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
794
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
795
|
+
[1m[35m (0.0ms)[0m commit transaction
|
796
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
797
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
798
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:13.997409"], ["updated_at", "2014-10-25 21:41:13.997409"]]
|
799
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
800
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
801
|
+
[1m[35m (0.0ms)[0m begin transaction
|
802
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
803
|
+
[1m[35m (0.0ms)[0m begin transaction
|
804
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
805
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:14.000186"], ["updated_at", "2014-10-25 21:41:14.000186"]]
|
806
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
807
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
808
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
809
|
+
[1m[35m (0.0ms)[0m commit transaction
|
810
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
811
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
812
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:41:14.002849"], ["updated_at", "2014-10-25 21:41:14.002849"]]
|
813
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
814
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
815
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "cd6141e5-dac4-4fa1-bc44-dca0808a20d9"]]
|
816
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
817
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
818
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
819
|
+
[1m[35m (0.0ms)[0m begin transaction
|
820
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
821
|
+
[1m[35m (0.0ms)[0m begin transaction
|
822
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
823
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:41:14.006840"], ["updated_at", "2014-10-25 21:41:14.006840"]]
|
824
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
825
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
826
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "9b9e878b-6aea-4173-87d2-9538f1e9ff2c"]]
|
827
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
828
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
829
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
830
|
+
[1m[35m (5.7ms)[0m DELETE FROM "uuids_uuids";
|
831
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
832
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
833
|
+
[1m[36m (3.2ms)[0m [1mDELETE FROM "records";[0m
|
834
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
835
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
836
|
+
[1m[35m (2.6ms)[0m DELETE FROM "cities";
|
837
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
838
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
839
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
840
|
+
[1m[35m (0.0ms)[0m commit transaction
|
841
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
842
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
843
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
844
|
+
[1m[35m (0.1ms)[0m commit transaction
|
845
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
846
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
847
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
848
|
+
[1m[35m (0.1ms)[0m commit transaction
|
849
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
850
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
851
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.503627"], ["updated_at", "2014-10-25 21:42:13.503627"]]
|
852
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
853
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "1eb6ef24-93fa-4885-a92c-9525d0c0316b"]]
|
854
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
855
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
856
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
857
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
858
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
859
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
860
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
861
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
862
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
863
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
864
|
+
[1m[35m (0.0ms)[0m begin transaction
|
865
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
866
|
+
[1m[35m (0.0ms)[0m begin transaction
|
867
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
868
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.533993"], ["updated_at", "2014-10-25 21:42:13.533993"]]
|
869
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
870
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "4580266f-16f3-40a5-96a3-90fac75040b2"]]
|
871
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
872
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
873
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
874
|
+
[1m[35m (0.0ms)[0m commit transaction
|
875
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
876
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
877
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.539262"], ["updated_at", "2014-10-25 21:42:13.539262"]]
|
878
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
879
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "dce559a4-661d-4019-b602-98e38d87fb45"]]
|
880
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
881
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
882
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
883
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "City"]]
|
884
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
885
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
886
|
+
[1m[35m (0.0ms)[0m commit transaction
|
887
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
888
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
889
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.547940"], ["updated_at", "2014-10-25 21:42:13.547940"]]
|
890
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
891
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "2c394068-684d-41d1-873f-001c69c9379c"]]
|
892
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
893
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
894
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
895
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
896
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
897
|
+
[1m[36m (0.9ms)[0m [1mbegin transaction[0m
|
898
|
+
[1m[35m (0.6ms)[0m commit transaction
|
899
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
900
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
901
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
902
|
+
[1m[35m (0.0ms)[0m commit transaction
|
903
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
904
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
905
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.583731"], ["updated_at", "2014-10-25 21:42:13.583731"]]
|
906
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
907
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "e252ebb6-bc7a-4664-9024-f1998bf704e4"]]
|
908
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
909
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "16b42d7f-711c-4e8c-876a-f153346ee491"]]
|
910
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
911
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
912
|
+
[1m[35m (0.0ms)[0m begin transaction
|
913
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
914
|
+
[1m[35m (0.0ms)[0m begin transaction
|
915
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
916
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.589520"], ["updated_at", "2014-10-25 21:42:13.589520"]]
|
917
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
918
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7ae5aad5-fd7c-435b-855b-4543fcf4fdc8"]]
|
919
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
920
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
921
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
922
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "90f3efd0-1563-4130-a5c2-ccb22ee415f3"]]
|
923
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
924
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
925
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "City"]]
|
926
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
927
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
928
|
+
[1m[35m (0.0ms)[0m commit transaction
|
929
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
930
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
931
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.598734"], ["updated_at", "2014-10-25 21:42:13.598734"]]
|
932
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
933
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
934
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "9fa01753-a71c-4937-9332-b5edcf4fe2ff"]]
|
935
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
936
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
937
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
938
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
939
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
940
|
+
[1m[35m (0.0ms)[0m commit transaction
|
941
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
942
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
943
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.604800"], ["updated_at", "2014-10-25 21:42:13.604800"]]
|
944
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
945
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
946
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "36f83caa-4c30-4f4f-9573-797692455ad5"]]
|
947
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
948
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
949
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
950
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
951
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
952
|
+
[1m[35m (0.0ms)[0m commit transaction
|
953
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
954
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
955
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.609383"], ["updated_at", "2014-10-25 21:42:13.609383"]]
|
956
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
957
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
958
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "02adf8dc-582e-496b-8417-eac0460738e5"]]
|
959
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
960
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
961
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
962
|
+
[1m[35m (0.0ms)[0m begin transaction
|
963
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
964
|
+
[1m[35m (0.0ms)[0m begin transaction
|
965
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
966
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.613205"], ["updated_at", "2014-10-25 21:42:13.613205"]]
|
967
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
968
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
969
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "2abc7c8c-2298-456c-a343-30aef917bacc"]]
|
970
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
971
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
972
|
+
[1m[35m (0.0ms)[0m begin transaction
|
973
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
974
|
+
[1m[35m (0.0ms)[0m begin transaction
|
975
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
976
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.616567"], ["updated_at", "2014-10-25 21:42:13.616567"]]
|
977
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
978
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
979
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
980
|
+
[1m[35m (0.0ms)[0m commit transaction
|
981
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
982
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
983
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.619001"], ["updated_at", "2014-10-25 21:42:13.619001"]]
|
984
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
985
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
986
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "2f2765d7-93de-4cd8-a4c6-308b523f4ef6"]]
|
987
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
988
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
989
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
990
|
+
[1m[35m (0.0ms)[0m begin transaction
|
991
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
992
|
+
[1m[35m (0.0ms)[0m begin transaction
|
993
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
994
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.622761"], ["updated_at", "2014-10-25 21:42:13.622761"]]
|
995
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
996
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
997
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "851a3c8c-400f-4032-b4c6-9b7fd9a0c614"]]
|
998
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
999
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1000
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1001
|
+
[1m[36mRecord Load (0.1ms)[0m [1mSELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1[0m [["id", 1]]
|
1002
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1003
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1004
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1005
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1006
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1007
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1008
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1009
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:13.627632"], ["updated_at", "2014-10-25 21:42:13.627632"]]
|
1010
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1011
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1012
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1013
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1014
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1015
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1016
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:13.630285"], ["updated_at", "2014-10-25 21:42:13.630285"]]
|
1017
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1018
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1019
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1020
|
+
[1m[35m (4.5ms)[0m DELETE FROM "uuids_uuids";
|
1021
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1022
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
1023
|
+
[1m[36m (2.5ms)[0m [1mDELETE FROM "records";[0m
|
1024
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1025
|
+
[1m[36m (0.2ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
1026
|
+
[1m[35m (2.8ms)[0m DELETE FROM "cities";
|
1027
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1028
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
1029
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1030
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1031
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1032
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1033
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1034
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1035
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1036
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1037
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1038
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1039
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1040
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1041
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.479332"], ["updated_at", "2014-10-25 21:42:37.479332"]]
|
1042
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1043
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "ca3d9d23-b231-492f-9f15-e239dbd8b930"]]
|
1044
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1045
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1046
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1047
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1048
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1049
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1050
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.500401"], ["updated_at", "2014-10-25 21:42:37.500401"]]
|
1051
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1052
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c07e2f3a-4626-46a1-b018-73afca24c899"]]
|
1053
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1054
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1055
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1056
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "581c83c9-72f4-4b43-9cf7-61cde30d3613"]]
|
1057
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1058
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1059
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "City"]]
|
1060
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1061
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1062
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1063
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1064
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1065
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1066
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1067
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1068
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1069
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.512105"], ["updated_at", "2014-10-25 21:42:37.512105"]]
|
1070
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1071
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "878924fe-7ae6-473c-adf8-abcb93a55ca5"]]
|
1072
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1073
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
1074
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1075
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "City"]]
|
1076
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1077
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
1078
|
+
[1m[35m (0.3ms)[0m commit transaction
|
1079
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1080
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1081
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.548816"], ["updated_at", "2014-10-25 21:42:37.548816"]]
|
1082
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1083
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "aa898ea9-be39-4198-ae01-0ff9e4364c8e"]]
|
1084
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1085
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1086
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1087
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
1088
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1089
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1090
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
1091
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
1092
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1093
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1094
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1095
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1096
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1097
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1098
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.558260"], ["updated_at", "2014-10-25 21:42:37.558260"]]
|
1099
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1100
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "38e0e288-958a-4452-9f60-0bde6b21b684"]]
|
1101
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1102
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
1103
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1104
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
1105
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1106
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1107
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1108
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1109
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1110
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.565631"], ["updated_at", "2014-10-25 21:42:37.565631"]]
|
1111
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1112
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1a269f86-9760-4fb8-a065-a27c7052307d"]]
|
1113
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1114
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "2d543c59-6ae7-4b5b-adb9-e00d93979b22"]]
|
1115
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1116
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1117
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1118
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1119
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1120
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1121
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.572202"], ["updated_at", "2014-10-25 21:42:37.572202"]]
|
1122
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1123
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1124
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1125
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1126
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1127
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1128
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.576562"], ["updated_at", "2014-10-25 21:42:37.576562"]]
|
1129
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1130
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1131
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1132
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1133
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1134
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1135
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.579464"], ["updated_at", "2014-10-25 21:42:37.579464"]]
|
1136
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1137
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1138
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1139
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1140
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1141
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1142
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.582125"], ["updated_at", "2014-10-25 21:42:37.582125"]]
|
1143
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1144
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1145
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "05a5f782-0e5c-4141-b925-f33e78378735"]]
|
1146
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1147
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1148
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1149
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1151
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1152
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1153
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1154
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.586631"], ["updated_at", "2014-10-25 21:42:37.586631"]]
|
1155
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1156
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1157
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "27f0354b-5318-4e64-ba12-5d0fb33b1cc3"]]
|
1158
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1159
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1160
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1161
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1162
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1163
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1164
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1165
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1166
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.590552"], ["updated_at", "2014-10-25 21:42:37.590552"]]
|
1167
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1168
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1169
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "4682b2ce-5bdb-4e00-823a-2e31210294b5"]]
|
1170
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1171
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1172
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1173
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1174
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1175
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1176
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1177
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.594037"], ["updated_at", "2014-10-25 21:42:37.594037"]]
|
1178
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1179
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1180
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "11e43038-d45b-4c27-9a60-8c5be61780e2"]]
|
1181
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1182
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1183
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1184
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1185
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1186
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1187
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:42:37.597419"], ["updated_at", "2014-10-25 21:42:37.597419"]]
|
1188
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1189
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1190
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "8b381f72-4130-499c-8ee2-4085394c3b26"]]
|
1191
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1192
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
1193
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1194
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1195
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1196
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1197
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1198
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:42:37.601057"], ["updated_at", "2014-10-25 21:42:37.601057"]]
|
1199
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1200
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1201
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "dc9431a4-cdb3-4b71-b2b6-94ef47f29db8"]]
|
1202
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1203
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1204
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1205
|
+
[1m[36mRecord Load (0.1ms)[0m [1mSELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1[0m [["id", 1]]
|
1206
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1207
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1208
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1209
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1210
|
+
[1m[35m (4.6ms)[0m DELETE FROM "uuids_uuids";
|
1211
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1212
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
1213
|
+
[1m[36m (2.1ms)[0m [1mDELETE FROM "records";[0m
|
1214
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
1215
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
1216
|
+
[1m[35m (2.9ms)[0m DELETE FROM "cities";
|
1217
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
1218
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
1219
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
1220
|
+
[1m[35m (0.1ms)[0m commit transaction
|
1221
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1222
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1223
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.429117"], ["updated_at", "2014-10-25 21:49:29.429117"]]
|
1224
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
1225
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1226
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "68c75d8e-dd1b-47b9-b6bb-3f923f7092c7"]]
|
1227
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1228
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
1229
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1230
|
+
[1m[35mRecord Load (0.1ms)[0m SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
|
1231
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1232
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
1233
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1234
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1235
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1236
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1237
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1238
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:49:29.447086"], ["updated_at", "2014-10-25 21:49:29.447086"]]
|
1239
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1240
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1241
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "b3229629-561c-499e-bcd2-82ce9421a39d"]]
|
1242
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1243
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
1244
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1245
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1246
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1247
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1248
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1249
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.450609"], ["updated_at", "2014-10-25 21:49:29.450609"]]
|
1250
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1251
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1252
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "e60cdf66-e312-436f-90d9-b29e655b6ef0"]]
|
1253
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1254
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1255
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1256
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1257
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1258
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1259
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.453655"], ["updated_at", "2014-10-25 21:49:29.453655"]]
|
1260
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1261
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1262
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "79b3d388-0d96-484d-a571-2d3212864fa0"]]
|
1263
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1264
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
1265
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1266
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1267
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1268
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1269
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1270
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:49:29.457628"], ["updated_at", "2014-10-25 21:49:29.457628"]]
|
1271
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1272
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1273
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1274
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1275
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1276
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1277
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.460156"], ["updated_at", "2014-10-25 21:49:29.460156"]]
|
1278
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1279
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1280
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1281
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1282
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1283
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1284
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:49:29.466735"], ["updated_at", "2014-10-25 21:49:29.466735"]]
|
1285
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1286
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1287
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1288
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1289
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1290
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1291
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.469497"], ["updated_at", "2014-10-25 21:49:29.469497"]]
|
1292
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1293
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1294
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "e41bfaa0-cddf-4956-bbba-d1adabee79ba"]]
|
1295
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1296
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1297
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1298
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1299
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1300
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1301
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1302
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1303
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.474448"], ["updated_at", "2014-10-25 21:49:29.474448"]]
|
1304
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1305
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1306
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "854a2c5c-bed0-4876-bb16-76a386e0176d"]]
|
1307
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1308
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1309
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
1310
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1311
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1312
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1313
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1314
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1315
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.480761"], ["updated_at", "2014-10-25 21:49:29.480761"]]
|
1316
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1317
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "63a4ac6b-f309-4c55-bedf-848ee765f88b"]]
|
1318
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1319
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1320
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
1321
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
1322
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1323
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1324
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
1325
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
1326
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1327
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
1328
|
+
[1m[35m (0.6ms)[0m begin transaction
|
1329
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
1330
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1331
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1332
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-25 21:49:29.521348"], ["updated_at", "2014-10-25 21:49:29.521348"]]
|
1333
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1334
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "b0f8fc55-0cb4-4afc-82bc-1d4f1ed5fedd"]]
|
1335
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1336
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "1133c8bd-0fe7-4a3d-af7f-5b44b28af251"]]
|
1337
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
1338
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1339
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1340
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1341
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1342
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1343
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.526855"], ["updated_at", "2014-10-25 21:49:29.526855"]]
|
1344
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1345
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "e89e6847-1fe9-4502-8974-06b038989a06"]]
|
1346
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1347
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
1348
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1349
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ?[0m [["record_id", 1], ["record_type", "City"]]
|
1350
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1351
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1352
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1353
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1354
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1355
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.534890"], ["updated_at", "2014-10-25 21:49:29.534890"]]
|
1356
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1357
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "7d07be44-87f7-4cea-b97e-ecb47c3c0bcd"]]
|
1358
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1359
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
1360
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1361
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
1362
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
1363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1364
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
1367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1368
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1371
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.543203"], ["updated_at", "2014-10-25 21:49:29.543203"]]
|
1372
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1373
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "4cc223cf-006c-4bf6-b62d-98a173e8a02d"]]
|
1374
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1375
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
1376
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1377
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "7a418dbf-8aca-402e-a140-a636c73c5b6d"]]
|
1378
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1379
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
1380
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."record_id" = ? AND "uuids_uuids"."record_type" = ? [["record_id", 1], ["record_type", "City"]]
|
1381
|
+
[1m[36mCity Load (0.2ms)[0m [1mSELECT DISTINCT "cities".* FROM "cities" INNER JOIN "uuids_uuids" ON "uuids_uuids"."record_id" = "cities"."id" AND "uuids_uuids"."record_type" = 'City' WHERE "uuids_uuids"."value" IN ('4cc223cf-006c-4bf6-b62d-98a173e8a02d', '7a418dbf-8aca-402e-a140-a636c73c5b6d')[0m
|
1382
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
1383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1384
|
+
[1m[35m (0.0ms)[0m commit transaction
|
1385
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
1386
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
1387
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-25 21:49:29.556398"], ["updated_at", "2014-10-25 21:49:29.556398"]]
|
1388
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
1389
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "74c63dec-4f39-47cb-995c-896494025d4b"]]
|
1390
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
1391
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
1392
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1393
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1394
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1395
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
1396
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1397
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
1398
|
+
[1m[35m (0.0ms)[0m begin transaction
|
1399
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
data/spec/lib/uuids/base_spec.rb
CHANGED
@@ -51,7 +51,9 @@ module Uuids
|
|
51
51
|
|
52
52
|
it "defines +by_uuid+ class scope" do
|
53
53
|
subject.save!
|
54
|
-
|
54
|
+
subject.uuids.create!
|
55
|
+
values = subject.reload.uuids.map(&:value)
|
56
|
+
expect(City.by_uuid(*values).to_a).to eq [subject]
|
55
57
|
end
|
56
58
|
|
57
59
|
it "creates the first uuid by default" do
|