uuids 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +1 -1
- data/lib/uuids/base.rb +1 -1
- data/lib/uuids/version.rb +1 -1
- data/spec/dummy/db/schema.rb +11 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +941 -0
- data/spec/lib/uuids/base_spec.rb +1 -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: 260cc30e4e91f5e3345123e05e24251ef71775da
|
4
|
+
data.tar.gz: 617fa0d617c50c1f06f837374fb22948483173ce
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd25b5dbeb1702b2b1f0e8f75fc3e7969fac3ec9219def9a7db3529b5f00ff00284bd1e5998177b08210269ff91d304f05da6142977040d75811ddcd9f9f6cf2
|
7
|
+
data.tar.gz: cf5f4e1e0761b468a3b9c994b8c713cc53b0bf8c19c1ccd1df64ea53a6d68ce7bb0ee56c08aa6fedae67e1711add1bfb954f262222df0eac7a0bcb379b33270f
|
data/README.rdoc
CHANGED
@@ -97,7 +97,7 @@ Add the assotiation to your AR model:
|
|
97
97
|
This will add methods:
|
98
98
|
|
99
99
|
+#uuids+:: List of <tt>Uuids::Uuid</tt> objects referred to the record.
|
100
|
-
+#uuid+:: main UUID for the record - a value of the first +uuids+
|
100
|
+
+#uuid+:: main UUID for the record - a value of the first +uuids+ (ordered by value).
|
101
101
|
<tt>.by_uuid</tt>:: A scope for unique records by UUID: <tt>City.by_uuid</tt>
|
102
102
|
|
103
103
|
The first uuid is added by default. It can also be set manually:
|
data/lib/uuids/base.rb
CHANGED
data/lib/uuids/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
@@ -11,7 +11,17 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20141017081115) do
|
15
|
+
|
16
|
+
create_table "cities", force: true do |t|
|
17
|
+
t.datetime "created_at"
|
18
|
+
t.datetime "updated_at"
|
19
|
+
end
|
20
|
+
|
21
|
+
create_table "records", force: true do |t|
|
22
|
+
t.datetime "created_at"
|
23
|
+
t.datetime "updated_at"
|
24
|
+
end
|
15
25
|
|
16
26
|
create_table "uuids_uuids", force: true do |t|
|
17
27
|
t.string "value", limit: 36, null: false
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
data/spec/dummy/log/test.log
CHANGED
@@ -19165,3 +19165,944 @@ Migrating to CreateCities (20141017081115)
|
|
19165
19165
|
FROM sqlite_temp_master
|
19166
19166
|
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
19167
19167
|
|
19168
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19169
|
+
[1m[35m (5.0ms)[0m DELETE FROM "uuids_uuids";
|
19170
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19171
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
19172
|
+
[1m[36m (3.0ms)[0m [1mDELETE FROM "records";[0m
|
19173
|
+
[1m[35m (0.2ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
19174
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
19175
|
+
[1m[35m (2.8ms)[0m DELETE FROM "cities";
|
19176
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19177
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
19178
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19179
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19180
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19181
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19182
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.645719"], ["updated_at", "2014-10-20 17:53:12.645719"]]
|
19183
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19184
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19185
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "636af26c-df41-4683-a11d-b3de7d841e7b"]]
|
19186
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19187
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19188
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19189
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19190
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19191
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19192
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19193
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19194
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.662174"], ["updated_at", "2014-10-20 17:53:12.662174"]]
|
19195
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19196
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19197
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "c577ea29-2555-49b6-a021-8978e9185043"]]
|
19198
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19199
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19200
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19201
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19202
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19203
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19204
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19205
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19206
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.666788"], ["updated_at", "2014-10-20 17:53:12.666788"]]
|
19207
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19208
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19209
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "94ecd80d-dcc7-41db-887a-26d04c77c44a"]]
|
19210
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19211
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19212
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19213
|
+
[1m[35mRecord Load (0.1ms)[0m SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
|
19214
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19215
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19216
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19217
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19218
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19219
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19220
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19221
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.675384"], ["updated_at", "2014-10-20 17:53:12.675384"]]
|
19222
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19223
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19224
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "75ab4f66-e556-4b54-9a2d-bc6a6f279384"]]
|
19225
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19226
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19227
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19228
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19229
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19230
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19231
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19232
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.679263"], ["updated_at", "2014-10-20 17:53:12.679263"]]
|
19233
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19234
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19235
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19236
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19237
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19238
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19239
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.681920"], ["updated_at", "2014-10-20 17:53:12.681920"]]
|
19240
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19241
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19242
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19243
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19244
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19245
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19246
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.684371"], ["updated_at", "2014-10-20 17:53:12.684371"]]
|
19247
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19248
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19249
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "cae8f7f6-5147-44c1-a549-0216bee4dca7"]]
|
19250
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19251
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19252
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19253
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19254
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19255
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19256
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.687627"], ["updated_at", "2014-10-20 17:53:12.687627"]]
|
19257
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19258
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19259
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "6cbc3223-c507-4c8a-9579-cabb0e7ba7b5"]]
|
19260
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19261
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19262
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19263
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19264
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19265
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19266
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19267
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.692743"], ["updated_at", "2014-10-20 17:53:12.692743"]]
|
19268
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19269
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19270
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19271
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19272
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19273
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19274
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.697543"], ["updated_at", "2014-10-20 17:53:12.697543"]]
|
19275
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19276
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "26060432-f01b-46d8-ab92-e1c8295593b5"]]
|
19277
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19278
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19279
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19280
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19281
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19282
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19283
|
+
[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"]]
|
19284
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
19285
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19286
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19288
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19290
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19291
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.713738"], ["updated_at", "2014-10-20 17:53:12.713738"]]
|
19292
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19293
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "96d1772d-b49a-4ddc-a045-5594be4f4716"]]
|
19294
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19295
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19296
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19297
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19298
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19299
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19300
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:53:12.719969"], ["updated_at", "2014-10-20 17:53:12.719969"]]
|
19301
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19302
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "9a10812a-611f-42a2-b46c-d3775beae146"]]
|
19303
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19304
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "05b2ef0a-2335-40d9-857c-d11c01059abe"]]
|
19305
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19306
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19307
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19308
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19309
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19310
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19311
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.725858"], ["updated_at", "2014-10-20 17:53:12.725858"]]
|
19312
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19313
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "7872fa67-e406-4d4e-9e7b-c05da963b858"]]
|
19314
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19315
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
|
19316
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19317
|
+
[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"]]
|
19318
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19319
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19320
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19321
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19322
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19323
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.734265"], ["updated_at", "2014-10-20 17:53:12.734265"]]
|
19324
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19325
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "53dd4528-fe96-476f-8010-6c788adf5a86"]]
|
19326
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19327
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
19328
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19329
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
19330
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19331
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19332
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19333
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19334
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19335
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:53:12.739682"], ["updated_at", "2014-10-20 17:53:12.739682"]]
|
19336
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19337
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f18b5fb7-57c2-4d42-bea1-5d0309535045"]]
|
19338
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19339
|
+
[1m[35mCity Load (0.1ms)[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" = 'f18b5fb7-57c2-4d42-bea1-5d0309535045' ORDER BY "cities"."id" ASC LIMIT 1
|
19340
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19341
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19342
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19343
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19344
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
19345
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19346
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
19347
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19348
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
19349
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19350
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
19351
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
19352
|
+
FROM sqlite_master
|
19353
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
19354
|
+
UNION ALL
|
19355
|
+
SELECT sql
|
19356
|
+
FROM sqlite_temp_master
|
19357
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
19358
|
+
[0m
|
19359
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
19360
|
+
FROM sqlite_master
|
19361
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
19362
|
+
UNION ALL
|
19363
|
+
SELECT sql
|
19364
|
+
FROM sqlite_temp_master
|
19365
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
19366
|
+
|
19367
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19368
|
+
[1m[35m (3.0ms)[0m DELETE FROM "uuids_uuids";
|
19369
|
+
[1m[36m (0.3ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19370
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
19371
|
+
[1m[36m (3.0ms)[0m [1mDELETE FROM "records";[0m
|
19372
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
19373
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
19374
|
+
[1m[35m (2.5ms)[0m DELETE FROM "cities";
|
19375
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19376
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
19377
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19378
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19379
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19380
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19381
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19382
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19383
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19384
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
19385
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19386
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19387
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19388
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19389
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.534849"], ["updated_at", "2014-10-20 17:54:14.534849"]]
|
19390
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19391
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "84d3a203-18ad-4f3d-9e84-77100ab30b75"]]
|
19392
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19393
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19394
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19395
|
+
[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"]]
|
19396
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
19397
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19398
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19399
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19400
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19401
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.565075"], ["updated_at", "2014-10-20 17:54:14.565075"]]
|
19402
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19403
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "59846ce4-5807-49a1-b8ac-9513492418dd"]]
|
19404
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19405
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
19406
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19407
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
19408
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19409
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19410
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19411
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19412
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19413
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.571481"], ["updated_at", "2014-10-20 17:54:14.571481"]]
|
19414
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19415
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "1df505bb-0a7b-47ac-a1d7-ce16572df0d8"]]
|
19416
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19417
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19418
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19419
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19420
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19421
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19422
|
+
[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"]]
|
19423
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
19424
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19425
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19426
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19427
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19428
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19429
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19430
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:14.579796"], ["updated_at", "2014-10-20 17:54:14.579796"]]
|
19431
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19432
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "f13e8741-a4f1-411d-8d74-39d235484f0c"]]
|
19433
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19434
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "6d61e8ab-300a-4ffe-80c7-84b31ca2bbf6"]]
|
19435
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19436
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
19437
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19438
|
+
[1m[35m (0.1ms)[0m commit transaction
|
19439
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19440
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19441
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.585324"], ["updated_at", "2014-10-20 17:54:14.585324"]]
|
19442
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19443
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "b399aab7-123c-4ade-b005-3d604c7dde47"]]
|
19444
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19445
|
+
[1m[36mCity Load (0.1ms)[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" = 'b399aab7-123c-4ade-b005-3d604c7dde47' ORDER BY "cities"."id" ASC LIMIT 1[0m
|
19446
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19447
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19448
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19449
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19450
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19451
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.596501"], ["updated_at", "2014-10-20 17:54:14.596501"]]
|
19452
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19453
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "1190b5ca-aed7-44af-8009-d3c28af1eb6d"]]
|
19454
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19455
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19456
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19457
|
+
[1m[36m (0.1ms)[0m [1mcommit transaction[0m
|
19458
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19459
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19460
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:14.603367"], ["updated_at", "2014-10-20 17:54:14.603367"]]
|
19461
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19462
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19463
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "7d7a6df1-6653-4c2c-8e2b-b21d76f08867"]]
|
19464
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19465
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19466
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19467
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19468
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19469
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19470
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19471
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.608742"], ["updated_at", "2014-10-20 17:54:14.608742"]]
|
19472
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19473
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19474
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "a28abd28-39f6-4239-9433-544b2322ca2b"]]
|
19475
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19476
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19477
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19478
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19479
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19480
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19481
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.612392"], ["updated_at", "2014-10-20 17:54:14.612392"]]
|
19482
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19483
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19484
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "d037f867-ba28-426a-ae35-fd0b4311287d"]]
|
19485
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19486
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19487
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19488
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19489
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19490
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19491
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19492
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19493
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.618979"], ["updated_at", "2014-10-20 17:54:14.618979"]]
|
19494
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19495
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19496
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "615be079-46c2-4a8f-98a6-64bcb43840ba"]]
|
19497
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19498
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19499
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19500
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19501
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19502
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19503
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19504
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19505
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.623245"], ["updated_at", "2014-10-20 17:54:14.623245"]]
|
19506
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19507
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19508
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "3c51fd4f-95cd-4b66-b598-deb07c86cf4a"]]
|
19509
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19510
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19511
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19512
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19513
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19514
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19515
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19516
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:14.626935"], ["updated_at", "2014-10-20 17:54:14.626935"]]
|
19517
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19518
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19519
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "43e758d1-732b-448a-b36f-7ceac4cf289e"]]
|
19520
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19521
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19522
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19523
|
+
[1m[36mRecord Load (0.1ms)[0m [1mSELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1[0m [["id", 1]]
|
19524
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19525
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19526
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19527
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19528
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19529
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19530
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19531
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.631874"], ["updated_at", "2014-10-20 17:54:14.631874"]]
|
19532
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19533
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19534
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19535
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19536
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19537
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19538
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:14.634280"], ["updated_at", "2014-10-20 17:54:14.634280"]]
|
19539
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19540
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19541
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19542
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19543
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19544
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
19545
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:14.636896"], ["updated_at", "2014-10-20 17:54:14.636896"]]
|
19546
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19547
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19548
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19549
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
19550
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
19551
|
+
FROM sqlite_master
|
19552
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
19553
|
+
UNION ALL
|
19554
|
+
SELECT sql
|
19555
|
+
FROM sqlite_temp_master
|
19556
|
+
WHERE name='index_uuids_uuids_on_value' AND type='index'
|
19557
|
+
[0m
|
19558
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
19559
|
+
FROM sqlite_master
|
19560
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
19561
|
+
UNION ALL
|
19562
|
+
SELECT sql
|
19563
|
+
FROM sqlite_temp_master
|
19564
|
+
WHERE name='index_uuids_uuids_on_record_id_and_record_type' AND type='index'
|
19565
|
+
|
19566
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19567
|
+
[1m[35m (4.8ms)[0m DELETE FROM "uuids_uuids";
|
19568
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19569
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
19570
|
+
[1m[36m (2.8ms)[0m [1mDELETE FROM "records";[0m
|
19571
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
19572
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
19573
|
+
[1m[35m (2.7ms)[0m DELETE FROM "cities";
|
19574
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19575
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
19576
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19577
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19578
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19579
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19580
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19581
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19582
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19583
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19584
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19585
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19586
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19587
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19588
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.288737"], ["updated_at", "2014-10-20 17:54:51.288737"]]
|
19589
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19590
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "bc9175fe-5ac7-4217-b17d-e610db794dd1"]]
|
19591
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19592
|
+
[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" = 'bc9175fe-5ac7-4217-b17d-e610db794dd1' ORDER BY "cities"."id" ASC LIMIT 1[0m
|
19593
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19594
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19595
|
+
[1m[35m (0.1ms)[0m commit transaction
|
19596
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19597
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19598
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.318952"], ["updated_at", "2014-10-20 17:54:51.318952"]]
|
19599
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19600
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "8d60df44-2033-42b5-af0a-6827f80f655e"]]
|
19601
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19602
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
19603
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19604
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
19605
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19606
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19607
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19608
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19609
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19610
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.324296"], ["updated_at", "2014-10-20 17:54:51.324296"]]
|
19611
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19612
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "78228001-19ab-4ffe-8750-9fc5fb1f4f56"]]
|
19613
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19614
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19615
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19616
|
+
[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"]]
|
19617
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
19618
|
+
[1m[36m (0.6ms)[0m [1mbegin transaction[0m
|
19619
|
+
[1m[35m (0.3ms)[0m commit transaction
|
19620
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19621
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19622
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.359137"], ["updated_at", "2014-10-20 17:54:51.359137"]]
|
19623
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19624
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "ce68a017-3e33-4901-a458-c6b8ded7307a"]]
|
19625
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19626
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "1450c05b-fff3-4253-abb7-0f1fcc968f05"]]
|
19627
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
19628
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19629
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19630
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19631
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19632
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19633
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.365020"], ["updated_at", "2014-10-20 17:54:51.365020"]]
|
19634
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19635
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "59d11d12-e0bb-4a9e-bd0b-a130689bf4f6"]]
|
19636
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19637
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
19638
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19639
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19640
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19641
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19642
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.370555"], ["updated_at", "2014-10-20 17:54:51.370555"]]
|
19643
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19644
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "93752870-fff8-45cc-b05b-08f214334337"]]
|
19645
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19646
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19647
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19648
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19649
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19650
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19651
|
+
[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"]]
|
19652
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
19653
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19654
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19655
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19656
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19657
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19658
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19659
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.379440"], ["updated_at", "2014-10-20 17:54:51.379440"]]
|
19660
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19661
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19662
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19663
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19664
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19665
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19666
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.385157"], ["updated_at", "2014-10-20 17:54:51.385157"]]
|
19667
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19668
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19669
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "bc0cd784-4af9-4483-86b6-a0f97f04baff"]]
|
19670
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19671
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19672
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19673
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19674
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19675
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19676
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
19677
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.388841"], ["updated_at", "2014-10-20 17:54:51.388841"]]
|
19678
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19679
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19680
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "975ee8b1-a806-4a79-9cba-91fb6ab54688"]]
|
19681
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19682
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19683
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19684
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19685
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19686
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19687
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.392391"], ["updated_at", "2014-10-20 17:54:51.392391"]]
|
19688
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19689
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19690
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "27677d43-9106-46e1-98cd-1fedcc26f49c"]]
|
19691
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19692
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19693
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19694
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19695
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19696
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19697
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19698
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19699
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.397384"], ["updated_at", "2014-10-20 17:54:51.397384"]]
|
19700
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19701
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19702
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "b60e3d7c-90a2-44b1-a656-0a10fadd03f4"]]
|
19703
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19704
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19705
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19706
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19707
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19708
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19709
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19710
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19711
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.401573"], ["updated_at", "2014-10-20 17:54:51.401573"]]
|
19712
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19713
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19714
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "68c6a0b7-27bf-4e29-b827-fa25c30ae9ce"]]
|
19715
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19716
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19717
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19718
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19719
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19720
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19721
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19722
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.405149"], ["updated_at", "2014-10-20 17:54:51.405149"]]
|
19723
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19724
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19725
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "6972ec73-ec43-4af5-a2f5-a80cea8883ef"]]
|
19726
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19727
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19728
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19729
|
+
[1m[35mRecord Load (0.1ms)[0m SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
|
19730
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19731
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19732
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19733
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19734
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19735
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19736
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19737
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 17:54:51.410044"], ["updated_at", "2014-10-20 17:54:51.410044"]]
|
19738
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19739
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19740
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19741
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19742
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19743
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19744
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 17:54:51.412632"], ["updated_at", "2014-10-20 17:54:51.412632"]]
|
19745
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19746
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19747
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19748
|
+
[1m[35m (5.5ms)[0m DELETE FROM "uuids_uuids";
|
19749
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19750
|
+
[1m[35m (0.2ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
19751
|
+
[1m[36m (2.7ms)[0m [1mDELETE FROM "records";[0m
|
19752
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
19753
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
19754
|
+
[1m[35m (2.5ms)[0m DELETE FROM "cities";
|
19755
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19756
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
19757
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19758
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19759
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19760
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19761
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.421169"], ["updated_at", "2014-10-20 18:02:05.421169"]]
|
19762
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19763
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19764
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "3465b50d-c762-4d17-a00f-d604ba4588f5"]]
|
19765
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19766
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19767
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19768
|
+
[1m[35mRecord Load (0.1ms)[0m SELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1 [["id", 1]]
|
19769
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19770
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19771
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19772
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19773
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19774
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19775
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19776
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.437788"], ["updated_at", "2014-10-20 18:02:05.437788"]]
|
19777
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19778
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19779
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "c0517b92-0a18-4ce7-97ae-e1fe7c710b42"]]
|
19780
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19781
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19782
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19783
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19784
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19785
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19786
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19787
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.441506"], ["updated_at", "2014-10-20 18:02:05.441506"]]
|
19788
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19789
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19790
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "7e8cb8f8-5cdc-4ad2-83f4-cfa86d2064e0"]]
|
19791
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19792
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19793
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19794
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19795
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19796
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19797
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19798
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19799
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.450374"], ["updated_at", "2014-10-20 18:02:05.450374"]]
|
19800
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19801
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19802
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "47f91b2e-d3dc-4874-8dba-3f480798e509"]]
|
19803
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19804
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19805
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
19806
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19807
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19808
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19809
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19810
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19811
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.454568"], ["updated_at", "2014-10-20 18:02:05.454568"]]
|
19812
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19813
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19814
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19815
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19816
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19817
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19818
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.457138"], ["updated_at", "2014-10-20 18:02:05.457138"]]
|
19819
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19820
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19821
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19822
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19823
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19824
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19825
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.459547"], ["updated_at", "2014-10-20 18:02:05.459547"]]
|
19826
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19827
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19828
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19829
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19830
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19831
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19832
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.461852"], ["updated_at", "2014-10-20 18:02:05.461852"]]
|
19833
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19834
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19835
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "46d16646-f6f8-4448-b893-521bc5b079cd"]]
|
19836
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19837
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19838
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19839
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19840
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19841
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19842
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.465155"], ["updated_at", "2014-10-20 18:02:05.465155"]]
|
19843
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19844
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19845
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "54d74045-c33d-40e3-89dd-e8eedf7f972b"]]
|
19846
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19847
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19848
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19849
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19850
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19851
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19852
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19853
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.477110"], ["updated_at", "2014-10-20 18:02:05.477110"]]
|
19854
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19855
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "25d91d3f-4ad9-454e-9915-1950c72174ff"]]
|
19856
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19857
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "6acd860c-8577-42e6-89e7-2bcbfe052cb9"]]
|
19858
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19859
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19860
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19861
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19862
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19863
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19864
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.484159"], ["updated_at", "2014-10-20 18:02:05.484159"]]
|
19865
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19866
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "300cf480-5e95-4c06-82ef-d4b675181890"]]
|
19867
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19868
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19869
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19870
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19871
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19872
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19873
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:05.489122"], ["updated_at", "2014-10-20 18:02:05.489122"]]
|
19874
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19875
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "83335c5c-76be-4f7a-9842-759ffc4b25a7"]]
|
19876
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19877
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19878
|
+
[1m[35m (0.0ms)[0m ROLLBACK TO SAVEPOINT active_record_1
|
19879
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1[0m
|
19880
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
19881
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19882
|
+
[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"]]
|
19883
|
+
[1m[36mSQL (0.1ms)[0m [1mDELETE FROM "cities" WHERE "cities"."id" = ?[0m [["id", 1]]
|
19884
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19885
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
19886
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19887
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19888
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19889
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19890
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.499976"], ["updated_at", "2014-10-20 18:02:05.499976"]]
|
19891
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19892
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "d921a28f-3b10-4128-9cc5-39811e7c387b"]]
|
19893
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19894
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
|
19895
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19896
|
+
[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"]]
|
19897
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19898
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19899
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19900
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19901
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19902
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.507803"], ["updated_at", "2014-10-20 18:02:05.507803"]]
|
19903
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19904
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "5fec1b01-0f5e-4fd7-96c9-f70f234d516b"]]
|
19905
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19906
|
+
[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" = '5fec1b01-0f5e-4fd7-96c9-f70f234d516b' ORDER BY "cities"."id" ASC LIMIT 1
|
19907
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19908
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19909
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19910
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19911
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19912
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:05.519475"], ["updated_at", "2014-10-20 18:02:05.519475"]]
|
19913
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19914
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "9b495119-c8f5-4a53-ab45-8686b6a87457"]]
|
19915
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19916
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
19917
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
19918
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1
|
19919
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19920
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19921
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19922
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19923
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
19924
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19925
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19926
|
+
[1m[35m (0.1ms)[0m begin transaction
|
19927
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
19928
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
19929
|
+
[1m[35m (4.2ms)[0m DELETE FROM "uuids_uuids";
|
19930
|
+
[1m[36m (0.1ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19931
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'uuids_uuids';
|
19932
|
+
[1m[36m (2.4ms)[0m [1mDELETE FROM "records";[0m
|
19933
|
+
[1m[35m (0.3ms)[0m SELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';
|
19934
|
+
[1m[36m (0.1ms)[0m [1mDELETE FROM sqlite_sequence where name = 'records';[0m
|
19935
|
+
[1m[35m (2.4ms)[0m DELETE FROM "cities";
|
19936
|
+
[1m[36m (0.2ms)[0m [1mSELECT name FROM sqlite_master WHERE type='table' AND name='sqlite_sequence';[0m
|
19937
|
+
[1m[35m (0.1ms)[0m DELETE FROM sqlite_sequence where name = 'cities';
|
19938
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
19939
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19940
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19941
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19942
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:43.962235"], ["updated_at", "2014-10-20 18:02:43.962235"]]
|
19943
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19944
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19945
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19946
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19947
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19948
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19949
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:43.976193"], ["updated_at", "2014-10-20 18:02:43.976193"]]
|
19950
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19951
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19952
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19953
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19954
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19955
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19956
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:43.978872"], ["updated_at", "2014-10-20 18:02:43.978872"]]
|
19957
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19958
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19959
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "93f4b90e-d4ef-463b-ae2c-75e151c8f212"]]
|
19960
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19961
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19962
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19963
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19964
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19965
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19966
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:43.982196"], ["updated_at", "2014-10-20 18:02:43.982196"]]
|
19967
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19968
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19969
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "3745861c-2fc3-41ac-a1a4-7fed989f21c6"]]
|
19970
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19971
|
+
[1m[35mUuids::Uuid Load (0.1ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19972
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19973
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19974
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
19975
|
+
[1m[35m (0.0ms)[0m begin transaction
|
19976
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19977
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:43.987341"], ["updated_at", "2014-10-20 18:02:43.987341"]]
|
19978
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19979
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19980
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "Record"], ["value", "9f2d8fe1-85c7-4d3c-892c-e44e4fe1850b"]]
|
19981
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19982
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19983
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19984
|
+
[1m[36mRecord Load (0.1ms)[0m [1mSELECT "records".* FROM "records" WHERE "records"."id" = ? LIMIT 1[0m [["id", 1]]
|
19985
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19986
|
+
[1m[36mUuids::Uuid Load (0.0ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1[0m [["id", 1]]
|
19987
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
19988
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19989
|
+
[1m[35m (0.0ms)[0m commit transaction
|
19990
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
19991
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
19992
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:43.996217"], ["updated_at", "2014-10-20 18:02:43.996217"]]
|
19993
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
19994
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
19995
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "d7fbd3e9-d030-4b77-b64d-e4f65afc9b35"]]
|
19996
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
19997
|
+
[1m[35mUuids::Uuid Load (0.0ms)[0m SELECT "uuids_uuids".* FROM "uuids_uuids" WHERE "uuids_uuids"."id" = ? LIMIT 1 [["id", 1]]
|
19998
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
19999
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20000
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
20001
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20002
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20003
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:43.999684"], ["updated_at", "2014-10-20 18:02:43.999684"]]
|
20004
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20005
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20006
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20007
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20008
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20009
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20010
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.002250"], ["updated_at", "2014-10-20 18:02:44.002250"]]
|
20011
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20012
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20013
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "a3a41d40-1a5f-4c80-8adb-c75c86188eaa"]]
|
20014
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20015
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20016
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
20017
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20018
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20019
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20020
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20021
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20022
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "records" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.007499"], ["updated_at", "2014-10-20 18:02:44.007499"]]
|
20023
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20024
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20025
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "Record"], ["value", "c5c45c13-99ce-4810-9d28-902e31e1cc13"]]
|
20026
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20027
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20028
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
20029
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20030
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20031
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20032
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20033
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20034
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.013589"], ["updated_at", "2014-10-20 18:02:44.013589"]]
|
20035
|
+
[1m[35mCity Load (0.1ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20036
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "98878845-69fb-4776-8519-4c20e390095e"]]
|
20037
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20038
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
20039
|
+
[1m[35m (0.7ms)[0m begin transaction
|
20040
|
+
[1m[36m (0.4ms)[0m [1mcommit transaction[0m
|
20041
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20042
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20043
|
+
[1m[35mSQL (0.3ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:44.047477"], ["updated_at", "2014-10-20 18:02:44.047477"]]
|
20044
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
20045
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "c06c85f2-409f-4bbd-a653-577809fc0ca4"]]
|
20046
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20047
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20048
|
+
[1m[36m (0.0ms)[0m [1mROLLBACK TO SAVEPOINT active_record_1[0m
|
20049
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
|
20050
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
20051
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20052
|
+
[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"]]
|
20053
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "cities" WHERE "cities"."id" = ? [["id", 1]]
|
20054
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20055
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20056
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20057
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20058
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20059
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20060
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.058433"], ["updated_at", "2014-10-20 18:02:44.058433"]]
|
20061
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20062
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "81db2fcc-f549-43c2-b653-b5cbb55ac809"]]
|
20063
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20064
|
+
[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" = '81db2fcc-f549-43c2-b653-b5cbb55ac809' ORDER BY "cities"."id" ASC LIMIT 1[0m
|
20065
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
20066
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20067
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20068
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20069
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20070
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.070750"], ["updated_at", "2014-10-20 18:02:44.070750"]]
|
20071
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20072
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "a4006b39-968f-4279-9f2f-9a50ce3b1c25"]]
|
20073
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20074
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
20075
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20076
|
+
[1m[36mUuids::Uuid Load (0.1ms)[0m [1mSELECT "uuids_uuids".* FROM "uuids_uuids" ORDER BY "uuids_uuids"."id" ASC LIMIT 1[0m
|
20077
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
20078
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20079
|
+
[1m[35m (0.0ms)[0m commit transaction
|
20080
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
20081
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
20082
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", "2014-10-20 18:02:44.077157"], ["updated_at", "2014-10-20 18:02:44.077157"]]
|
20083
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20084
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "4e7535df-d2b4-4c17-b859-3522219e4426"]]
|
20085
|
+
[1m[35mCity Load (0.0ms)[0m SELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1 [["id", 1]]
|
20086
|
+
[1m[36mSQL (0.0ms)[0m [1mINSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?)[0m [["record_id", 1], ["record_type", "City"], ["value", "b680cdca-97c3-4c20-8b61-5dabf8ab4a07"]]
|
20087
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
20088
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
20089
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20090
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
20091
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20092
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
20093
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "cities" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-10-20 18:02:44.082331"], ["updated_at", "2014-10-20 18:02:44.082331"]]
|
20094
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
20095
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "uuids_uuids" ("record_id", "record_type", "value") VALUES (?, ?, ?) [["record_id", 1], ["record_type", "City"], ["value", "b508ae80-fca1-408c-bf06-fbfdcea1e1a9"]]
|
20096
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
20097
|
+
[1m[35mSQL (0.1ms)[0m DELETE FROM "uuids_uuids" WHERE "uuids_uuids"."id" = 1
|
20098
|
+
[1m[36mCity Load (0.0ms)[0m [1mSELECT "cities".* FROM "cities" WHERE "cities"."id" = ? LIMIT 1[0m [["id", 1]]
|
20099
|
+
[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"]]
|
20100
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
20101
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20102
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
20103
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20104
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
20105
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20106
|
+
[1m[36m (0.0ms)[0m [1mcommit transaction[0m
|
20107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
20108
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
data/spec/lib/uuids/base_spec.rb
CHANGED
@@ -40,7 +40,7 @@ module Uuids
|
|
40
40
|
it "defines the #uuid method" do
|
41
41
|
2.times { subject.uuids.new value: SecureRandom.uuid }
|
42
42
|
subject.save!
|
43
|
-
expect(subject.uuid).to eq subject.uuids.first
|
43
|
+
expect(subject.uuid).to eq subject.uuids.map(&:value).sort.first
|
44
44
|
end
|
45
45
|
|
46
46
|
it "defines +by_uuid+ class scope" do
|