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